diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 80324f7d61..f6f65ad0b8 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2618,6 +2618,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -2979,6 +2989,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -3388,6 +3408,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13599,20 +13622,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -13734,7 +13759,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13750,19 +13775,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -13797,7 +13822,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -15928,6 +15953,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -16412,6 +16446,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18186,6 +18229,187 @@ } } }, + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "413": { + "$ref": "#/components/responses/too_large" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": null, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, "/orgs/{org}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an organization", @@ -18313,6 +18537,9 @@ { "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, @@ -18578,7 +18805,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -26992,6 +27219,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27317,6 +27547,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29151,6 +29384,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29210,6 +29446,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44075,6 +44314,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -44084,10 +44350,10 @@ "$ref": "#/components/schemas/content-tree" }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-file" }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" } } @@ -44598,6 +44864,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44770,10 +45039,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -60657,6 +60942,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -60990,6 +61278,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63028,186 +63319,6 @@ } } }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tag-protection" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection-items" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tag-protection" - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/tag-protection-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/tarball/{ref}": { "get": { "summary": "Download a repository archive (tar)", @@ -78136,99 +78247,99 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-delete" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": [ - "repository", - "organization", - "app" - ] - } - } - }, - "dependabot-alert-assignees-changed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", - "description": "The assignees for a Dependabot alert were updated.", - "operationId": "dependabot-alert/assignees-changed", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { + "$ref": "#/components/schemas/webhook-delete" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "delete", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-assignees-changed": { + "post": { + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "description": "The assignees for a Dependabot alert were updated.", + "operationId": "dependabot-alert/assignees-changed", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#dependabot_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "dependabot_alert", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-dependabot-alert-assignees-changed" } } @@ -78279,7 +78390,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78372,7 +78483,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78465,7 +78576,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78558,7 +78669,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78651,7 +78762,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78744,7 +78855,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78837,7 +78948,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -103966,6 +104077,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -112500,6 +112620,18 @@ ], "additionalProperties": false }, + "copilot-organization-content-exclusion-details": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, "copilot-ide-code-completions": { "type": "object", "description": "Usage metrics for Copilot editor code completions in the IDE.", @@ -118927,6 +119059,80 @@ } } }, + "rule-suite-pull-request": { + "title": "Pull request rule suite metadata", + "description": "Metadata for a pull request rule evaluation result.", + "type": "object", + "properties": { + "pull_request": { + "type": "object", + "description": "The pull request associated with the rule evaluation.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the pull request." + }, + "number": { + "type": "integer", + "description": "The number of the pull request." + }, + "user": { + "type": "object", + "description": "The user who created the pull request.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "reviews": { + "type": "array", + "description": "The reviews associated with the pull request.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the review." + }, + "user": { + "type": "object", + "description": "The user who submitted the review.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "state": { + "type": "string", + "description": "The state of the review." + } + } + } + } + } + } + } + }, "rule-suite": { "title": "Rule Suite", "description": "Response", @@ -134256,36 +134462,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -284797,6 +284973,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -284982,6 +285180,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -289400,6 +289599,13 @@ ] } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "copilot-usage-metrics-for-day": { "value": [ { @@ -301408,7 +301614,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -301526,7 +301754,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -301653,7 +301882,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } }, "dependabot-alert-dismissed": { @@ -301787,7 +302038,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } }, "dependabot-secret-paginated": { @@ -308633,19 +308885,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -314533,6 +314772,14 @@ ] } }, + "dependabot-alert-comma-separated-assignees": { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -316099,15 +316346,6 @@ "type": "integer" } }, - "tag-protection-id": { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "per": { "name": "per", "description": "The time frame to display results for.", @@ -316591,6 +316829,16 @@ } } }, + "too_large": { + "description": "Payload Too Large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "usage_metrics_api_disabled": { "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", "content": { @@ -316604,6 +316852,9 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, + "enterprise_team_unsupported": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." + }, "temporary_redirect": { "description": "Temporary Redirect", "content": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 536dd918e9..e9c62df544 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -1860,6 +1860,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2141,6 +2149,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2439,6 +2455,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9826,20 +9843,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -9935,7 +9954,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9948,17 +9967,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -9998,7 +10017,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -11556,6 +11575,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -11933,6 +11959,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -13279,6 +13312,148 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + examples: + default: + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '413': + "$ref": "#/components/responses/too_large" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -13378,6 +13553,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" @@ -13571,9 +13747,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -19565,6 +19739,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/orgs/{org}/rulesets/rule-suites": @@ -19778,6 +19954,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -21099,6 +21277,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21138,6 +21318,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32160,6 +32342,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -32168,9 +32367,9 @@ paths: schema: "$ref": "#/components/schemas/content-tree" examples: - response-if-content-is-a-file: + response-if-content-is-a-file-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" application/json: schema: @@ -32521,6 +32720,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -32639,8 +32839,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -44101,6 +44312,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/rulesets/rule-suites": @@ -44317,6 +44530,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -45707,139 +45922,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection-items" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/tag-protection-id" - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -56555,7 +56637,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56622,7 +56704,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56690,7 +56772,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56758,7 +56840,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56824,7 +56906,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56890,7 +56972,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56957,7 +57039,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57023,7 +57105,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75323,6 +75405,13 @@ components: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -82100,6 +82189,15 @@ components: required: - created_at additionalProperties: false + copilot-organization-content-exclusion-details: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. copilot-ide-code-completions: type: object description: Usage metrics for Copilot editor code completions in the IDE. @@ -87158,6 +87256,59 @@ components: description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + rule-suite-pull-request: + title: Pull request rule suite metadata + description: Metadata for a pull request rule evaluation result. + type: object + properties: + pull_request: + type: object + description: The pull request associated with the rule evaluation. + properties: + id: + type: integer + description: The unique identifier of the pull request. + number: + type: integer + description: The number of the pull request. + user: + type: object + description: The user who created the pull request. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + reviews: + type: array + description: The reviews associated with the pull request. + items: + type: object + properties: + id: + type: integer + description: The unique identifier of the review. + user: + type: object + description: The user who submitted the review. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + state: + type: string + description: The state of the review. rule-suite: title: Rule Suite description: Response @@ -98853,28 +99004,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -213015,6 +213144,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -213162,6 +213310,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -216949,6 +217098,10 @@ components: received_events_url: https://api.github.com/users/octokitten/received_events type: User site_admin: false + copilot-organization-content-exclusion-details: + value: + octo-repo: + - "/src/some-dir/kernel.rs" copilot-usage-metrics-for-day: value: - date: '2024-06-24' @@ -227208,6 +227361,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -227290,6 +227462,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -227377,6 +227550,25 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false dependabot-alert-dismissed: value: number: 2 @@ -227476,6 +227668,7 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] dependabot-secret-paginated: value: total_count: 2 @@ -233362,13 +233555,6 @@ components: zipball_url: https://github.com/octocat/Hello-World/zipball/v0.1 tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= - tag-protection-items: - value: - - id: 2 - pattern: v1.* - tag-protection: - value: - enabled: true topic: value: names: @@ -238579,6 +238765,15 @@ components: type: string enum: - patch + dependabot-alert-comma-separated-assignees: + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -239923,13 +240118,6 @@ components: required: true schema: type: integer - tag-protection-id: - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer per: name: per description: The time frame to display results for. @@ -240259,6 +240447,12 @@ components: examples: default: "$ref": "#/components/examples/runner-labels-readonly" + too_large: + description: Payload Too Large + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" usage_metrics_api_disabled: description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. @@ -240269,6 +240463,9 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. + enterprise_team_unsupported: + description: Unprocessable entity if you attempt to modify an enterprise team + at the organization level. temporary_redirect: description: Temporary Redirect content: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 80324f7d61..f6f65ad0b8 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2618,6 +2618,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -2979,6 +2989,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -3388,6 +3408,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13599,20 +13622,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -13734,7 +13759,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13750,19 +13775,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -13797,7 +13822,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -15928,6 +15953,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -16412,6 +16446,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18186,6 +18229,187 @@ } } }, + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "413": { + "$ref": "#/components/responses/too_large" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": null, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, "/orgs/{org}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an organization", @@ -18313,6 +18537,9 @@ { "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, @@ -18578,7 +18805,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -26992,6 +27219,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27317,6 +27547,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29151,6 +29384,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29210,6 +29446,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44075,6 +44314,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -44084,10 +44350,10 @@ "$ref": "#/components/schemas/content-tree" }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-file" }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" } } @@ -44598,6 +44864,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44770,10 +45039,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -60657,6 +60942,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -60990,6 +61278,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63028,186 +63319,6 @@ } } }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tag-protection" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection-items" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tag-protection" - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/tag-protection-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/tarball/{ref}": { "get": { "summary": "Download a repository archive (tar)", @@ -78136,99 +78247,99 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-delete" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": [ - "repository", - "organization", - "app" - ] - } - } - }, - "dependabot-alert-assignees-changed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", - "description": "The assignees for a Dependabot alert were updated.", - "operationId": "dependabot-alert/assignees-changed", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { + "$ref": "#/components/schemas/webhook-delete" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "delete", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-assignees-changed": { + "post": { + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "description": "The assignees for a Dependabot alert were updated.", + "operationId": "dependabot-alert/assignees-changed", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#dependabot_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "dependabot_alert", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-dependabot-alert-assignees-changed" } } @@ -78279,7 +78390,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78372,7 +78483,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78465,7 +78576,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78558,7 +78669,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78651,7 +78762,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78744,7 +78855,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78837,7 +78948,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -103966,6 +104077,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -112500,6 +112620,18 @@ ], "additionalProperties": false }, + "copilot-organization-content-exclusion-details": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, "copilot-ide-code-completions": { "type": "object", "description": "Usage metrics for Copilot editor code completions in the IDE.", @@ -118927,6 +119059,80 @@ } } }, + "rule-suite-pull-request": { + "title": "Pull request rule suite metadata", + "description": "Metadata for a pull request rule evaluation result.", + "type": "object", + "properties": { + "pull_request": { + "type": "object", + "description": "The pull request associated with the rule evaluation.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the pull request." + }, + "number": { + "type": "integer", + "description": "The number of the pull request." + }, + "user": { + "type": "object", + "description": "The user who created the pull request.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "reviews": { + "type": "array", + "description": "The reviews associated with the pull request.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the review." + }, + "user": { + "type": "object", + "description": "The user who submitted the review.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "state": { + "type": "string", + "description": "The state of the review." + } + } + } + } + } + } + } + }, "rule-suite": { "title": "Rule Suite", "description": "Response", @@ -134256,36 +134462,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -284797,6 +284973,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -284982,6 +285180,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -289400,6 +289599,13 @@ ] } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "copilot-usage-metrics-for-day": { "value": [ { @@ -301408,7 +301614,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -301526,7 +301754,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -301653,7 +301882,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } }, "dependabot-alert-dismissed": { @@ -301787,7 +302038,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } }, "dependabot-secret-paginated": { @@ -308633,19 +308885,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -314533,6 +314772,14 @@ ] } }, + "dependabot-alert-comma-separated-assignees": { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -316099,15 +316346,6 @@ "type": "integer" } }, - "tag-protection-id": { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "per": { "name": "per", "description": "The time frame to display results for.", @@ -316591,6 +316829,16 @@ } } }, + "too_large": { + "description": "Payload Too Large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "usage_metrics_api_disabled": { "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", "content": { @@ -316604,6 +316852,9 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, + "enterprise_team_unsupported": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." + }, "temporary_redirect": { "description": "Temporary Redirect", "content": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 536dd918e9..e9c62df544 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1860,6 +1860,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2141,6 +2149,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2439,6 +2455,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9826,20 +9843,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -9935,7 +9954,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9948,17 +9967,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -9998,7 +10017,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -11556,6 +11575,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -11933,6 +11959,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -13279,6 +13312,148 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + examples: + default: + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '413': + "$ref": "#/components/responses/too_large" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -13378,6 +13553,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" @@ -13571,9 +13747,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -19565,6 +19739,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/orgs/{org}/rulesets/rule-suites": @@ -19778,6 +19954,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -21099,6 +21277,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21138,6 +21318,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32160,6 +32342,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -32168,9 +32367,9 @@ paths: schema: "$ref": "#/components/schemas/content-tree" examples: - response-if-content-is-a-file: + response-if-content-is-a-file-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" application/json: schema: @@ -32521,6 +32720,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -32639,8 +32839,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -44101,6 +44312,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/rulesets/rule-suites": @@ -44317,6 +44530,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -45707,139 +45922,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection-items" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/tag-protection-id" - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -56555,7 +56637,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56622,7 +56704,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56690,7 +56772,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56758,7 +56840,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56824,7 +56906,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56890,7 +56972,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56957,7 +57039,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57023,7 +57105,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75323,6 +75405,13 @@ components: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -82100,6 +82189,15 @@ components: required: - created_at additionalProperties: false + copilot-organization-content-exclusion-details: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. copilot-ide-code-completions: type: object description: Usage metrics for Copilot editor code completions in the IDE. @@ -87158,6 +87256,59 @@ components: description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + rule-suite-pull-request: + title: Pull request rule suite metadata + description: Metadata for a pull request rule evaluation result. + type: object + properties: + pull_request: + type: object + description: The pull request associated with the rule evaluation. + properties: + id: + type: integer + description: The unique identifier of the pull request. + number: + type: integer + description: The number of the pull request. + user: + type: object + description: The user who created the pull request. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + reviews: + type: array + description: The reviews associated with the pull request. + items: + type: object + properties: + id: + type: integer + description: The unique identifier of the review. + user: + type: object + description: The user who submitted the review. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + state: + type: string + description: The state of the review. rule-suite: title: Rule Suite description: Response @@ -98853,28 +99004,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -213015,6 +213144,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -213162,6 +213310,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -216949,6 +217098,10 @@ components: received_events_url: https://api.github.com/users/octokitten/received_events type: User site_admin: false + copilot-organization-content-exclusion-details: + value: + octo-repo: + - "/src/some-dir/kernel.rs" copilot-usage-metrics-for-day: value: - date: '2024-06-24' @@ -227208,6 +227361,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -227290,6 +227462,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -227377,6 +227550,25 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false dependabot-alert-dismissed: value: number: 2 @@ -227476,6 +227668,7 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] dependabot-secret-paginated: value: total_count: 2 @@ -233362,13 +233555,6 @@ components: zipball_url: https://github.com/octocat/Hello-World/zipball/v0.1 tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= - tag-protection-items: - value: - - id: 2 - pattern: v1.* - tag-protection: - value: - enabled: true topic: value: names: @@ -238579,6 +238765,15 @@ components: type: string enum: - patch + dependabot-alert-comma-separated-assignees: + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -239923,13 +240118,6 @@ components: required: true schema: type: integer - tag-protection-id: - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer per: name: per description: The time frame to display results for. @@ -240259,6 +240447,12 @@ components: examples: default: "$ref": "#/components/examples/runner-labels-readonly" + too_large: + description: Payload Too Large + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" usage_metrics_api_disabled: description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. @@ -240269,6 +240463,9 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. + enterprise_team_unsupported: + description: Unprocessable entity if you attempt to modify an enterprise team + at the organization level. temporary_redirect: description: Temporary Redirect content: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 0ea8674d42..23afb82d90 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -17481,6 +17481,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -17878,6 +17887,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18165,6 +18184,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18642,6 +18670,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19058,6 +19095,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19424,6 +19470,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19702,6 +19758,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -20534,6 +20599,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -21427,6 +21501,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -22913,6 +22995,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -23098,6 +23202,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -90381,20 +90486,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -90594,7 +90701,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -90610,19 +90717,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -90657,7 +90764,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -97349,6 +97456,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -97803,6 +97919,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98090,6 +98215,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98462,6 +98596,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99141,6 +99284,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99561,6 +99713,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99839,6 +100000,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -100537,6 +100707,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -106880,17 +107059,415 @@ } } }, - "/orgs/{org}/copilot/billing/selected_teams": { + "/orgs/{org}/copilot/billing/selected_teams": { + "post": { + "summary": "Add teams to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for members of the specified team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove teams from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "The names of teams from which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/billing/selected_users": { "post": { - "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Add users to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-teams", + "operationId": "copilot/add-copilot-seats-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -106909,9 +107486,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "description": "The usernames of the organization members to be granted access to GitHub Copilot.", "items": { "type": "string" }, @@ -106919,16 +107496,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -106944,7 +107521,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for members of the specified team(s).", + "description": "The total number of seats created for the specified user(s).", "properties": { "seats_created": { "type": "integer" @@ -107080,15 +107657,15 @@ } }, "delete": { - "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -107107,9 +107684,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "The names of teams from which to revoke access to GitHub Copilot.", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", "items": { "type": "string" }, @@ -107117,16 +107694,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -107142,7 +107719,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { "seats_cancelled": { "type": "integer" @@ -107267,7 +107844,7 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { @@ -107278,17 +107855,180 @@ } } }, - "/orgs/{org}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-users", + "operationId": "copilot/copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -107302,60 +108042,84 @@ } ], "requestBody": { + "description": "The content exclusion rules to set", + "required": true, "content": { "application/json": { "schema": { "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Example of content exclusion paths", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" + "octo-repo": [ + "/src/some-dir/kernel.rs" ] } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "message": { + "type": "string" } - }, - "required": [ - "seats_created" - ] + } }, "examples": { "default": { "value": { - "seats_created": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -107466,154 +108230,8 @@ } } }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-user-management" - } - }, - "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + "413": { + "description": "Payload Too Large", "content": { "application/json": { "schema": { @@ -107638,14 +108256,18 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -107653,26 +108275,23 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "string" + } } } } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -108416,6 +109035,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -109910,6 +110537,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -110095,6 +110744,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -110698,7 +111348,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -193262,6 +193912,75 @@ } } }, + "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": { @@ -197934,6 +198653,75 @@ } } }, + "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": { @@ -209070,6 +209858,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -209370,6 +210161,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -291760,6 +292554,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -316489,6 +317292,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -316656,7 +317486,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -316677,7 +317507,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -318840,6 +319670,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -319905,7 +320743,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -320023,7 +320883,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -321208,7 +322069,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -321351,10 +322234,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -322357,7 +323256,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -511920,6 +512820,75 @@ } } }, + "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": { @@ -516458,6 +517427,75 @@ } } }, + "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": { @@ -538708,482 +539746,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" - }, - "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": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "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" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "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" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -539205,67 +539790,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "integer" + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -539275,11 +539895,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -762573,7 +763190,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -765048,7 +765665,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -767523,7 +768140,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -769998,7 +770615,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -772473,7 +773090,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -774948,7 +775565,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -777423,7 +778040,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -779898,7 +780515,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 71edf358f9..3f74bb1170 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &316 + type: &317 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &642 + - &644 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &206 + - &207 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &208 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &209 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &210 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2884,7 +2884,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &281 + properties: &282 id: description: Unique identifier of the repository example: 42 @@ -3335,7 +3335,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &282 + required: &283 - archive_url - assignees_url - blobs_url @@ -7428,6 +7428,14 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended + metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability @@ -7712,6 +7720,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8092,6 +8108,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8806,7 +8830,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &478 + - &480 name: has in: query description: |- @@ -8821,6 +8845,15 @@ paths: enum: - patch - &196 + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string + - &197 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8830,7 +8863,7 @@ paths: enum: - development - runtime - - &197 + - &198 name: sort in: query description: |- @@ -8856,7 +8889,7 @@ paths: application/json: schema: type: array - items: &198 + items: &199 type: object description: A Dependabot alert. properties: @@ -8922,7 +8955,7 @@ paths: - unknown - direct - transitive - security_advisory: &479 + security_advisory: &481 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9184,14 +9217,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &480 + auto_dismissed_at: &482 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &481 + dismissal_request: &483 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9253,7 +9286,7 @@ paths: - repository additionalProperties: false examples: - default: &199 + default: &200 value: - number: 2 state: dismissed @@ -9357,6 +9390,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -9506,6 +9558,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -10569,7 +10622,7 @@ paths: properties: action: type: string - discussion: &738 + discussion: &739 title: Discussion description: A Discussion in a repository. type: object @@ -10936,7 +10989,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &532 + properties: &534 id: type: integer format: int64 @@ -11050,7 +11103,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &265 + properties: &266 url: type: string format: uri @@ -11120,7 +11173,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &266 + required: &267 - closed_issues - creator - description @@ -11199,7 +11252,7 @@ paths: timeline_url: type: string format: uri - type: &228 + type: &229 title: Issue Type description: The type of issue. type: object @@ -11313,7 +11366,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &654 + sub_issues_summary: &655 title: Sub-issues Summary type: object properties: @@ -11400,7 +11453,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &553 + properties: &555 pinned_at: type: string format: date-time @@ -11412,7 +11465,7 @@ paths: properties: *20 required: *21 nullable: true - required: &554 + required: &556 - pinned_at - pinned_by nullable: true @@ -11426,7 +11479,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &655 + issue_dependencies_summary: &656 title: Issue Dependencies Summary type: object properties: @@ -11445,7 +11498,7 @@ paths: - total_blocking issue_field_values: type: array - items: &656 + items: &657 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11506,7 +11559,7 @@ paths: - node_id - data_type - value - required: &533 + required: &535 - assignee - closed_at - comments @@ -11544,7 +11597,7 @@ paths: action: type: string issue: *77 - comment: &528 + comment: &530 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12208,7 +12261,7 @@ paths: type: string release: allOf: - - &587 + - &589 title: Release description: A release. type: object @@ -12279,7 +12332,7 @@ paths: author: *4 assets: type: array - items: &588 + items: &590 title: Release Asset description: Data related to a release. type: object @@ -12870,7 +12923,7 @@ paths: url: type: string format: uri - user: &662 + user: &663 title: Public User description: Public User type: object @@ -14742,7 +14795,7 @@ paths: - closed - all default: open - - &231 + - &232 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14793,7 +14846,7 @@ paths: type: array items: *77 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16178,14 +16231,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &327 + - &329 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &328 + - &330 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16247,7 +16300,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &333 description: Moved permanently content: application/json: @@ -16269,7 +16322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &563 + - &565 name: all description: If `true`, show notifications marked as read. in: query @@ -16277,7 +16330,7 @@ paths: schema: type: boolean default: false - - &564 + - &566 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16287,7 +16340,7 @@ paths: type: boolean default: false - *84 - - &565 + - &567 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: @@ -16323,7 +16376,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &201 + properties: &202 id: type: integer format: int64 @@ -16609,7 +16662,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &283 + security_and_analysis: &284 nullable: true type: object properties: @@ -16722,7 +16775,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &202 + required: &203 - archive_url - assignees_url - blobs_url @@ -16810,7 +16863,7 @@ paths: - url - subscription_url examples: - default: &566 + default: &568 value: - id: '1' repository: @@ -18320,7 +18373,7 @@ paths: required: false schema: type: string - - &713 + - &714 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18466,7 +18519,7 @@ paths: parameters: - *67 - *116 - - &714 + - &715 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18578,7 +18631,7 @@ paths: - *116 - *118 - *117 - - &715 + - &716 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18586,7 +18639,7 @@ paths: schema: type: string - *119 - - &716 + - &717 name: sku description: The SKU to query for usage. in: query @@ -19488,7 +19541,7 @@ paths: type: integer repository_cache_usages: type: array - items: &338 + items: &340 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20689,7 +20742,7 @@ paths: - all - local_only - selected - selected_actions_url: &344 + selected_actions_url: &346 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -20772,7 +20825,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &350 type: object properties: days: @@ -20814,7 +20867,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &351 type: object properties: days: @@ -20871,7 +20924,7 @@ paths: required: - approval_policy examples: - default: &350 + default: &352 value: approval_policy: first_time_contributors '404': *6 @@ -20930,7 +20983,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -20984,7 +21037,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &354 type: object required: - run_workflows_from_fork_pull_requests @@ -21619,7 +21672,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 type: object properties: default_workflow_permissions: &146 @@ -21670,7 +21723,7 @@ paths: required: false content: application/json: - schema: &354 + schema: &356 type: object properties: default_workflow_permissions: *146 @@ -22159,7 +22212,7 @@ paths: type: array items: *153 examples: - default: &665 + default: &666 value: total_count: 1 repositories: @@ -22801,7 +22854,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Runner Application description: Runner Application type: object @@ -22826,7 +22879,7 @@ paths: - download_url - filename examples: - default: &356 + default: &358 value: - os: osx architecture: x64 @@ -22912,7 +22965,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &357 + '201': &359 description: Response content: application/json: @@ -23023,7 +23076,7 @@ paths: - token - expires_at examples: - default: &358 + default: &360 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23062,7 +23115,7 @@ paths: application/json: schema: *157 examples: - default: &359 + default: &361 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23096,7 +23149,7 @@ paths: application/json: schema: *155 examples: - default: &360 + default: &362 value: id: 23 name: MBP @@ -23322,7 +23375,7 @@ paths: - *67 - *154 responses: - '200': &361 + '200': &363 description: Response content: application/json: @@ -23379,7 +23432,7 @@ paths: parameters: - *67 - *154 - - &362 + - &364 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23509,7 +23562,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23538,7 +23591,7 @@ paths: - key_id - key examples: - default: &375 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23951,7 +24004,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &343 + - &345 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24478,20 +24531,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -24641,7 +24696,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -24654,17 +24709,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -24704,7 +24759,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -25100,12 +25155,12 @@ paths: required: - subject_digests examples: - default: &695 + default: &696 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &696 + withPredicateType: &697 value: subject_digests: - sha256:abc123 @@ -25163,7 +25218,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &697 + default: &698 value: attestations_subject_digests: - sha256:abc: @@ -25513,7 +25568,7 @@ paths: initiator: type: string examples: - default: &388 + default: &390 value: attestations: - bundle: @@ -25864,7 +25919,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &243 + properties: &244 id: description: Unique identifier of the team type: integer @@ -25936,7 +25991,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &244 + required: &245 - id - node_id - url @@ -26442,7 +26497,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &413 + - &415 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -26452,7 +26507,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &416 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -26475,7 +26530,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &418 type: string description: State of a code scanning alert. enum: @@ -26498,7 +26553,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &419 type: string description: Severity of a code scanning alert. enum: @@ -26532,7 +26587,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &418 + instances_url: &420 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26555,7 +26610,7 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: &419 + dismissed_reason: &421 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26564,13 +26619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &422 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &423 type: object properties: id: @@ -26623,7 +26678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &424 type: object properties: name: *178 @@ -26633,26 +26688,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &423 + most_recent_instance: &425 type: object properties: - ref: &415 + ref: &417 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &435 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &434 + environment: &436 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &435 + category: &437 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26666,7 +26721,7 @@ paths: properties: text: type: string - location: &436 + location: &438 type: object description: Describe a region within a file for the alert. properties: @@ -26687,7 +26742,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &437 + items: &439 type: string description: A classification of the file. For example to identify it as generated. @@ -27282,6 +27337,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27640,6 +27702,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27964,7 +28033,7 @@ paths: type: integer codespaces: type: array - items: &233 + items: &234 type: object title: Codespace description: A codespace. @@ -27994,7 +28063,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &449 + properties: &451 name: type: string description: The name of the machine. @@ -28036,7 +28105,7 @@ paths: - ready - in_progress nullable: true - required: &450 + required: &452 - name - display_name - operating_system @@ -28241,7 +28310,7 @@ paths: - pulls_url - recent_folders examples: - default: &234 + default: &235 value: total_count: 3 codespaces: @@ -28904,7 +28973,7 @@ paths: - updated_at - visibility examples: - default: &451 + default: &453 value: total_count: 2 secrets: @@ -28942,7 +29011,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28971,7 +29040,7 @@ paths: - key_id - key examples: - default: &453 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29003,7 +29072,7 @@ paths: application/json: schema: *187 examples: - default: &455 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29470,7 +29539,7 @@ paths: currently being billed. seats: type: array - items: &236 + items: &237 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29945,6 +30014,151 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - *67 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + octo-repo: + - "/src/some-dir/kernel.rs" + '500': *113 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - *67 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *113 + '401': *25 + '403': *29 + '404': *6 + '413': + description: Payload Too Large + content: + application/json: + schema: *3 + '422': *7 + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -30001,7 +30215,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30308,7 +30522,7 @@ paths: - date additionalProperties: true examples: - default: &322 + default: &323 value: - date: '2024-06-24' total_active_users: 24 @@ -30410,7 +30624,7 @@ paths: '500': *113 '403': *29 '404': *6 - '422': &323 + '422': &324 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30472,6 +30686,7 @@ paths: enum: - patch - deployment + - *196 - name: runtime_risk in: query description: |- @@ -30480,8 +30695,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *196 - *197 + - *198 - *53 - *45 - *46 @@ -30493,9 +30708,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *199 + default: *200 '304': *37 '400': *14 '403': *29 @@ -30539,7 +30754,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &201 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -30616,7 +30831,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &486 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30633,7 +30848,7 @@ paths: - key_id - key examples: - default: &485 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30663,7 +30878,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *201 examples: default: value: @@ -30728,9 +30943,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -30964,7 +31177,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Package description: A software package type: object @@ -31014,8 +31227,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *201 - required: *202 + properties: *202 + required: *203 nullable: true created_at: type: string @@ -31034,7 +31247,7 @@ paths: - created_at - updated_at examples: - default: &247 + default: &248 value: - id: 197 name: hello_docker @@ -31204,7 +31417,7 @@ paths: application/json: schema: type: array - items: &225 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -31251,7 +31464,7 @@ paths: - invitation_teams_url - node_id examples: - default: &226 + default: &227 value: - id: 1 login: monalisa @@ -31318,7 +31531,7 @@ paths: application/json: schema: type: array - items: &203 + items: &204 title: Org Hook description: Org Hook type: object @@ -31489,9 +31702,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &204 + default: &205 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -31539,7 +31752,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &205 + - &206 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -31552,9 +31765,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: *204 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -31582,7 +31795,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31627,7 +31840,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: default: value: @@ -31669,7 +31882,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31697,7 +31910,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 responses: '200': description: Response @@ -31728,7 +31941,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31779,9 +31992,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *205 - - *17 - *206 + - *17 + - *207 responses: '200': description: Response @@ -31789,9 +32002,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -31817,16 +32030,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -31852,7 +32065,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '202': *39 @@ -31882,7 +32095,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31905,7 +32118,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &215 + - &216 name: actor_type in: path description: The type of the actor @@ -31918,14 +32131,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &216 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &211 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31933,7 +32146,7 @@ paths: required: true schema: type: string - - &212 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -32027,12 +32240,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *211 - *212 + - *213 - *19 - *17 - *53 - - &221 + - &222 name: sort description: The property to sort the results by. in: query @@ -32110,14 +32323,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &213 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32133,7 +32346,7 @@ paths: type: integer format: int64 examples: - default: &214 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32154,23 +32367,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &217 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32189,18 +32402,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *211 - *212 - - *215 + - *213 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32218,9 +32431,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *211 - *212 - - &218 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32233,7 +32446,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32249,7 +32462,7 @@ paths: type: integer format: int64 examples: - default: &220 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32286,18 +32499,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *217 - - *211 - - *212 - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32315,19 +32528,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *215 - *216 - - *211 + - *217 - *212 - - *218 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32345,13 +32558,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *217 - - *211 + - *218 - *212 + - *213 - *19 - *17 - *53 - - *221 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32432,7 +32645,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &525 value: id: 1 account: @@ -32598,12 +32811,12 @@ paths: application/json: schema: anyOf: - - &223 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &222 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32628,7 +32841,7 @@ paths: properties: {} additionalProperties: false examples: - default: &224 + default: &225 value: limit: collaborators_only origin: organization @@ -32657,13 +32870,13 @@ paths: required: true content: application/json: - schema: &524 + schema: &526 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *222 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32687,9 +32900,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -32765,9 +32978,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 '404': *6 @@ -32844,7 +33057,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -32899,7 +33112,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &227 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32930,7 +33143,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *227 + - *228 - *17 - *19 responses: @@ -32942,7 +33155,7 @@ paths: type: array items: *190 examples: - default: &245 + default: &246 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32985,7 +33198,7 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: default: value: @@ -33070,9 +33283,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -33105,7 +33318,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &230 + - &231 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -33158,9 +33371,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '404': *6 '422': *7 x-github: @@ -33185,7 +33398,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *230 + - *231 responses: '204': description: Response @@ -33248,7 +33461,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: type description: Can be the name of an issue type. in: query @@ -33279,7 +33492,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -33438,9 +33651,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -33467,7 +33680,7 @@ paths: parameters: - *67 - *63 - - &235 + - &236 name: codespace_name in: path required: true @@ -33502,15 +33715,15 @@ paths: parameters: - *67 - *63 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &448 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33690,7 +33903,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *236 + schema: *237 examples: default: value: @@ -33766,7 +33979,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &238 title: Org Membership description: Org Membership type: object @@ -33833,7 +34046,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &238 + response-if-user-has-an-active-admin-membership-with-organization: &239 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33934,9 +34147,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - response-if-user-already-had-membership-with-organization: *238 + response-if-user-already-had-membership-with-organization: *239 '422': *15 '403': *29 x-github: @@ -34007,7 +34220,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Migration description: A migration. type: object @@ -34336,7 +34549,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34515,7 +34728,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &240 + - &241 name: migration_id description: The unique identifier of the migration. in: path @@ -34542,7 +34755,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34712,7 +34925,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '302': description: Response @@ -34734,7 +34947,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '204': description: Response @@ -34758,8 +34971,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *240 - - &678 + - *241 + - &679 name: repo_name description: repo_name parameter in: path @@ -34787,7 +35000,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *240 + - *241 - *17 - *19 responses: @@ -34799,7 +35012,7 @@ paths: type: array items: *153 examples: - default: &252 + default: &253 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34954,7 +35167,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &242 + items: &243 title: Organization Role description: Organization roles type: object @@ -35129,7 +35342,7 @@ paths: parameters: - *67 - *69 - - &241 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -35166,7 +35379,7 @@ paths: parameters: - *67 - *69 - - *241 + - *242 responses: '204': description: Response @@ -35219,7 +35432,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35251,7 +35464,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35280,13 +35493,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *242 + schema: *243 examples: default: value: @@ -35337,7 +35550,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35415,8 +35628,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true type: description: The ownership type of the team @@ -35448,7 +35661,7 @@ paths: - type - parent examples: - default: *245 + default: *246 headers: Link: *59 '404': @@ -35478,7 +35691,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35506,13 +35719,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &317 + items: &318 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 name: nullable: true type: string @@ -35800,7 +36013,7 @@ paths: - nuget - container - *67 - - &679 + - &680 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35836,12 +36049,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 '403': *29 '401': *25 - '400': &681 + '400': &682 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35863,7 +36076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &248 + - &249 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35881,7 +36094,7 @@ paths: - docker - nuget - container - - &249 + - &250 name: package_name description: The name of the package. in: path @@ -35894,7 +36107,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35946,8 +36159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 responses: '204': @@ -35980,8 +36193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - name: token description: package token @@ -36014,8 +36227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *248 - *249 + - *250 - *67 - *19 - *17 @@ -36036,7 +36249,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Package Version description: A version of a software package type: object @@ -36161,10 +36374,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - &251 + - &252 name: package_version_id description: Unique identifier of the package version. in: path @@ -36176,7 +36389,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -36212,10 +36425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36247,10 +36460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36280,7 +36493,7 @@ paths: - *67 - *17 - *19 - - &253 + - &254 name: sort description: The property by which to sort the results. in: query @@ -36291,7 +36504,7 @@ paths: - created_at default: created_at - *53 - - &254 + - &255 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -36302,7 +36515,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &255 + - &256 name: repository description: The name of the repository to use to filter the results. in: query @@ -36310,7 +36523,7 @@ paths: schema: type: string example: Hello-World - - &256 + - &257 name: permission description: The permission to use to filter the results. in: query @@ -36318,7 +36531,7 @@ paths: schema: type: string example: issues_read - - &257 + - &258 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36328,7 +36541,7 @@ paths: schema: type: string format: date-time - - &258 + - &259 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36338,7 +36551,7 @@ paths: schema: type: string format: date-time - - &259 + - &260 name: token_id description: The ID of the token in: query @@ -36651,7 +36864,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -36677,14 +36890,14 @@ paths: - *67 - *17 - *19 - - *253 - - *53 - *254 + - *53 - *255 - *256 - *257 - *258 - *259 + - *260 responses: '500': *113 '422': *15 @@ -36966,7 +37179,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -37008,7 +37221,7 @@ paths: type: integer configurations: type: array - items: &260 + items: &261 title: Organization private registry description: Private registry configuration for an organization type: object @@ -37298,7 +37511,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &261 + org-private-registry-with-selected-visibility: &262 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -37394,9 +37607,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -37563,7 +37776,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Projects v2 Project description: A projects v2 project type: object @@ -37633,7 +37846,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &769 + properties: &770 id: type: number description: The unique identifier of the status update. @@ -37681,7 +37894,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &770 + required: &771 - id - node_id - created_at @@ -37706,7 +37919,7 @@ paths: - deleted_at - deleted_by examples: - default: &263 + default: &264 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37809,7 +38022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &264 + - &265 name: project_number description: The project's number. in: path @@ -37822,9 +38035,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -37847,7 +38060,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -37881,7 +38094,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: Projects v2 Item description: An item belonging to a project type: object @@ -37895,7 +38108,7 @@ paths: content: oneOf: - *77 - - &465 + - &467 title: Pull Request Simple description: Pull Request Simple type: object @@ -38001,8 +38214,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -38098,7 +38311,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &268 title: Link description: Hypermedia Link type: object @@ -38107,13 +38320,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -38124,7 +38337,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: &573 + auto_merge: &575 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38226,7 +38439,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &270 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -38266,7 +38479,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &272 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38340,7 +38553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *264 + - *265 - *67 - *17 - *45 @@ -38352,7 +38565,7 @@ paths: application/json: schema: type: array - items: &268 + items: &269 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -38499,7 +38712,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &701 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38629,7 +38842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *264 + - *265 - *67 requestBody: required: true @@ -38676,7 +38889,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &702 type: object properties: name: @@ -38713,7 +38926,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &703 type: object description: The configuration for iteration fields. properties: @@ -38763,7 +38976,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &704 summary: Create a single select field value: name: Priority @@ -38790,7 +39003,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &705 summary: Create an iteration field value: name: Sprint @@ -38814,9 +39027,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *269 examples: - text_field: &705 + text_field: &706 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38825,7 +39038,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &707 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38834,7 +39047,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &708 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38843,7 +39056,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &709 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38877,7 +39090,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &710 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38922,8 +39135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *264 - - &710 + - *265 + - &711 name: field_id description: The unique identifier of the field. in: path @@ -38936,9 +39149,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: &711 + default: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38994,7 +39207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -39027,7 +39240,7 @@ paths: application/json: schema: type: array - items: &272 + items: &273 title: Projects v2 Item description: An item belonging to a project type: object @@ -39043,7 +39256,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *269 + content_type: *270 content: type: object additionalProperties: true @@ -39086,7 +39299,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &274 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -39784,7 +39997,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -39854,22 +40067,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -39889,9 +40102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - - &274 + - &275 name: item_id description: The unique identifier of the project item. in: path @@ -39917,9 +40130,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -39940,9 +40153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40012,13 +40225,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -40038,9 +40251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 responses: '204': description: Response @@ -40064,7 +40277,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true content: @@ -40135,7 +40348,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &692 + schema: &693 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -40233,7 +40446,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &276 value: id: 1 number: 1 @@ -40279,10 +40492,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -40310,9 +40523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *264 + - *265 - *67 - - &712 + - &713 name: view_number description: The number that identifies the project view. in: path @@ -40344,9 +40557,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -40379,7 +40592,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40447,7 +40660,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &278 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40507,7 +40720,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *277 minItems: 1 maxItems: 100 required: @@ -40537,9 +40750,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 '403': *29 '404': *6 x-github: @@ -40561,7 +40774,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &278 + - &279 name: custom_property_name description: The custom property name in: path @@ -40573,9 +40786,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: &279 + default: &280 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40610,7 +40823,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 requestBody: required: true content: @@ -40681,9 +40894,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *279 + default: *280 '403': *29 '404': *6 x-github: @@ -40707,7 +40920,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 responses: '204': *184 '403': *29 @@ -40768,7 +40981,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &280 + items: &281 title: Custom Property Value description: Custom property name and associated value type: object @@ -40855,7 +41068,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - repository_names - properties @@ -41047,7 +41260,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -41249,7 +41462,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &332 title: Full Repository description: Full Repository type: object @@ -41537,8 +41750,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *281 - required: *282 + properties: *282 + required: *283 nullable: true temp_clone_token: type: string @@ -41653,7 +41866,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &470 + properties: &472 url: type: string format: uri @@ -41669,12 +41882,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &471 + required: &473 - url - key - name - html_url - security_and_analysis: *283 + security_and_analysis: *284 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41758,7 +41971,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &334 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42279,7 +42492,7 @@ paths: - *67 - *17 - *19 - - &595 + - &597 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42297,7 +42510,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -42332,7 +42545,7 @@ paths: source: type: string description: The name of the source - enforcement: &286 + enforcement: &287 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -42345,7 +42558,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &287 + items: &288 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -42415,7 +42628,7 @@ paths: conditions: nullable: true anyOf: - - &284 + - &285 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42439,7 +42652,7 @@ paths: match. items: type: string - - &288 + - &289 title: Organization ruleset conditions type: object description: |- @@ -42453,7 +42666,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42487,7 +42700,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42509,7 +42722,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42522,7 +42735,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &285 + items: &286 title: Repository ruleset property targeting definition type: object @@ -42555,17 +42768,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *285 + items: *286 required: - repository_property rules: type: array - items: &596 + items: &598 title: Repository Rule type: object description: A repository rule. oneOf: - - &289 + - &290 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42577,7 +42790,7 @@ paths: type: string enum: - creation - - &290 + - &291 title: update description: Only allow users with bypass permission to update matching refs. @@ -42598,7 +42811,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &291 + - &292 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42610,7 +42823,7 @@ paths: type: string enum: - deletion - - &292 + - &293 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42622,7 +42835,7 @@ paths: type: string enum: - required_linear_history - - &594 + - &596 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42700,7 +42913,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &293 + - &294 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42724,7 +42937,7 @@ paths: type: string required: - required_deployment_environments - - &294 + - &295 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42736,7 +42949,7 @@ paths: type: string enum: - required_signatures - - &295 + - &296 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42842,7 +43055,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &296 + - &297 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42890,7 +43103,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &297 + - &298 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42902,7 +43115,7 @@ paths: type: string enum: - non_fast_forward - - &298 + - &299 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42939,7 +43152,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42976,7 +43189,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43013,7 +43226,7 @@ paths: required: - operator - pattern - - &301 + - &302 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43050,7 +43263,7 @@ paths: required: - operator - pattern - - &302 + - &303 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43087,7 +43300,7 @@ paths: required: - operator - pattern - - &303 + - &304 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43112,7 +43325,7 @@ paths: type: string required: - restricted_file_paths - - &304 + - &305 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43136,7 +43349,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &305 + - &306 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43159,7 +43372,7 @@ paths: type: string required: - restricted_file_extensions - - &306 + - &307 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43184,7 +43397,7 @@ paths: maximum: 100 required: - max_file_size - - &307 + - &308 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43234,7 +43447,7 @@ paths: - repository_id required: - workflows - - &308 + - &309 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -43295,7 +43508,7 @@ paths: - tool required: - code_scanning_tools - - &309 + - &310 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -43394,21 +43607,20 @@ paths: - push - repository default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: type: array description: An array of rules within the ruleset. - items: &312 + items: &313 title: Repository Rule type: object description: A repository rule. oneOf: - - *289 - *290 - *291 - *292 @@ -43429,6 +43641,7 @@ paths: - *307 - *308 - *309 + - *310 required: - name - enforcement @@ -43466,9 +43679,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: id: 21 name: super cool ruleset @@ -43508,6 +43721,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/orgs/{org}/rulesets/rule-suites": get: @@ -43523,7 +43737,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &597 + - &599 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 @@ -43538,7 +43752,7 @@ paths: in: query schema: type: string - - &598 + - &600 name: time_period description: |- The time period to filter by. @@ -43554,14 +43768,14 @@ paths: - week - month default: day - - &599 + - &601 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 - - &600 + - &602 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43581,7 +43795,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 title: Rule Suites description: Response type: array @@ -43636,7 +43850,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &602 + default: &604 value: - id: 21 actor_id: 12 @@ -43680,7 +43894,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &603 + - &605 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43696,7 +43910,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &606 title: Rule Suite description: Response type: object @@ -43795,7 +44009,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &605 + default: &607 value: id: 21 actor_id: 12 @@ -43868,9 +44082,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 '500': *113 put: @@ -43914,16 +44128,16 @@ paths: - tag - push - repository - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: description: An array of rules within the ruleset. type: array - items: *312 + items: *313 examples: default: value: @@ -43958,10 +44172,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 + '422': *15 '500': *113 delete: summary: Delete an organization repository ruleset @@ -44017,7 +44232,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Ruleset version type: object description: The historical version of a ruleset @@ -44041,7 +44256,7 @@ paths: type: string format: date-time examples: - default: &607 + default: &609 value: - version_id: 3 actor: @@ -44094,9 +44309,9 @@ paths: description: Response content: application/json: - schema: &608 + schema: &610 allOf: - - *313 + - *314 - type: object required: - state @@ -44166,7 +44381,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &609 + - &611 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44177,7 +44392,7 @@ paths: enum: - open - resolved - - &610 + - &612 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44187,7 +44402,7 @@ paths: required: false schema: type: string - - &611 + - &613 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44196,7 +44411,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44215,7 +44430,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &613 + - &615 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -44230,7 +44445,7 @@ paths: - *53 - *19 - *17 - - &614 + - &616 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44240,7 +44455,7 @@ paths: required: false schema: type: string - - &615 + - &617 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -44250,7 +44465,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -44259,7 +44474,7 @@ paths: required: false schema: type: string - - &617 + - &619 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -44268,7 +44483,7 @@ paths: schema: type: boolean default: false - - &618 + - &620 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -44277,7 +44492,7 @@ paths: schema: type: boolean default: false - - &619 + - &621 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -44312,14 +44527,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &620 + state: &622 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: &621 + resolution: &623 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -44426,8 +44641,8 @@ paths: pull request. ' - oneOf: &622 - - &624 + oneOf: &624 + - &626 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44479,7 +44694,7 @@ paths: - blob_url - commit_sha - commit_url - - &625 + - &627 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44534,7 +44749,7 @@ paths: - page_url - commit_sha - commit_url - - &626 + - &628 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44548,7 +44763,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &627 + - &629 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44562,7 +44777,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &628 + - &630 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44576,7 +44791,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &629 + - &631 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44590,7 +44805,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &630 + - &632 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44604,7 +44819,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &631 + - &633 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44618,7 +44833,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &632 + - &634 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44632,7 +44847,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &633 + - &635 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44646,7 +44861,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &634 + - &636 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44660,7 +44875,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &635 + - &637 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44674,7 +44889,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &636 + - &638 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44916,7 +45131,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &315 + pattern_config_version: &316 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44925,7 +45140,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &314 + items: &315 type: object properties: token_type: @@ -44991,7 +45206,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *314 + items: *315 examples: default: value: @@ -45048,7 +45263,7 @@ paths: schema: type: object properties: - pattern_config_version: *315 + pattern_config_version: *316 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45074,7 +45289,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *315 + custom_pattern_version: *316 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45172,7 +45387,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 description: A repository security advisory. type: object properties: @@ -45392,7 +45607,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 credits_detailed: type: array nullable: true @@ -45402,7 +45617,7 @@ paths: type: object properties: user: *4 - type: *316 + type: *317 state: type: string description: The state of the user's acceptance of the @@ -45463,7 +45678,7 @@ paths: - private_fork additionalProperties: false examples: - default: &641 + default: &643 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45850,7 +46065,7 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: default: value: @@ -46203,7 +46418,7 @@ paths: type: integer network_configurations: type: array - items: &318 + items: &319 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -46336,9 +46551,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: &319 + default: &320 value: id: 123456789ABCDEF name: My network configuration @@ -46367,7 +46582,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &320 + - &321 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -46379,9 +46594,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 headers: Link: *59 x-github: @@ -46403,7 +46618,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *320 + - *321 requestBody: required: true content: @@ -46443,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46465,7 +46680,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *320 + - *321 responses: '204': description: Response @@ -46605,13 +46820,13 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *322 + default: *323 '500': *113 '403': *29 '404': *6 - '422': *323 + '422': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46641,7 +46856,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '403': *29 @@ -46735,7 +46950,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &325 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46798,8 +47013,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true members_count: type: integer @@ -47062,7 +47277,7 @@ paths: - repos_count - organization examples: - default: &325 + default: &326 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47139,9 +47354,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -47225,16 +47440,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -47264,6 +47479,9 @@ paths: responses: '204': description: Response + '422': &327 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47295,11 +47513,12 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 + '422': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47381,7 +47600,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: Team Membership description: Team Membership type: object @@ -47408,7 +47627,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &658 + response-if-user-is-a-team-maintainer: &659 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47471,9 +47690,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: &659 + response-if-users-membership-with-team-is-now-pending: &660 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47549,7 +47768,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -47580,14 +47799,14 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &660 + schema: &661 title: Team Repository description: A team's access to a repository. type: object @@ -48158,8 +48377,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -48206,8 +48425,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48244,7 +48463,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: &661 + response-if-child-teams-exist: &662 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48398,7 +48617,7 @@ paths: resources: type: object properties: - core: &329 + core: &331 title: Rate Limit type: object properties: @@ -48415,21 +48634,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *331 + search: *331 + code_search: *331 + source_import: *331 + integration_manifest: *331 + code_scanning_upload: *331 + actions_runner_registration: *331 + scim: *331 + dependency_snapshots: *331 + dependency_sbom: *331 + code_scanning_autofix: *331 required: - core - search - rate: *329 + rate: *331 required: - rate - resources @@ -48534,14 +48753,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *330 + schema: *332 examples: default-response: summary: Default response @@ -49046,7 +49265,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49064,8 +49283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -49356,10 +49575,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 - '307': &333 + default: *334 + '307': &335 description: Temporary Redirect content: application/json: @@ -49388,8 +49607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -49411,7 +49630,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *335 '404': *6 '409': *52 x-github: @@ -49435,11 +49654,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &366 + - &368 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49462,7 +49681,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &336 title: Artifact description: An artifact type: object @@ -49540,7 +49759,7 @@ paths: - expires_at - updated_at examples: - default: &367 + default: &369 value: total_count: 2 artifacts: @@ -49601,9 +49820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *327 - - *328 - - &335 + - *329 + - *330 + - &337 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49615,7 +49834,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -49653,9 +49872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 responses: '204': description: Response @@ -49679,9 +49898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 - name: archive_format in: path required: true @@ -49695,7 +49914,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &527 + '410': &529 description: Gone content: application/json: @@ -49720,14 +49939,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &336 + schema: &338 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49760,13 +49979,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *336 + schema: *338 examples: selected_actions: *42 responses: @@ -49795,14 +50014,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &337 + schema: &339 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49835,13 +50054,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *337 + schema: *339 examples: selected_actions: *44 responses: @@ -49872,14 +50091,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -49905,11 +50124,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &339 + - &341 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49943,7 +50162,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 title: Repository actions caches description: Repository actions caches type: object @@ -49985,7 +50204,7 @@ paths: - total_count - actions_caches examples: - default: &341 + default: &343 value: total_count: 1 actions_caches: @@ -50017,23 +50236,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *327 - - *328 + - *329 + - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *339 + - *341 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50053,8 +50272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *327 - - *328 + - *329 + - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50085,9 +50304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *327 - - *328 - - &342 + - *329 + - *330 + - &344 name: job_id description: The unique identifier of the job. in: path @@ -50099,7 +50318,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Job description: Information of a job execution in a workflow run type: object @@ -50406,9 +50625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 responses: '302': description: Response @@ -50436,9 +50655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 requestBody: required: false content: @@ -50483,8 +50702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Status response @@ -50534,8 +50753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -50598,8 +50817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -50617,7 +50836,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &374 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50637,7 +50856,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &375 value: total_count: 2 secrets: @@ -50670,9 +50889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -50689,7 +50908,7 @@ paths: type: integer variables: type: array - items: &376 + items: &378 title: Actions Variable type: object properties: @@ -50719,7 +50938,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 variables: @@ -50752,8 +50971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50762,11 +50981,11 @@ paths: schema: type: object properties: - enabled: &345 + enabled: &347 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *344 + selected_actions_url: *346 sha_pinning_required: *139 required: - enabled @@ -50795,8 +51014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -50807,7 +51026,7 @@ paths: schema: type: object properties: - enabled: *345 + enabled: *347 allowed_actions: *138 sha_pinning_required: *139 required: @@ -50839,14 +51058,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: access_level: @@ -50863,7 +51082,7 @@ paths: required: - access_level examples: - default: &347 + default: &349 value: access_level: organization x-github: @@ -50887,15 +51106,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 responses: '204': description: Response @@ -50919,14 +51138,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50950,8 +51169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Empty response for successful settings update @@ -50961,7 +51180,7 @@ paths: required: true content: application/json: - schema: *349 + schema: *351 examples: default: summary: Set retention days @@ -50985,8 +51204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50994,7 +51213,7 @@ paths: application/json: schema: *140 examples: - default: *350 + default: *352 '404': *6 x-github: enabledForGitHubApps: true @@ -51013,8 +51232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51048,14 +51267,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *141 '403': *29 @@ -51077,13 +51296,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *141 responses: @@ -51109,8 +51328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51137,8 +51356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51170,14 +51389,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: default: *148 x-github: @@ -51200,8 +51419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Success response @@ -51212,7 +51431,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *356 examples: default: *148 x-github: @@ -51241,8 +51460,8 @@ paths: in: query schema: type: string - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -51286,8 +51505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51295,9 +51514,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51319,8 +51538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -51363,7 +51582,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *357 + '201': *359 '404': *6 '422': *7 '409': *52 @@ -51394,8 +51613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51403,7 +51622,7 @@ paths: application/json: schema: *157 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51431,8 +51650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51440,7 +51659,7 @@ paths: application/json: schema: *157 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51462,8 +51681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': @@ -51472,7 +51691,7 @@ paths: application/json: schema: *155 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51493,8 +51712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '204': @@ -51521,8 +51740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': *159 @@ -51547,8 +51766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51597,8 +51816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51648,11 +51867,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: - '200': *361 + '200': *363 '404': *6 x-github: githubCloudOnly: false @@ -51679,10 +51898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 - - *362 + - *364 responses: '200': *159 '404': *6 @@ -51710,9 +51929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *327 - - *328 - - &380 + - *329 + - *330 + - &382 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51720,7 +51939,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51728,7 +51947,7 @@ paths: required: false schema: type: string - - &382 + - &384 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51737,7 +51956,7 @@ paths: required: false schema: type: string - - &383 + - &385 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51764,7 +51983,7 @@ paths: - pending - *17 - *19 - - &384 + - &386 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51773,7 +51992,7 @@ paths: schema: type: string format: date-time - - &363 + - &365 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51782,13 +52001,13 @@ paths: schema: type: boolean default: false - - &385 + - &387 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &386 + - &388 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51811,7 +52030,7 @@ paths: type: integer workflow_runs: type: array - items: &364 + items: &366 title: Workflow Run description: An invocation of a workflow type: object @@ -51959,7 +52178,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &410 id: type: string description: SHA for the commit @@ -52010,7 +52229,7 @@ paths: - name - email nullable: true - required: &409 + required: &411 - id - tree_id - message @@ -52057,7 +52276,7 @@ paths: - workflow_url - pull_requests examples: - default: &387 + default: &389 value: total_count: 1 workflow_runs: @@ -52293,24 +52512,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *327 - - *328 - - &365 + - *329 + - *330 + - &367 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &368 + default: &370 value: id: 30433642 name: Build @@ -52551,9 +52770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -52576,9 +52795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -52697,9 +52916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '201': description: Response @@ -52732,12 +52951,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - *17 - *19 - - *366 + - *368 responses: '200': description: Response @@ -52753,9 +52972,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *336 examples: - default: *367 + default: *369 headers: Link: *59 x-github: @@ -52779,25 +52998,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - &369 + - *329 + - *330 + - *367 + - &371 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52820,10 +53039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 - *17 - *19 responses: @@ -52841,9 +53060,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: &371 + default: &373 value: total_count: 1 jobs: @@ -52956,10 +53175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 responses: '302': description: Response @@ -52987,9 +53206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53022,9 +53241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53091,9 +53310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53126,9 +53345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -53158,9 +53377,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *59 x-github: @@ -53185,9 +53404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '302': description: Response @@ -53214,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -53243,9 +53462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53305,7 +53524,7 @@ paths: items: type: object properties: - type: &493 + type: &495 type: string description: The type of reviewer. enum: @@ -53390,9 +53609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53439,12 +53658,12 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &732 + properties: &733 url: type: string format: uri @@ -53529,7 +53748,7 @@ paths: nullable: true properties: *72 required: *73 - required: &733 + required: &734 - id - node_id - sha @@ -53545,7 +53764,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &491 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53601,9 +53820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53647,9 +53866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53702,9 +53921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53841,8 +54060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -53860,9 +54079,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -53887,16 +54106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53918,17 +54137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: &506 + default: &508 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53954,8 +54173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -54013,8 +54232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -54040,9 +54259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -54059,9 +54278,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -54084,8 +54303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -54137,17 +54356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: &507 + default: &509 value: name: USERNAME value: octocat @@ -54173,8 +54392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 requestBody: required: true @@ -54217,8 +54436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '204': @@ -54244,8 +54463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54263,7 +54482,7 @@ paths: type: integer workflows: type: array - items: &378 + items: &380 title: Workflow description: A GitHub Actions workflow type: object @@ -54370,9 +54589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *327 - - *328 - - &379 + - *329 + - *330 + - &381 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54387,7 +54606,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -54420,9 +54639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54447,9 +54666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -54536,9 +54755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54565,19 +54784,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *327 - - *328 - - *379 - - *380 + - *329 + - *330 - *381 - *382 - *383 - - *17 - - *19 - *384 - - *363 - *385 + - *17 + - *19 - *386 + - *365 + - *387 + - *388 responses: '200': description: Response @@ -54593,9 +54812,9 @@ paths: type: integer workflow_runs: type: array - items: *364 + items: *366 examples: - default: *387 + default: *389 headers: Link: *59 x-github: @@ -54627,9 +54846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '200': description: Response @@ -54690,8 +54909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *327 - - *328 + - *329 + - *330 - *53 - *17 - *45 @@ -54855,8 +55074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54893,8 +55112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *327 - - *328 + - *329 + - *330 - name: assignee in: path required: true @@ -54930,8 +55149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55043,8 +55262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *45 - *46 @@ -55101,7 +55320,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55121,8 +55340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -55130,7 +55349,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Autolink reference description: An autolink reference. type: object @@ -55184,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55224,9 +55443,9 @@ paths: description: response content: application/json: - schema: *389 + schema: *391 examples: - default: &390 + default: &392 value: id: 1 key_prefix: TICKET- @@ -55257,9 +55476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *327 - - *328 - - &391 + - *329 + - *330 + - &393 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55271,9 +55490,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -55293,9 +55512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *327 - - *328 - - *391 + - *329 + - *330 + - *393 responses: '204': description: Response @@ -55319,8 +55538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if Dependabot is enabled @@ -55368,8 +55587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55390,8 +55609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55411,8 +55630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *327 - - *328 + - *329 + - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55450,7 +55669,7 @@ paths: - url protected: type: boolean - protection: &393 + protection: &395 title: Branch Protection description: Branch Protection type: object @@ -55492,7 +55711,7 @@ paths: required: - contexts - checks - enforce_admins: &396 + enforce_admins: &398 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55507,7 +55726,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &398 + required_pull_request_reviews: &400 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55583,7 +55802,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &395 + restrictions: &397 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55860,9 +56079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *327 - - *328 - - &394 + - *329 + - *330 + - &396 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55876,14 +56095,14 @@ paths: description: Response content: application/json: - schema: &404 + schema: &406 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &461 + commit: &463 title: Commit description: Commit type: object @@ -55917,7 +56136,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &392 + properties: &394 name: type: string example: '"Chris Wanstrath"' @@ -55933,7 +56152,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true message: type: string @@ -55954,7 +56173,7 @@ paths: required: - sha - url - verification: &513 + verification: &515 title: Verification type: object properties: @@ -56024,7 +56243,7 @@ paths: type: integer files: type: array - items: &474 + items: &476 title: Diff Entry description: Diff Entry type: object @@ -56108,7 +56327,7 @@ paths: - self protected: type: boolean - protection: *393 + protection: *395 protection_url: type: string format: uri @@ -56215,7 +56434,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -56237,15 +56456,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56439,9 +56658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -56696,7 +56915,7 @@ paths: url: type: string format: uri - required_status_checks: &401 + required_status_checks: &403 title: Status Check Policy description: Status Check Policy type: object @@ -56848,7 +57067,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *395 + restrictions: *397 required_conversation_resolution: type: object properties: @@ -56960,9 +57179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -56987,17 +57206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57019,17 +57238,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57048,9 +57267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57075,17 +57294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &399 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57181,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57281,9 +57500,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57304,9 +57523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57333,17 +57552,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57366,17 +57585,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -57396,9 +57615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57423,17 +57642,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57459,9 +57678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57513,9 +57732,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '404': *6 '422': *15 x-github: @@ -57537,9 +57756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57563,9 +57782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57599,9 +57818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57668,9 +57887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57734,9 +57953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -57802,15 +58021,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57901,9 +58120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57926,9 +58145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57938,7 +58157,7 @@ paths: type: array items: *5 examples: - default: &403 + default: &405 value: - id: 1 slug: octoapp @@ -57995,9 +58214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58031,7 +58250,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58052,9 +58271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58088,7 +58307,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58109,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58145,7 +58364,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58167,9 +58386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58179,7 +58398,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '404': *6 x-github: githubCloudOnly: false @@ -58199,9 +58418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58239,7 +58458,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58260,9 +58479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58300,7 +58519,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58321,9 +58540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -58360,7 +58579,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58382,9 +58601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58418,9 +58637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58478,9 +58697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58538,9 +58757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58600,9 +58819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58624,7 +58843,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: default: value: @@ -58740,8 +58959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59020,7 +59239,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &407 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59140,7 +59359,7 @@ paths: check. type: array items: *82 - deployment: &725 + deployment: &726 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59420,9 +59639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *327 - - *328 - - &406 + - *329 + - *330 + - &408 name: check_run_id description: The unique identifier of the check run. in: path @@ -59434,9 +59653,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &407 + default: &409 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59536,9 +59755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 requestBody: required: true content: @@ -59778,9 +59997,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59800,9 +60019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 - *17 - *19 responses: @@ -59897,9 +60116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 responses: '201': description: Response @@ -59943,8 +60162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59966,7 +60185,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &412 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60052,12 +60271,12 @@ paths: type: string format: date-time nullable: true - head_commit: &753 + head_commit: &754 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 latest_check_runs_count: type: integer check_runs_url: @@ -60085,7 +60304,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &413 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60376,9 +60595,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60397,8 +60616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -60707,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *327 - - *328 - - &412 + - *329 + - *330 + - &414 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60721,9 +60940,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60746,17 +60965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *327 - - *328 - - *412 - - &467 + - *329 + - *330 + - *414 + - &469 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &468 + - &470 name: status description: Returns check runs with the specified `status`. in: query @@ -60795,9 +61014,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: &469 + default: &471 value: total_count: 1 check_runs: @@ -60899,9 +61118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *327 - - *328 - - *412 + - *329 + - *330 + - *414 responses: '201': description: Response @@ -60934,21 +61153,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - &431 + - &433 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *415 - - &432 + schema: *417 + - &434 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60973,13 +61192,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *418 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *419 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61003,7 +61222,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61014,11 +61233,11 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_reason: *421 + dismissed_comment: *422 + rule: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61144,7 +61363,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &426 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61171,9 +61390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *327 - - *328 - - &425 + - *329 + - *330 + - &427 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61187,7 +61406,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 type: object properties: number: *171 @@ -61195,7 +61414,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61206,8 +61425,8 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 rule: type: object properties: @@ -61261,8 +61480,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61361,7 +61580,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61381,9 +61600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -61398,8 +61617,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61427,7 +61646,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -61503,7 +61722,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &432 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61530,15 +61749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: Response content: application/json: - schema: &427 + schema: &429 type: object properties: status: @@ -61564,13 +61783,13 @@ paths: - description - started_at examples: - default: &428 + default: &430 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &431 description: Bad Request content: application/json: @@ -61581,7 +61800,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61606,29 +61825,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: OK content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '202': description: Accepted content: application/json: - schema: *427 + schema: *429 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *431 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61660,9 +61879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: false content: @@ -61707,8 +61926,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *431 + '403': *432 '404': *6 '422': description: Unprocessable Entity @@ -61732,13 +61951,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 - - *431 - - *432 + - *433 + - *434 responses: '200': description: Response @@ -61749,10 +61968,10 @@ paths: items: type: object properties: - ref: *415 - analysis_key: *433 - environment: *434 - category: *435 + ref: *417 + analysis_key: *435 + environment: *436 + category: *437 state: type: string description: State of a code scanning alert instance. @@ -61767,7 +61986,7 @@ paths: properties: text: type: string - location: *436 + location: *438 html_url: type: string classifications: @@ -61775,7 +61994,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *437 + items: *439 examples: default: value: @@ -61812,7 +62031,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61846,25 +62065,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - *432 + - *434 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *415 + schema: *417 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &438 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61885,23 +62104,23 @@ paths: application/json: schema: type: array - items: &439 + items: &441 type: object properties: - ref: *415 - commit_sha: &447 + ref: *417 + commit_sha: &449 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *433 + analysis_key: *435 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *435 + category: *437 error: type: string example: error reading field xyz @@ -61925,8 +62144,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *438 - tool: *422 + sarif_id: *440 + tool: *424 deletable: type: boolean warning: @@ -61987,7 +62206,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62023,8 +62242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62037,7 +62256,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: response: summary: application/json response @@ -62091,7 +62310,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *426 '404': *6 '422': description: Response if analysis could not be processed @@ -62178,8 +62397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62232,7 +62451,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62254,8 +62473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -62263,7 +62482,7 @@ paths: application/json: schema: type: array - items: &440 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -62374,7 +62593,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62403,8 +62622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62416,7 +62635,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: default: value: @@ -62448,9 +62667,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &476 + '302': &478 description: Found - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62472,8 +62691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62483,7 +62702,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62511,8 +62730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -62521,7 +62740,7 @@ paths: type: object additionalProperties: false properties: - language: &441 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -62601,7 +62820,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &445 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62611,7 +62830,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *441 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -62658,7 +62877,7 @@ paths: items: type: object properties: - repository: &442 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -62694,7 +62913,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &446 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62726,7 +62945,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &443 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -62740,7 +62959,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *442 + items: *444 required: - repository_count - repositories @@ -62762,8 +62981,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *443 - over_limit_repos: *443 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -62779,7 +62998,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &444 + value: &446 summary: Default response value: id: 1 @@ -62925,10 +63144,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *444 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *444 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -62956,8 +63175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62969,9 +63188,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *444 + default: *446 '404': *6 '503': *114 x-github: @@ -62994,7 +63213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *327 + - *329 - name: repo in: path description: The name of the controller repository. @@ -63029,7 +63248,7 @@ paths: type: object properties: repository: *58 - analysis_status: *446 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63154,8 +63373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63240,7 +63459,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -63261,8 +63480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63354,7 +63573,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *432 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63425,8 +63644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63434,7 +63653,7 @@ paths: schema: type: object properties: - commit_sha: *447 + commit_sha: *449 ref: type: string description: |- @@ -63492,7 +63711,7 @@ paths: schema: type: object properties: - id: *438 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -63506,7 +63725,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *430 + '403': *432 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63529,8 +63748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *327 - - *328 + - *329 + - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63576,7 +63795,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *424 + '403': *426 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -63601,8 +63820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63683,8 +63902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63804,8 +64023,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63821,7 +64040,7 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: default: value: @@ -64119,8 +64338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -64183,17 +64402,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '400': *14 '401': *25 '403': *29 @@ -64222,8 +64441,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -64287,8 +64506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64323,14 +64542,14 @@ paths: type: integer machines: type: array - items: &668 + items: &669 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 examples: - default: &669 + default: &670 value: total_count: 2 machines: @@ -64370,8 +64589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64455,8 +64674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -64522,8 +64741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -64541,7 +64760,7 @@ paths: type: integer secrets: type: array - items: &454 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64561,7 +64780,7 @@ paths: - created_at - updated_at examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -64584,16 +64803,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64613,17 +64832,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64643,8 +64862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -64697,8 +64916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -64727,8 +64946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *327 - - *328 + - *329 + - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64770,7 +64989,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &456 + properties: &458 login: type: string example: octocat @@ -64863,7 +65082,7 @@ paths: user_view_type: type: string example: public - required: &457 + required: &459 - avatar_url - events_url - followers_url @@ -64937,8 +65156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -64985,8 +65204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 requestBody: required: false @@ -65013,7 +65232,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &528 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65242,8 +65461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -65275,8 +65494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '200': @@ -65297,8 +65516,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *456 - required: *457 + properties: *458 + required: *459 nullable: true required: - permission @@ -65353,8 +65572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -65364,7 +65583,7 @@ paths: application/json: schema: type: array - items: &458 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -65422,7 +65641,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &465 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65481,17 +65700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: &464 + default: &466 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65548,8 +65767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65572,7 +65791,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -65623,8 +65842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -65646,8 +65865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65674,7 +65893,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65717,7 +65936,7 @@ paths: - content - created_at examples: - default: &530 + default: &532 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65762,8 +65981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65796,9 +66015,9 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65827,9 +66046,9 @@ paths: description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -65851,10 +66070,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - &531 + - &533 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65909,8 +66128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65966,9 +66185,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: &580 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66062,9 +66281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *327 - - *328 - - &462 + - *329 + - *330 + - &464 name: commit_sha description: The SHA of the commit. in: path @@ -66136,9 +66355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66148,9 +66367,9 @@ paths: application/json: schema: type: array - items: *458 + items: *460 examples: - default: *463 + default: *465 headers: Link: *59 x-github: @@ -66178,9 +66397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 requestBody: required: true content: @@ -66215,9 +66434,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *464 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66245,9 +66464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66257,9 +66476,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66796,11 +67015,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - - &466 + - &468 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66815,9 +67034,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: &559 + default: &561 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66930,11 +67149,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *327 - - *328 - - *466 - - *467 + - *329 + - *330 - *468 + - *469 + - *470 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66968,9 +67187,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: *469 + default: *471 headers: Link: *59 x-github: @@ -66995,9 +67214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67005,7 +67224,7 @@ paths: schema: type: integer example: 1 - - *467 + - *469 - *17 - *19 responses: @@ -67023,7 +67242,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *412 examples: default: value: @@ -67223,9 +67442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67423,9 +67642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67435,7 +67654,7 @@ paths: application/json: schema: type: array - items: &645 + items: &647 title: Status description: The status of a commit. type: object @@ -67516,7 +67735,7 @@ paths: site_admin: false headers: Link: *59 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67544,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -67574,20 +67793,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *470 - required: *471 + properties: *472 + required: *473 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &472 + properties: &474 url: type: string format: uri html_url: type: string format: uri - required: &473 + required: &475 - url - html_url nullable: true @@ -67601,26 +67820,26 @@ paths: contributing: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true readme: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true issue_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true pull_request_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true required: - code_of_conduct @@ -67747,8 +67966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - name: basehead @@ -67791,8 +68010,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *461 - merge_base_commit: *461 + base_commit: *463 + merge_base_commit: *463 status: type: string enum: @@ -67812,10 +68031,10 @@ paths: example: 6 commits: type: array - items: *461 + items: *463 files: type: array - items: *474 + items: *476 required: - url - html_url @@ -68101,8 +68320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68117,6 +68336,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -68245,7 +68481,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &475 + response-if-content-is-a-file-github-object: &477 summary: Response if content is a file value: type: file @@ -68263,7 +68499,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: summary: Response if content is a directory and the application/vnd.github.v3.object media type is requested value: @@ -68377,7 +68613,7 @@ paths: - size - type - url - - &585 + - &587 title: Content File description: Content File type: object @@ -68578,7 +68814,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *475 + response-if-content-is-a-file: *477 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68647,7 +68883,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *476 + '302': *478 '304': *37 x-github: githubCloudOnly: false @@ -68670,8 +68906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68764,7 +69000,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 title: File Commit description: File Commit type: object @@ -68916,7 +69152,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: example-for-creating-a-file: value: @@ -68970,7 +69206,7 @@ paths: schema: oneOf: - *3 - - &508 + - &510 description: Repository rule violation was detected type: object properties: @@ -68991,7 +69227,7 @@ paths: items: type: object properties: - placeholder_id: &637 + placeholder_id: &639 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69023,8 +69259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -69085,7 +69321,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -69140,8 +69376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *327 - - *328 + - *329 + - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69264,8 +69500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *191 - *192 - *193 @@ -69277,9 +69513,10 @@ paths: schema: type: string - *195 - - *478 + - *480 - *196 - *197 + - *198 - *53 - *45 - *46 @@ -69291,7 +69528,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 type: object description: A Dependabot alert. properties: @@ -69337,7 +69574,7 @@ paths: - unknown - direct - transitive - security_advisory: *479 + security_advisory: *481 security_vulnerability: *57 url: *174 html_url: *175 @@ -69368,8 +69605,8 @@ paths: nullable: true maxLength: 280 fixed_at: *176 - auto_dismissed_at: *480 - dismissal_request: *481 + auto_dismissed_at: *482 + dismissal_request: *483 assignees: type: array description: The users assigned to this alert. @@ -69496,6 +69733,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -69580,6 +69836,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *37 '400': *14 '403': *29 @@ -69604,9 +69861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *327 - - *328 - - &483 + - *329 + - *330 + - &485 name: alert_number in: path description: |- @@ -69621,7 +69878,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69712,6 +69969,25 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false '304': *37 '403': *29 '404': *6 @@ -69734,9 +70010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *327 - - *328 - - *483 + - *329 + - *330 + - *485 requestBody: required: true content: @@ -69767,8 +70043,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -69781,7 +70068,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69884,6 +70171,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *29 '404': *6 @@ -69910,8 +70198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -69929,7 +70217,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &488 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69982,16 +70270,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70011,15 +70299,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *486 + schema: *488 examples: default: value: @@ -70045,8 +70333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -70099,8 +70387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -70123,8 +70411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -70284,8 +70572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -70524,8 +70812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70600,7 +70888,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &489 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70633,7 +70921,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *489 resolved: type: object description: A collection of resolved package dependencies. @@ -70646,7 +70934,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *489 relationship: type: string description: A notation of whether a dependency is requested @@ -70775,8 +71063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -70816,9 +71104,9 @@ paths: application/json: schema: type: array - items: *488 + items: *490 examples: - default: *489 + default: *491 headers: Link: *59 x-github: @@ -70884,8 +71172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70966,7 +71254,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: simple-example: summary: Simple example @@ -71039,9 +71327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *327 - - *328 - - &490 + - *329 + - *330 + - &492 name: deployment_id description: deployment_id parameter in: path @@ -71053,7 +71341,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -71118,9 +71406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 responses: '204': description: Response @@ -71142,9 +71430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - *17 - *19 responses: @@ -71154,7 +71442,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Deployment Status description: The status of a deployment. type: object @@ -71315,9 +71603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 requestBody: required: true content: @@ -71392,9 +71680,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &492 + default: &494 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71450,9 +71738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - name: status_id in: path required: true @@ -71463,9 +71751,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -71490,8 +71778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71548,8 +71836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -71566,7 +71854,7 @@ paths: type: integer environments: type: array - items: &494 + items: &496 title: Environment description: Details of a deployment environment type: object @@ -71618,7 +71906,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &498 type: integer example: 30 description: The amount of time to delay a job after @@ -71655,7 +71943,7 @@ paths: items: type: object properties: - type: *493 + type: *495 reviewer: anyOf: - *4 @@ -71679,7 +71967,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &499 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71795,9 +72083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *327 - - *328 - - &495 + - *329 + - *330 + - &497 name: environment_name in: path required: true @@ -71810,9 +72098,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &498 + default: &500 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71896,9 +72184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: false content: @@ -71907,7 +72195,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *498 prevent_self_review: type: boolean example: false @@ -71924,13 +72212,13 @@ paths: items: type: object properties: - type: *493 + type: *495 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *499 additionalProperties: false examples: default: @@ -71950,9 +72238,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *498 + default: *500 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71976,9 +72264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '204': description: Default response @@ -72003,9 +72291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72023,7 +72311,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &501 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72080,9 +72368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72128,9 +72416,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - example-wildcard: &500 + example-wildcard: &502 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72172,10 +72460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - &501 + - *329 + - *330 + - *497 + - &503 name: branch_policy_id in: path required: true @@ -72187,9 +72475,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72208,10 +72496,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 requestBody: required: true content: @@ -72239,9 +72527,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72260,10 +72548,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 responses: '204': description: Response @@ -72288,9 +72576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 responses: '200': description: List of deployment protection rules @@ -72306,7 +72594,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &504 title: Deployment protection rule description: Deployment protection rule type: object @@ -72325,7 +72613,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &505 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72424,9 +72712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 requestBody: content: application/json: @@ -72447,9 +72735,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *504 examples: - default: &504 + default: &506 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72484,9 +72772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 - *19 - *17 responses: @@ -72505,7 +72793,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *505 examples: default: value: @@ -72540,10 +72828,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *327 - - *328 - - *495 - - &505 + - *329 + - *330 + - *497 + - &507 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72555,9 +72843,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72578,10 +72866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *328 - - *327 - - *505 + - *497 + - *330 + - *329 + - *507 responses: '204': description: Response @@ -72607,9 +72895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72627,9 +72915,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -72654,17 +72942,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,18 +72974,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72719,9 +73007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 requestBody: required: true @@ -72779,9 +73067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '204': @@ -72807,10 +73095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *327 - - *328 - - *495 - - *343 + - *329 + - *330 + - *497 + - *345 - *19 responses: '200': @@ -72827,9 +73115,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -72852,9 +73140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72906,18 +73194,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72938,10 +73226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 requestBody: required: true content: @@ -72983,10 +73271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 responses: '204': description: Response @@ -73008,8 +73296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -73077,8 +73365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *327 - - *328 + - *329 + - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73237,8 +73525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -73270,9 +73558,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -73293,8 +73581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73354,7 +73642,7 @@ paths: schema: oneOf: - *122 - - *508 + - *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73379,8 +73667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *327 - - *328 + - *329 + - *330 - name: file_sha in: path required: true @@ -73479,8 +73767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73589,7 +73877,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &511 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73803,15 +74091,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -73867,9 +74155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *327 - - *328 - - &510 + - *329 + - *330 + - &512 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. @@ -73886,7 +74174,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Git Reference description: Git references within a repository type: object @@ -73961,17 +74249,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '200': description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74000,8 +74288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74030,9 +74318,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74058,9 +74346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 requestBody: required: true content: @@ -74089,9 +74377,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '422': *15 '409': *52 x-github: @@ -74109,9 +74397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '204': description: Response @@ -74166,8 +74454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74234,7 +74522,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Tag description: Metadata for a Git tag type: object @@ -74285,7 +74573,7 @@ paths: - sha - type - url - verification: *513 + verification: *515 required: - sha - url @@ -74295,7 +74583,7 @@ paths: - tag - message examples: - default: &515 + default: &517 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74368,8 +74656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_sha in: path required: true @@ -74380,9 +74668,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '404': *6 '409': *52 x-github: @@ -74406,8 +74694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74480,7 +74768,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74576,8 +74864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *327 - - *328 + - *329 + - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74600,7 +74888,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default-response: summary: Default response @@ -74659,8 +74947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -74670,7 +74958,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Webhook description: Webhooks for repositories. type: object @@ -74724,7 +75012,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &762 title: Hook Response type: object properties: @@ -74798,8 +75086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -74851,9 +75139,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: &518 + default: &520 value: type: Repository id: 12345678 @@ -74901,17 +75189,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -74931,9 +75219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: true content: @@ -74978,9 +75266,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '422': *15 '404': *6 x-github: @@ -75001,9 +75289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75027,9 +75315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response @@ -75056,9 +75344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: false content: @@ -75102,11 +75390,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 - - *17 + - *329 + - *330 - *206 + - *17 + - *207 responses: '200': description: Response @@ -75114,9 +75402,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -75135,18 +75423,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -75165,9 +75453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '202': *39 @@ -75190,9 +75478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75217,9 +75505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75242,8 +75530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if immutable releases are enabled @@ -75289,8 +75577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75310,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75368,14 +75656,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &519 + schema: &521 title: Import description: A repository import from an external source. type: object @@ -75474,7 +75762,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &524 value: vcs: subversion use_lfs: true @@ -75490,7 +75778,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': &520 + '503': &522 description: Unavailable due to service under maintenance. content: application/json: @@ -75519,8 +75807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -75568,7 +75856,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -75593,7 +75881,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75621,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -75671,7 +75959,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: example-1: summary: Example 1 @@ -75719,7 +76007,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': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75742,12 +76030,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75773,9 +76061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *327 - - *328 - - &690 + - *329 + - *330 + - &691 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75789,7 +76077,7 @@ paths: application/json: schema: type: array - items: &521 + items: &523 title: Porter Author description: Porter Author type: object @@ -75843,7 +76131,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': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75868,8 +76156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *327 - - *328 + - *329 + - *330 - name: author_id in: path required: true @@ -75899,7 +76187,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -75912,7 +76200,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75936,8 +76224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -75978,7 +76266,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76006,8 +76294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76034,11 +76322,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *522 + default: *524 '422': *15 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76061,8 +76349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76070,8 +76358,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *331 + default: *525 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -76091,8 +76379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76100,12 +76388,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &527 value: limit: collaborators_only origin: repository @@ -76130,13 +76418,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *524 + schema: *526 examples: default: summary: Example request body @@ -76148,9 +76436,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *525 + default: *527 '409': description: Response x-github: @@ -76172,8 +76460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -76196,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -76207,9 +76495,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: &683 + default: &684 value: - id: 1 repository: @@ -76340,9 +76628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 requestBody: required: false content: @@ -76371,7 +76659,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -76502,9 +76790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 responses: '204': description: Response @@ -76535,8 +76823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *327 - - *328 + - *329 + - *330 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -76584,7 +76872,7 @@ paths: required: false schema: type: string - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -76609,7 +76897,7 @@ paths: type: array items: *77 examples: - default: &538 + default: &540 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76758,7 +77046,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *331 + '301': *333 '422': *15 '404': *6 x-github: @@ -76787,8 +77075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76872,7 +77160,7 @@ paths: application/json: schema: *77 examples: - default: &535 + default: &537 value: id: 1 node_id: MDU6SXNzdWUx @@ -77029,7 +77317,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -77057,8 +77345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *101 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77079,9 +77367,9 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: &537 + default: &539 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77139,17 +77427,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &529 + default: &531 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77204,8 +77492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77228,9 +77516,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -77248,8 +77536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77278,15 +77566,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: default: value: @@ -77342,7 +77630,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -77359,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77368,7 +77656,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '503': *114 x-github: githubCloudOnly: false @@ -77386,8 +77674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77414,9 +77702,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -77437,8 +77725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77471,16 +77759,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -77502,10 +77790,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -77525,8 +77813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -77536,7 +77824,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Issue Event description: Issue Event type: object @@ -77579,8 +77867,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *532 - required: *533 + properties: *534 + required: *535 nullable: true label: title: Issue Event Label @@ -77888,8 +78176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *327 - - *328 + - *329 + - *330 - name: event_id in: path required: true @@ -77900,7 +78188,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -78093,7 +78381,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *527 + '410': *529 '403': *29 x-github: githubCloudOnly: false @@ -78127,9 +78415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *327 - - *328 - - &536 + - *329 + - *330 + - &538 name: issue_number description: The number that identifies the issue. in: path @@ -78154,7 +78442,7 @@ paths: examples: default: summary: Issue - value: *535 + value: *537 pinned_comment: summary: Issue with pinned comment value: @@ -78353,9 +78641,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 '304': *37 x-github: githubCloudOnly: false @@ -78380,9 +78668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78488,13 +78776,13 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '422': *15 '503': *114 '403': *29 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78512,9 +78800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78542,7 +78830,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78558,9 +78846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: content: application/json: @@ -78587,7 +78875,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78609,9 +78897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: assignee in: path required: true @@ -78651,9 +78939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *84 - *17 - *19 @@ -78664,13 +78952,13 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: *537 + default: *539 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78699,9 +78987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78723,16 +79011,16 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78760,9 +79048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78774,12 +79062,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78807,9 +79095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78833,15 +79121,15 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *333 '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78872,9 +79160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78888,13 +79176,13 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -78920,9 +79208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78934,12 +79222,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78956,9 +79244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78972,7 +79260,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &540 + - &542 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79026,7 +79314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79162,7 +79450,7 @@ paths: - performed_via_github_app - assignee - assigner - - &542 + - &544 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79213,7 +79501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79264,7 +79552,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79318,7 +79606,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79365,7 +79653,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79412,7 +79700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79472,7 +79760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &550 title: Locked Issue Event description: Locked Issue Event type: object @@ -79520,7 +79808,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &551 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79586,7 +79874,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &552 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79652,7 +79940,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &553 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79718,7 +80006,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &554 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -79809,7 +80097,7 @@ paths: color: red headers: Link: *59 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79826,9 +80114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -79840,7 +80128,7 @@ paths: type: array items: *76 examples: - default: &539 + default: &541 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79858,9 +80146,9 @@ paths: default: false headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79876,9 +80164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -79923,10 +80211,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -79943,9 +80231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80007,10 +80295,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -80027,15 +80315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80054,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: name in: path required: true @@ -80080,9 +80368,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80102,9 +80390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80132,7 +80420,7 @@ paths: '204': description: Response '403': *29 - '410': *527 + '410': *529 '404': *6 '422': *15 x-github: @@ -80150,9 +80438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response @@ -80182,9 +80470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '200': description: Response @@ -80192,10 +80480,10 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80212,9 +80500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -80240,13 +80528,13 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80264,9 +80552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80298,16 +80586,16 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -80329,10 +80617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *327 - - *328 - - *536 - - *531 + - *329 + - *330 + - *538 + - *533 responses: '204': description: Response @@ -80361,9 +80649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80387,7 +80675,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80420,9 +80708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80434,11 +80722,11 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80466,9 +80754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80497,14 +80785,14 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -80524,9 +80812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80559,7 +80847,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '403': *29 '404': *6 '422': *7 @@ -80581,9 +80869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80598,8 +80886,6 @@ paths: description: Timeline Event type: object anyOf: - - *540 - - *541 - *542 - *543 - *544 @@ -80611,6 +80897,8 @@ paths: - *550 - *551 - *552 + - *553 + - *554 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80671,8 +80959,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - event @@ -80927,7 +81215,7 @@ paths: type: string comments: type: array - items: &574 + items: &576 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81142,7 +81430,7 @@ paths: type: string comments: type: array - items: *458 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81431,7 +81719,7 @@ paths: headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81448,8 +81736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81459,7 +81747,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81525,8 +81813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81562,9 +81850,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: &556 + default: &558 value: id: 1 key: ssh-rsa AAA... @@ -81598,9 +81886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *327 - - *328 - - &557 + - *329 + - *330 + - &559 name: key_id description: The unique identifier of the key. in: path @@ -81612,9 +81900,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -81632,9 +81920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *327 - - *328 - - *557 + - *329 + - *330 + - *559 responses: '204': description: Response @@ -81654,8 +81942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81667,7 +81955,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 '404': *6 @@ -81688,8 +81976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81727,7 +82015,7 @@ paths: application/json: schema: *76 examples: - default: &558 + default: &560 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81759,8 +82047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81773,7 +82061,7 @@ paths: application/json: schema: *76 examples: - default: *558 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -81790,8 +82078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81856,8 +82144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81883,8 +82171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81923,9 +82211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *327 - - *328 - - *431 + - *329 + - *330 + - *433 responses: '200': description: Response @@ -82070,8 +82358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82136,8 +82424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82171,9 +82459,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *461 + schema: *463 examples: - default: *559 + default: *561 '204': description: Response when already merged '404': @@ -82198,8 +82486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82240,12 +82528,12 @@ paths: application/json: schema: type: array - items: &560 + items: &562 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 examples: default: value: @@ -82301,8 +82589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82342,9 +82630,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82403,9 +82691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *327 - - *328 - - &562 + - *329 + - *330 + - &564 name: milestone_number description: The number that identifies the milestone. in: path @@ -82417,9 +82705,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -82436,9 +82724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 requestBody: required: false content: @@ -82476,9 +82764,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82494,9 +82782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 responses: '204': description: Response @@ -82517,9 +82805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 - *17 - *19 responses: @@ -82531,7 +82819,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 x-github: @@ -82550,12 +82838,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *327 - - *328 - - *563 - - *564 - - *84 + - *329 + - *330 - *565 + - *566 + - *84 + - *567 - *17 - *19 responses: @@ -82567,7 +82855,7 @@ paths: type: array items: *104 examples: - default: *566 + default: *568 headers: Link: *59 x-github: @@ -82591,8 +82879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -82650,14 +82938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &567 + schema: &569 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82782,7 +83070,7 @@ paths: - custom_404 - public examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82823,8 +83111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82878,9 +83166,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '422': *15 '409': *52 x-github: @@ -82903,8 +83191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83003,8 +83291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -83030,8 +83318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -83041,7 +83329,7 @@ paths: application/json: schema: type: array - items: &569 + items: &571 title: Page Build description: Page Build type: object @@ -83135,8 +83423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -83181,16 +83469,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83238,8 +83526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 - name: build_id in: path required: true @@ -83250,9 +83538,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83272,8 +83560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83378,9 +83666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *327 - - *328 - - &571 + - *329 + - *330 + - &573 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83438,9 +83726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '204': *184 '404': *6 @@ -83467,8 +83755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83726,8 +84014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Private vulnerability reporting status @@ -83764,8 +84052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83786,8 +84074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83809,8 +84097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83818,7 +84106,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -83849,8 +84137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83862,7 +84150,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - properties examples: @@ -83912,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83973,9 +84261,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *572 + default: *574 headers: Link: *59 '304': *37 @@ -84007,8 +84295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -84073,7 +84361,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84184,8 +84472,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -84230,7 +84518,7 @@ paths: nullable: true requested_teams: type: array - items: *317 + items: *318 nullable: true head: type: object @@ -84269,14 +84557,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *268 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -84287,7 +84575,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: *573 + auto_merge: *575 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84379,7 +84667,7 @@ paths: - merged_by - review_comments examples: - default: &577 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84906,8 +85194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: sort in: query required: false @@ -84936,9 +85224,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: &579 + default: &581 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85015,17 +85303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &575 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85100,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85124,9 +85412,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85142,8 +85430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -85165,8 +85453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85193,9 +85481,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -85216,8 +85504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85250,16 +85538,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -85281,10 +85569,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -85327,9 +85615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *327 - - *328 - - &578 + - *329 + - *330 + - &580 name: pull_number description: The number that identifies the pull request. in: path @@ -85342,9 +85630,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '304': *37 '404': *6 '406': @@ -85379,9 +85667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -85423,9 +85711,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '422': *15 '403': *29 x-github: @@ -85447,9 +85735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85509,17 +85797,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -85549,9 +85837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *101 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -85572,9 +85860,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: *579 + default: *581 headers: Link: *59 x-github: @@ -85607,9 +85895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85714,7 +86002,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: example-for-a-multi-line-comment: value: @@ -85802,9 +86090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *93 requestBody: required: true @@ -85827,7 +86115,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85913,9 +86201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85925,9 +86213,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *580 + default: *582 headers: Link: *59 x-github: @@ -85957,9 +86245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85969,7 +86257,7 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: default: value: @@ -86007,9 +86295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '204': description: Response if pull request has been merged @@ -86032,9 +86320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86145,9 +86433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '200': description: Response @@ -86222,9 +86510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86261,7 +86549,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -86797,9 +87085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -86833,7 +87121,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -87338,9 +87626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -87350,7 +87638,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -87501,9 +87789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -87589,9 +87877,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87654,10 +87942,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - &582 + - *329 + - *330 + - *580 + - &584 name: review_id description: The unique identifier of the review. in: path @@ -87669,9 +87957,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &584 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87730,10 +88018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -87756,7 +88044,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -87818,18 +88106,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 responses: '200': description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 '422': *7 '404': *6 x-github: @@ -87856,10 +88144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 - *17 - *19 responses: @@ -87942,9 +88230,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *268 + html: *268 + pull_request: *268 required: - self - html @@ -88094,10 +88382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88125,7 +88413,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -88188,10 +88476,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88226,9 +88514,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *584 + default: *586 '404': *6 '422': *7 '403': *29 @@ -88250,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -88315,8 +88603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88329,9 +88617,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &586 + default: &588 value: type: file encoding: base64 @@ -88373,8 +88661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *327 - - *328 + - *329 + - *330 - name: dir description: The alternate path to look for a README file in: path @@ -88394,9 +88682,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *586 + default: *588 '404': *6 '422': *15 x-github: @@ -88418,8 +88706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -88429,7 +88717,7 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: default: value: @@ -88523,8 +88811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88600,9 +88888,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: &591 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88707,9 +88995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *327 - - *328 - - &589 + - *329 + - *330 + - &591 name: asset_id description: The unique identifier of the asset. in: path @@ -88721,9 +89009,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: &590 + default: &592 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 @@ -88758,7 +89046,7 @@ paths: type: User site_admin: false '404': *6 - '302': *476 + '302': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88774,9 +89062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 requestBody: required: false content: @@ -88804,9 +89092,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88822,9 +89110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 responses: '204': description: Response @@ -88848,8 +89136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88934,16 +89222,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88960,8 +89248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *327 - - *328 + - *329 + - *330 - name: tag description: tag parameter in: path @@ -88974,9 +89262,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -88998,9 +89286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *327 - - *328 - - &592 + - *329 + - *330 + - &594 name: release_id description: The unique identifier of the release. in: path @@ -89014,9 +89302,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '401': description: Unauthorized x-github: @@ -89034,9 +89322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: false content: @@ -89100,9 +89388,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': description: Not Found if the discussion category name is invalid content: @@ -89123,9 +89411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 responses: '204': description: Response @@ -89145,9 +89433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - *17 - *19 responses: @@ -89157,7 +89445,7 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: default: value: @@ -89238,9 +89526,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: name in: query required: true @@ -89266,7 +89554,7 @@ paths: description: Response for successful upload content: application/json: - schema: *588 + schema: *590 examples: response-for-successful-upload: value: @@ -89321,9 +89609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -89347,9 +89635,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -89370,9 +89658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: true content: @@ -89402,16 +89690,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -89433,10 +89721,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *327 - - *328 - - *592 - - *531 + - *329 + - *330 + - *594 + - *533 responses: '204': description: Response @@ -89460,9 +89748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 - *17 - *19 responses: @@ -89478,8 +89766,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *289 - - &593 + - *290 + - &595 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89498,69 +89786,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *290 - - *593 - allOf: - *291 - - *593 + - *595 - allOf: - *292 - - *593 - - allOf: - - *594 - - *593 + - *595 - allOf: - *293 - - *593 + - *595 + - allOf: + - *596 + - *595 - allOf: - *294 - - *593 + - *595 - allOf: - *295 - - *593 + - *595 - allOf: - *296 - - *593 + - *595 - allOf: - *297 - - *593 + - *595 - allOf: - *298 - - *593 + - *595 - allOf: - *299 - - *593 + - *595 - allOf: - *300 - - *593 + - *595 - allOf: - *301 - - *593 + - *595 - allOf: - *302 - - *593 + - *595 - allOf: - *303 - - *593 + - *595 - allOf: - *304 - - *593 + - *595 - allOf: - *305 - - *593 + - *595 - allOf: - *306 - - *593 + - *595 - allOf: - *307 - - *593 + - *595 - allOf: - *308 - - *593 + - *595 - allOf: - *309 - - *593 + - *595 + - allOf: + - *310 + - *595 examples: default: value: @@ -89599,8 +89887,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: includes_parents @@ -89611,7 +89899,7 @@ paths: schema: type: boolean default: true - - *595 + - *597 responses: '200': description: Response @@ -89619,7 +89907,7 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: default: value: @@ -89666,8 +89954,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 requestBody: description: Request body required: true @@ -89687,16 +89975,16 @@ paths: - tag - push default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: type: array description: An array of rules within the ruleset. - items: *596 + items: *598 required: - name - enforcement @@ -89727,9 +90015,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &606 + default: &608 value: id: 42 name: super cool ruleset @@ -89762,6 +90050,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -89776,12 +90065,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *327 - - *328 - - *597 - - *598 + - *329 + - *330 - *599 - *600 + - *601 + - *602 - *17 - *19 responses: @@ -89789,9 +90078,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *602 + default: *604 '404': *6 '500': *113 x-github: @@ -89812,17 +90101,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *327 - - *328 - - *603 + - *329 + - *330 + - *605 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *605 + default: *607 '404': *6 '500': *113 x-github: @@ -89850,8 +90139,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89871,9 +90160,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 '500': *113 put: @@ -89891,8 +90180,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89917,16 +90206,16 @@ paths: - branch - tag - push - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: description: An array of rules within the ruleset. type: array - items: *596 + items: *598 examples: default: value: @@ -89954,10 +90243,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 + '422': *15 '500': *113 delete: summary: Delete a repository ruleset @@ -89974,8 +90264,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89998,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: ruleset_id @@ -90015,9 +90305,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *607 + default: *609 '404': *6 '500': *113 x-github: @@ -90036,8 +90326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90055,7 +90345,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -90110,22 +90400,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *609 - - *610 + - *329 + - *330 - *611 - *612 - *613 + - *614 + - *615 - *53 - *19 - *17 - - *614 - - *615 - *616 - *617 - *618 - *619 + - *620 + - *621 responses: '200': description: Response @@ -90133,7 +90423,7 @@ paths: application/json: schema: type: array - items: &623 + items: &625 type: object properties: number: *171 @@ -90152,8 +90442,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolved_at: type: string format: date-time @@ -90249,7 +90539,7 @@ paths: pull request. ' - oneOf: *622 + oneOf: *624 nullable: true has_more_locations: type: boolean @@ -90398,16 +90688,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 - - *619 + - *329 + - *330 + - *427 + - *621 responses: '200': description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90461,9 +90751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -90471,8 +90761,8 @@ paths: schema: type: object properties: - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -90506,7 +90796,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90601,9 +90891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 responses: @@ -90614,7 +90904,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &784 type: object properties: type: @@ -90640,8 +90930,6 @@ paths: example: commit details: oneOf: - - *624 - - *625 - *626 - *627 - *628 @@ -90653,6 +90941,8 @@ paths: - *634 - *635 - *636 + - *637 + - *638 examples: default: value: @@ -90738,8 +91028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90747,14 +91037,14 @@ paths: schema: type: object properties: - reason: &638 + reason: &640 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *637 + placeholder_id: *639 required: - reason - placeholder_id @@ -90771,7 +91061,7 @@ paths: schema: type: object properties: - reason: *638 + reason: *640 expire_at: type: string format: date-time @@ -90817,8 +91107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90833,7 +91123,7 @@ paths: properties: incremental_scans: type: array - items: &639 + items: &641 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90859,15 +91149,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *639 + items: *641 backfill_scans: type: array - items: *639 + items: *641 custom_pattern_backfill_scans: type: array items: allOf: - - *639 + - *641 - type: object properties: pattern_name: @@ -90937,8 +91227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *327 - - *328 + - *329 + - *330 - *53 - name: sort description: The property to sort the results by. @@ -90982,9 +91272,9 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: - default: *641 + default: *643 '400': *14 '404': *6 x-github: @@ -91007,8 +91297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91081,7 +91371,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91168,9 +91458,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: &643 + default: &645 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91403,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91508,7 +91798,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: default: value: @@ -91655,17 +91945,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '403': *29 '404': *6 x-github: @@ -91689,9 +91979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 requestBody: required: true content: @@ -91764,7 +92054,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91850,10 +92140,10 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 - add_credit: *643 + default: *645 + add_credit: *645 '403': *29 '404': *6 '422': @@ -91891,9 +92181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': *39 '400': *14 @@ -91920,17 +92210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -91956,8 +92246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92056,8 +92346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92066,7 +92356,7 @@ paths: application/json: schema: type: array - items: &644 + items: &646 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92099,8 +92389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92176,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92273,8 +92563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92428,8 +92718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92439,7 +92729,7 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: default: value: @@ -92472,8 +92762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *327 - - *328 + - *329 + - *330 - name: sha in: path required: true @@ -92527,7 +92817,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: default: value: @@ -92581,8 +92871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92614,14 +92904,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &646 + schema: &648 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92689,8 +92979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -92716,7 +93006,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -92743,8 +93033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -92764,8 +93054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92827,160 +93117,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - *327 - - *328 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &647 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: *647 - examples: - default: - value: - enabled: true - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -92998,8 +93134,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93035,8 +93171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -93048,7 +93184,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '404': *6 @@ -93068,8 +93204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 responses: @@ -93077,7 +93213,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &649 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93089,7 +93225,7 @@ paths: required: - names examples: - default: &649 + default: &650 value: names: - octocat @@ -93112,8 +93248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93144,9 +93280,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 '404': *6 '422': *7 x-github: @@ -93167,9 +93303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *327 - - *328 - - &650 + - *329 + - *330 + - &651 name: per description: The time frame to display results for. in: query @@ -93198,7 +93334,7 @@ paths: example: 128 clones: type: array - items: &651 + items: &652 title: Traffic type: object properties: @@ -93285,8 +93421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93376,8 +93512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93437,9 +93573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *327 - - *328 - - *650 + - *329 + - *330 + - *651 responses: '200': description: Response @@ -93458,7 +93594,7 @@ paths: example: 3782 views: type: array - items: *651 + items: *652 required: - uniques - count @@ -93535,8 +93671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93810,8 +93946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93834,8 +93970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93857,8 +93993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93884,8 +94020,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93977,9 +94113,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94227,7 +94363,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &652 + text_matches: &653 title: Search Result Text Matches type: array items: @@ -94389,7 +94525,7 @@ paths: enum: - author-date - committer-date - - &653 + - &654 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 @@ -94460,7 +94596,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true comment_count: type: integer @@ -94480,7 +94616,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *515 required: - author - committer @@ -94499,7 +94635,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true parents: type: array @@ -94517,7 +94653,7 @@ paths: type: number node_id: type: string - text_matches: *652 + text_matches: *653 required: - sha - node_id @@ -94709,7 +94845,7 @@ paths: - interactions - created - updated - - *653 + - *654 - *17 - *19 - name: advanced_search @@ -94806,11 +94942,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: type: string state_reason: @@ -94827,8 +94963,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true comments: type: integer @@ -94842,7 +94978,7 @@ paths: type: string format: date-time nullable: true - text_matches: *652 + text_matches: *653 pull_request: type: object properties: @@ -94886,7 +95022,7 @@ paths: timeline_url: type: string format: uri - type: *228 + type: *229 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -95075,7 +95211,7 @@ paths: enum: - created - updated - - *653 + - *654 - *17 - *19 responses: @@ -95119,7 +95255,7 @@ paths: nullable: true score: type: number - text_matches: *652 + text_matches: *653 required: - id - node_id @@ -95204,7 +95340,7 @@ paths: - forks - help-wanted-issues - updated - - *653 + - *654 - *17 - *19 responses: @@ -95452,7 +95588,7 @@ paths: - admin - pull - push - text_matches: *652 + text_matches: *653 temp_clone_token: type: string allow_merge_commit: @@ -95752,7 +95888,7 @@ paths: type: string format: uri nullable: true - text_matches: *652 + text_matches: *653 related: type: array nullable: true @@ -95943,7 +96079,7 @@ paths: - followers - repositories - joined - - *653 + - *654 - *17 - *19 responses: @@ -96047,7 +96183,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *652 + text_matches: *653 blog: type: string nullable: true @@ -96126,7 +96262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &657 + - &658 name: team_id description: The unique identifier of the team. in: path @@ -96138,9 +96274,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -96167,7 +96303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *657 + - *658 requestBody: required: true content: @@ -96230,16 +96366,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -96267,7 +96403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *657 + - *658 responses: '204': description: Response @@ -96296,7 +96432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96306,9 +96442,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 x-github: @@ -96334,7 +96470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *657 + - *658 - name: role description: Filters members returned by their role in the team. in: query @@ -96385,7 +96521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96422,7 +96558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96462,7 +96598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96499,16 +96635,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '200': description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-user-is-a-team-maintainer: *658 + response-if-user-is-a-team-maintainer: *659 '404': *6 x-github: githubCloudOnly: false @@ -96541,7 +96677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 requestBody: required: false @@ -96567,9 +96703,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: *659 + response-if-users-membership-with-team-is-now-pending: *660 '403': description: Forbidden if team synchronization is set up '422': @@ -96603,7 +96739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96631,7 +96767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96643,7 +96779,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -96673,15 +96809,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *660 + schema: *661 examples: alternative-response-with-extra-repository-information: value: @@ -96832,9 +96968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 requestBody: required: false content: @@ -96884,9 +97020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '204': description: Response @@ -96911,7 +97047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96923,7 +97059,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: *661 + response-if-child-teams-exist: *662 headers: Link: *59 '404': *6 @@ -96956,7 +97092,7 @@ paths: application/json: schema: oneOf: - - &663 + - &664 title: Private User description: Private User type: object @@ -97159,7 +97295,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *662 + - *663 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97312,7 +97448,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -97515,9 +97651,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -97656,17 +97792,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -97710,7 +97846,7 @@ paths: type: integer secrets: type: array - items: &664 + items: &665 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97750,7 +97886,7 @@ paths: - visibility - selected_repositories_url examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -97826,7 +97962,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -97972,7 +98108,7 @@ paths: type: array items: *153 examples: - default: *665 + default: *666 '401': *25 '403': *29 '404': *6 @@ -98116,15 +98252,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '401': *25 @@ -98150,7 +98286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 requestBody: required: false content: @@ -98180,9 +98316,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -98204,7 +98340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': *39 '304': *37 @@ -98233,13 +98369,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': description: Response content: application/json: - schema: &666 + schema: &667 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98280,7 +98416,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &667 + default: &668 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98312,7 +98448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *235 + - *236 - name: export_id in: path required: true @@ -98325,9 +98461,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -98348,7 +98484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *235 + - *236 responses: '200': description: Response @@ -98364,9 +98500,9 @@ paths: type: integer machines: type: array - items: *668 + items: *669 examples: - default: *669 + default: *670 '304': *37 '500': *113 '401': *25 @@ -98395,7 +98531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *235 + - *236 requestBody: required: true content: @@ -98445,13 +98581,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *332 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99225,15 +99361,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '400': *14 @@ -99265,15 +99401,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '500': *113 '401': *25 '403': *29 @@ -99303,9 +99439,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: &680 + default: &681 value: - id: 197 name: hello_docker @@ -99406,7 +99542,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Email description: Email type: object @@ -99471,9 +99607,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: &682 + default: &683 value: - email: octocat@github.com verified: true @@ -99548,7 +99684,7 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: default: value: @@ -99804,7 +99940,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: GPG Key description: A unique encryption key type: object @@ -99935,7 +100071,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &699 value: - id: 3 name: Octocat's GPG Key @@ -100020,9 +100156,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: &672 + default: &673 value: id: 3 name: Octocat's GPG Key @@ -100079,7 +100215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &673 + - &674 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100091,9 +100227,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '404': *6 '304': *37 '403': *29 @@ -100116,7 +100252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *673 + - *674 responses: '204': description: Response @@ -100394,12 +100530,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *224 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -100423,7 +100559,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -100434,7 +100570,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: default: value: @@ -100515,7 +100651,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -100540,7 +100676,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -100573,7 +100709,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: Key description: Key type: object @@ -100674,9 +100810,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: &675 + default: &676 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100709,15 +100845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '200': description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: *675 + default: *676 '404': *6 '304': *37 '403': *29 @@ -100740,7 +100876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '204': description: Response @@ -100773,7 +100909,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100841,7 +100977,7 @@ paths: - account - plan examples: - default: &677 + default: &678 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100903,9 +101039,9 @@ paths: application/json: schema: type: array - items: *676 + items: *677 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -100945,7 +101081,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -101059,7 +101195,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101146,7 +101282,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101218,7 +101354,7 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: default: value: @@ -101471,7 +101607,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101651,7 +101787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *240 + - *241 - name: exclude in: query required: false @@ -101664,7 +101800,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101858,7 +101994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *240 + - *241 responses: '302': description: Response @@ -101884,7 +102020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *240 + - *241 responses: '204': description: Response @@ -101913,8 +102049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *240 - - *678 + - *241 + - *679 responses: '204': description: Response @@ -101938,7 +102074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *240 + - *241 - *17 - *19 responses: @@ -101950,7 +102086,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -102029,7 +102165,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *19 - *17 responses: @@ -102039,10 +102175,10 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 - '400': *681 + default: *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102062,16 +102198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: &699 + default: &700 value: id: 40201 name: octo-name @@ -102184,8 +102320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '204': description: Response @@ -102215,8 +102351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 - name: token description: package token schema: @@ -102248,8 +102384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *248 - *249 + - *250 - *19 - *17 - name: state @@ -102269,7 +102405,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -102318,15 +102454,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -102362,9 +102498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102394,9 +102530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102433,9 +102569,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *682 + default: *683 headers: Link: *59 '304': *37 @@ -102548,7 +102684,7 @@ paths: type: array items: *71 examples: - default: &689 + default: &690 summary: Default response value: - id: 1296269 @@ -102852,9 +102988,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102892,9 +103028,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: *683 + default: *684 headers: Link: *59 '304': *37 @@ -102917,7 +103053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102940,7 +103076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102973,7 +103109,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: Social account description: Social media account type: object @@ -102988,7 +103124,7 @@ paths: - provider - url examples: - default: &685 + default: &686 value: - provider: twitter url: https://twitter.com/github @@ -103050,9 +103186,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '422': *15 '304': *37 '404': *6 @@ -103139,7 +103275,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103159,7 +103295,7 @@ paths: - title - created_at examples: - default: &717 + default: &718 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103223,9 +103359,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: &687 + default: &688 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103255,7 +103391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &688 + - &689 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103267,9 +103403,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '404': *6 '304': *37 '403': *29 @@ -103292,7 +103428,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *688 + - *689 responses: '204': description: Response @@ -103321,7 +103457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &719 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 @@ -103346,11 +103482,11 @@ paths: type: array items: *71 examples: - default-response: *689 + default-response: *690 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &720 title: Starred Repository description: Starred Repository type: object @@ -103506,8 +103642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if this repository is starred by you @@ -103535,8 +103671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103560,8 +103696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103596,7 +103732,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '304': *37 @@ -103633,7 +103769,7 @@ paths: application/json: schema: type: array - items: *324 + items: *325 examples: default: value: @@ -103719,10 +103855,10 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: &693 + default-response: &694 summary: Default response value: login: octocat @@ -103757,7 +103893,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &694 + response-with-git-hub-plan-information: &695 summary: Response with GitHub plan information value: login: octocat @@ -103814,14 +103950,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &691 + - &692 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -103855,9 +103991,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - draft_issue: *271 + draft_issue: *272 '304': *37 '403': *29 '401': *25 @@ -103880,7 +104016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *690 + - *691 - *17 responses: '200': @@ -103915,8 +104051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *691 - - *264 + - *692 + - *265 requestBody: required: true content: @@ -103987,17 +104123,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *692 + schema: *693 examples: table_view: summary: Response for creating a table view - value: *275 + value: *276 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -104039,11 +104175,11 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: *693 - response-with-git-hub-plan-information: *694 + default-response: *694 + response-with-git-hub-plan-information: *695 '404': *6 x-github: githubCloudOnly: false @@ -104093,8 +104229,8 @@ paths: required: - subject_digests examples: - default: *695 - withPredicateType: *696 + default: *696 + withPredicateType: *697 responses: '200': description: Response @@ -104147,7 +104283,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104352,7 +104488,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 '201': description: Response content: @@ -104391,9 +104527,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 x-github: @@ -104777,9 +104913,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *698 + default: *699 headers: Link: *59 x-github: @@ -104883,7 +105019,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105007,7 +105143,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *63 - *19 - *17 @@ -105018,12 +105154,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 - '400': *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105043,17 +105179,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105074,8 +105210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '204': @@ -105108,8 +105244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 - name: token description: package token @@ -105142,8 +105278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': @@ -105152,7 +105288,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -105210,16 +105346,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 - *63 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -105254,10 +105390,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105289,10 +105425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105333,9 +105469,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105357,16 +105493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *264 + - *265 - *63 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105388,7 +105524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *264 + - *265 - *63 - *17 - *45 @@ -105400,9 +105536,9 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: - default: *700 + default: *701 headers: Link: *59 '304': *37 @@ -105424,7 +105560,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true content: @@ -105462,7 +105598,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *702 required: - name - data_type @@ -105478,7 +105614,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *703 required: - name - data_type @@ -105500,20 +105636,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *704 + iteration_field: *705 responses: '201': description: Response content: application/json: - schema: *268 + schema: *269 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *706 + number_field: *707 + date_field: *708 + single_select_field: *709 + iteration_field: *710 '304': *37 '403': *29 '401': *25 @@ -105534,17 +105670,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *264 - - *710 + - *265 + - *711 - *63 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *711 + default: *712 headers: Link: *59 '304': *37 @@ -105567,7 +105703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - *45 - *46 @@ -105600,9 +105736,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105624,7 +105760,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -105694,22 +105830,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -105729,9 +105865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - - *274 + - *275 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105751,9 +105887,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105774,9 +105910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105846,13 +105982,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -105872,9 +106008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 responses: '204': description: Response @@ -105896,9 +106032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *264 + - *265 - *63 - - *712 + - *713 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105924,9 +106060,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -106147,7 +106283,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106173,7 +106309,7 @@ paths: - *116 - *118 - *117 - - *713 + - *714 - *119 responses: '200': @@ -106304,7 +106440,7 @@ paths: parameters: - *63 - *116 - - *714 + - *715 - *117 responses: '200': @@ -106403,9 +106539,9 @@ paths: - *116 - *118 - *117 - - *715 - - *119 - *716 + - *119 + - *717 responses: '200': description: Response when getting a billing usage summary @@ -106539,9 +106675,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 headers: Link: *59 x-github: @@ -106571,9 +106707,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *717 + default: *718 headers: Link: *59 x-github: @@ -106598,7 +106734,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *718 + - *719 - *53 - *17 - *19 @@ -106610,11 +106746,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *720 - type: array items: *71 examples: - default-response: *689 + default-response: *690 headers: Link: *59 x-github: @@ -106645,7 +106781,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106773,7 +106909,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &721 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106831,7 +106967,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &722 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106850,7 +106986,7 @@ x-webhooks: required: - id - node_id - organization: &722 + organization: &723 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106910,13 +107046,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &724 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: &755 + properties: &756 id: description: Unique identifier of the repository example: 42 @@ -107611,7 +107747,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &756 + required: &757 - archive_url - assignees_url - blobs_url @@ -107762,10 +107898,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -107841,11 +107977,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: &725 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -108068,11 +108204,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108255,11 +108391,11 @@ x-webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108343,7 +108479,7 @@ x-webhooks: type: string enum: - completed - check_run: &726 + check_run: &727 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108434,7 +108570,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *725 + deployment: *726 details_url: example: https://example.com type: string @@ -108519,10 +108655,10 @@ x-webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -108913,11 +109049,11 @@ x-webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -109311,11 +109447,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 requested_action: description: The action requested by the user. type: object @@ -109718,11 +109854,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -110692,10 +110828,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -111384,10 +111520,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112070,10 +112206,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112239,7 +112375,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112384,20 +112520,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &728 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: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *721 + installation: *722 + organization: *723 + ref: &729 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: *723 + repository: *724 sender: *4 required: - action @@ -112562,7 +112698,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112792,12 +112928,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -112892,7 +113028,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113063,12 +113199,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113234,7 +113370,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113400,12 +113536,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113504,7 +113640,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113679,16 +113815,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 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: *723 + repository: *724 sender: *4 required: - action @@ -113785,7 +113921,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113925,12 +114061,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -114096,7 +114232,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114241,10 +114377,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114499,10 +114635,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114582,18 +114718,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *723 + pusher_type: &730 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &731 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114603,7 +114739,7 @@ x-webhooks: enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -114685,10 +114821,10 @@ x-webhooks: type: string enum: - created - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114773,9 +114909,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114852,10 +114988,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114932,10 +115068,10 @@ x-webhooks: type: string enum: - updated - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -115012,19 +115148,19 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *721 + installation: *722 + repository: *724 + organization: *723 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *281 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *281 required: - action - repository @@ -115100,18 +115236,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *721 + installation: *722 + organization: *723 + pusher_type: *730 + ref: *731 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -115156,7 +115292,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115191,11 +115327,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115240,7 +115376,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115275,11 +115411,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115325,7 +115461,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115360,11 +115496,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115410,7 +115546,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115445,11 +115581,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115493,7 +115629,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115528,11 +115664,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115576,7 +115712,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115611,11 +115747,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115660,7 +115796,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115695,11 +115831,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115743,7 +115879,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115778,11 +115914,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115859,9 +115995,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *721 + installation: *722 + key: &732 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115897,8 +116033,8 @@ x-webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -115975,11 +116111,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + key: *732 + organization: *723 + repository: *724 sender: *4 required: - action @@ -116535,12 +116671,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: &737 + workflow: &738 title: Workflow type: object nullable: true @@ -117281,15 +117417,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *732 - required: *733 + properties: *733 + required: *734 nullable: true pull_requests: type: array - items: *576 - repository: *723 - organization: *722 - installation: *721 + items: *578 + repository: *724 + organization: *723 + installation: *722 sender: *4 responses: '200': @@ -117360,7 +117496,7 @@ x-webhooks: type: string enum: - approved - approver: &734 + approver: &735 type: object properties: avatar_url: @@ -117403,11 +117539,11 @@ x-webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: &736 type: array items: type: object @@ -117486,7 +117622,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &736 + workflow_job_run: &737 type: object properties: conclusion: @@ -118217,18 +118353,18 @@ x-webhooks: type: string enum: - rejected - approver: *734 + approver: *735 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: *736 sender: *4 since: type: string - workflow_job_run: *736 + workflow_job_run: *737 workflow_job_runs: type: array items: @@ -118932,13 +119068,13 @@ x-webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *721 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &742 + installation: *722 + organization: *723 + repository: *724 + requestor: &743 title: User type: object nullable: true @@ -120827,12 +120963,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Deployment Workflow Run type: object @@ -121512,7 +121648,7 @@ x-webhooks: type: string enum: - answered - answer: &740 + answer: &741 type: object properties: author_association: @@ -121669,11 +121805,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121800,11 +121936,11 @@ x-webhooks: - from required: - category - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121887,11 +122023,11 @@ x-webhooks: type: string enum: - closed - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121973,7 +122109,7 @@ x-webhooks: type: string enum: - created - comment: &739 + comment: &740 type: object properties: author_association: @@ -122130,11 +122266,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122217,12 +122353,12 @@ x-webhooks: type: string enum: - deleted - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122317,12 +122453,12 @@ x-webhooks: - from required: - body - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122406,11 +122542,11 @@ x-webhooks: type: string enum: - created - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122492,11 +122628,11 @@ x-webhooks: type: string enum: - deleted - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122596,11 +122732,11 @@ x-webhooks: type: string required: - from - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122682,10 +122818,10 @@ x-webhooks: type: string enum: - labeled - discussion: *738 - enterprise: *720 - installation: *721 - label: &741 + discussion: *739 + enterprise: *721 + installation: *722 + label: &742 title: Label type: object properties: @@ -122717,8 +122853,8 @@ x-webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122801,11 +122937,11 @@ x-webhooks: type: string enum: - locked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122887,11 +123023,11 @@ x-webhooks: type: string enum: - pinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122973,11 +123109,11 @@ x-webhooks: type: string enum: - reopened - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123062,16 +123198,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *738 - new_repository: *723 + new_discussion: *739 + new_repository: *724 required: - new_discussion - new_repository - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123154,10 +123290,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *738 - old_answer: *740 - organization: *722 - repository: *723 + discussion: *739 + old_answer: *741 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123239,12 +123375,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *738 - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123327,11 +123463,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123413,11 +123549,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123490,7 +123626,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *721 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124150,9 +124286,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - forkee @@ -124298,9 +124434,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pages: description: The pages that were updated. type: array @@ -124337,7 +124473,7 @@ x-webhooks: - action - sha - html_url - repository: *723 + repository: *724 sender: *4 required: - pages @@ -124413,10 +124549,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: &743 + organization: *723 + repositories: &744 description: An array of repository objects that the installation can access. type: array @@ -124442,8 +124578,8 @@ x-webhooks: - name - full_name - private - repository: *723 - requester: *742 + repository: *724 + requester: *743 sender: *4 required: - action @@ -124518,11 +124654,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124598,11 +124734,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124678,10 +124814,10 @@ x-webhooks: type: string enum: - added - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: &744 + organization: *723 + repositories_added: &745 description: An array of repository objects, which were added to the installation. type: array @@ -124727,15 +124863,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &745 + repository: *724 + repository_selection: &746 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *742 + requester: *743 sender: *4 required: - action @@ -124814,10 +124950,10 @@ x-webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: *744 + organization: *723 + repositories_added: *745 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124844,9 +124980,9 @@ x-webhooks: - name - full_name - private - repository: *723 - repository_selection: *745 - requester: *742 + repository: *724 + repository_selection: *746 + requester: *743 sender: *4 required: - action @@ -124925,11 +125061,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125107,10 +125243,10 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 target_type: type: string @@ -125189,11 +125325,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125367,8 +125503,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true user: title: User @@ -125453,8 +125589,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126243,8 +126379,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126260,7 +126396,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -126593,8 +126729,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -126674,7 +126810,7 @@ x-webhooks: type: string enum: - deleted - comment: &746 + comment: &747 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126831,8 +126967,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - url @@ -126847,8 +126983,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127633,8 +127769,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127650,7 +127786,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -127985,8 +128121,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -128066,7 +128202,7 @@ x-webhooks: type: string enum: - edited - changes: &775 + changes: &776 description: The changes to the comment. type: object properties: @@ -128078,9 +128214,9 @@ x-webhooks: type: string required: - from - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128868,8 +129004,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128885,7 +129021,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -129218,8 +129354,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -129300,9 +129436,9 @@ x-webhooks: type: string enum: - pinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130092,8 +130228,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130109,7 +130245,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -130444,8 +130580,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -130525,9 +130661,9 @@ x-webhooks: type: string enum: - unpinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131317,8 +131453,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131334,7 +131470,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -131669,8 +131805,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131759,9 +131895,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131850,9 +131986,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131940,9 +132076,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132031,9 +132167,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132113,10 +132249,10 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - issue: &749 + assignee: *743 + enterprise: *721 + installation: *722 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132908,11 +133044,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132928,7 +133064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -133029,8 +133165,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -133110,8 +133246,8 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133908,11 +134044,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133928,7 +134064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -134164,8 +134300,8 @@ x-webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -134244,8 +134380,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135033,11 +135169,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135053,7 +135189,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -135153,8 +135289,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -135233,8 +135369,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136044,11 +136180,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136064,7 +136200,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -136143,7 +136279,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &747 + milestone: &748 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136281,8 +136417,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -136381,8 +136517,8 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137174,11 +137310,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137191,7 +137327,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -137295,9 +137431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -137377,8 +137513,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138169,11 +138305,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138186,7 +138322,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -138290,9 +138426,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -138372,8 +138508,8 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139188,11 +139324,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139205,7 +139341,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -139286,8 +139422,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -139366,8 +139502,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140176,11 +140312,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140196,7 +140332,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -140274,9 +140410,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *747 - organization: *722 - repository: *723 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -141139,11 +141275,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141244,7 +141380,7 @@ x-webhooks: required: - login - id - type: *228 + type: *229 required: - id - number @@ -141724,8 +141860,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142509,11 +142645,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142529,7 +142665,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -142637,8 +142773,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -142718,9 +142854,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &748 + enterprise: *721 + installation: *722 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143506,11 +143642,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143526,7 +143662,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -143626,8 +143762,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -143706,8 +143842,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144520,11 +144656,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144618,9 +144754,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *228 - organization: *722 - repository: *723 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -145489,11 +145625,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145509,7 +145645,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -146088,11 +146224,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146172,12 +146308,12 @@ x-webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146258,7 +146394,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &779 title: User type: object nullable: true @@ -146328,11 +146464,11 @@ x-webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *749 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146411,12 +146547,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *749 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146496,8 +146632,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147310,11 +147446,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147330,7 +147466,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -147408,8 +147544,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147489,11 +147625,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147572,12 +147708,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147657,11 +147793,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147739,11 +147875,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147853,11 +147989,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147939,9 +148075,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &750 + enterprise: *721 + installation: *722 + marketplace_purchase: &751 title: Marketplace Purchase type: object required: @@ -148024,8 +148160,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &751 + organization: *723 + previous_marketplace_purchase: &752 title: Marketplace Purchase type: object properties: @@ -148105,7 +148241,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148185,10 +148321,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148271,7 +148407,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148353,10 +148489,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148438,7 +148574,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148519,8 +148655,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 marketplace_purchase: title: Marketplace Purchase type: object @@ -148602,9 +148738,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148684,12 +148820,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148791,11 +148927,11 @@ x-webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148895,11 +149031,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148978,11 +149114,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149060,11 +149196,11 @@ x-webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149140,7 +149276,7 @@ x-webhooks: required: - login - id - team: &752 + team: &753 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149363,11 +149499,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149444,7 +149580,7 @@ x-webhooks: required: - login - id - team: *752 + team: *753 required: - action - scope @@ -149526,8 +149662,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &754 + installation: *722 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149546,15 +149682,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *753 + head_commit: *754 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149640,10 +149776,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *754 - organization: *722 - repository: *723 + installation: *722 + merge_group: *755 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149716,7 +149852,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149825,16 +149961,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *722 + organization: *723 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -149915,11 +150051,11 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149998,9 +150134,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &757 + enterprise: *721 + installation: *722 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150137,8 +150273,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150217,11 +150353,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150331,11 +150467,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150415,11 +150551,11 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *757 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *758 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150498,11 +150634,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150581,11 +150717,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150664,9 +150800,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &758 + enterprise: *721 + installation: *722 + membership: &759 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150773,8 +150909,8 @@ x-webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150852,11 +150988,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150935,8 +151071,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151052,10 +151188,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 - user: *742 + user: *743 required: - action - invitation @@ -151133,11 +151269,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151224,11 +151360,11 @@ x-webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151305,9 +151441,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -151806,7 +151942,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &760 title: Ruby Gems metadata type: object properties: @@ -151901,7 +152037,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -151977,9 +152113,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -152332,7 +152468,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 source_url: type: string format: uri @@ -152402,7 +152538,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -152578,12 +152714,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *721 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - id @@ -152660,7 +152796,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &761 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152806,10 +152942,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152886,11 +153022,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152966,11 +153102,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153045,11 +153181,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *722 - enterprise: *720 + personal_access_token_request: *761 + organization: *723 + enterprise: *721 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153154,7 +153290,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *762 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153186,8 +153322,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 zen: description: Random string of GitHub zen. @@ -153432,10 +153568,10 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &762 + enterprise: *721 + installation: *722 + organization: *723 + project_card: &763 title: Project Card type: object properties: @@ -153554,7 +153690,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -153635,11 +153771,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -153719,9 +153855,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: title: Project Card type: object @@ -153849,8 +153985,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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -153944,11 +154080,11 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -154042,9 +154178,9 @@ x-webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: allOf: - title: Project Card @@ -154234,7 +154370,7 @@ x-webhooks: type: string required: - after_id - repository: *723 + repository: *724 sender: *4 required: - action @@ -154314,10 +154450,10 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &764 + enterprise: *721 + installation: *722 + organization: *723 + project: &765 title: Project type: object properties: @@ -154441,7 +154577,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154521,10 +154657,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: &764 title: Project Column type: object properties: @@ -154563,7 +154699,7 @@ x-webhooks: - name - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154642,18 +154778,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -154743,11 +154879,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154827,11 +154963,11 @@ x-webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154911,11 +155047,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -154995,18 +155131,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *764 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -155108,11 +155244,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155191,11 +155327,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155276,9 +155412,9 @@ x-webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155359,9 +155495,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155442,9 +155578,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155561,9 +155697,9 @@ x-webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155646,7 +155782,7 @@ x-webhooks: type: string enum: - archived - changes: &768 + changes: &769 type: object properties: archived_at: @@ -155660,9 +155796,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *721 - organization: *722 - projects_v2_item: &765 + installation: *722 + organization: *723 + projects_v2_item: &766 title: Projects v2 Item description: An item belonging to a project type: object @@ -155680,7 +155816,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *270 creator: *4 created_at: type: string @@ -155797,9 +155933,9 @@ x-webhooks: nullable: true to: type: string - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155881,9 +156017,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155964,9 +156100,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156072,7 +156208,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &766 + - &767 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156094,7 +156230,7 @@ x-webhooks: required: - id - name - - &767 + - &768 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156128,8 +156264,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *766 - *767 + - *768 required: - field_value - type: object @@ -156145,9 +156281,9 @@ x-webhooks: nullable: true required: - body - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156242,9 +156378,9 @@ x-webhooks: to: type: string nullable: true - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156327,10 +156463,10 @@ x-webhooks: type: string enum: - restored - changes: *768 - installation: *721 - organization: *722 - projects_v2_item: *765 + changes: *769 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156412,9 +156548,9 @@ x-webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -156495,14 +156631,14 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: &771 + installation: *722 + organization: *723 + projects_v2_status_update: &772 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *769 - required: *770 + properties: *770 + required: *771 sender: *4 required: - action @@ -156583,9 +156719,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156721,9 +156857,9 @@ x-webhooks: type: string format: date nullable: true - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156794,10 +156930,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - repository @@ -156874,13 +157010,13 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - number: &772 + assignee: *743 + enterprise: *721 + installation: *722 + number: &773 description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -159185,7 +159321,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -159267,11 +159403,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -161571,7 +161707,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -161653,11 +161789,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -163957,7 +164093,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -164039,13 +164175,13 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: &773 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: &774 allOf: - - *576 + - *578 - type: object properties: allow_auto_merge: @@ -164107,7 +164243,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *724 sender: *4 required: - action @@ -164188,12 +164324,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -164273,11 +164409,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: &774 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: &775 title: Pull Request type: object properties: @@ -166562,7 +166698,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -166641,11 +166777,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -168949,7 +169085,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *724 sender: *4 required: - action @@ -169073,12 +169209,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -169158,11 +169294,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -171451,7 +171587,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -171531,11 +171667,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -173839,7 +173975,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -173920,10 +174056,10 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -176225,7 +176361,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -176305,12 +176441,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: *774 - repository: *723 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: *775 + repository: *724 sender: *4 required: - action @@ -176389,12 +176525,12 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176475,12 +176611,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176560,12 +176696,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176931,9 +177067,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -179125,7 +179261,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -179205,7 +179341,7 @@ x-webhooks: type: string enum: - deleted - comment: &776 + comment: &777 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179490,9 +179626,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -181672,7 +181808,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -181752,11 +181888,11 @@ x-webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *720 - installation: *721 - organization: *722 + changes: *776 + comment: *777 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -183939,7 +184075,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -184020,9 +184156,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -186217,7 +186353,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 review: description: The review that was affected. type: object @@ -186464,9 +186600,9 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -188520,8 +188656,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &777 + repository: *724 + review: &778 description: The review that was affected. type: object properties: @@ -188754,12 +188890,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -191064,7 +191200,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -191148,12 +191284,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -193465,7 +193601,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193657,12 +193793,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -195969,7 +196105,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -196054,12 +196190,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -198357,7 +198493,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198538,9 +198674,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -200737,8 +200873,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *777 + repository: *724 + review: *778 sender: *4 required: - action @@ -200818,9 +200954,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -202912,7 +203048,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -203299,9 +203435,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -205379,7 +205515,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -205769,10 +205905,10 @@ x-webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -208065,7 +208201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -208147,11 +208283,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + assignee: *779 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -210456,7 +210592,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -210535,11 +210671,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -212834,7 +212970,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -212915,10 +213051,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -215205,7 +215341,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -215405,7 +215541,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *721 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -215497,8 +215633,8 @@ x-webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *722 + organization: *723 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216084,9 +216220,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216532,7 +216668,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -216586,7 +216722,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -216664,9 +216800,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216974,7 +217110,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -217023,7 +217159,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -217100,10 +217236,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &779 + enterprise: *721 + installation: *722 + organization: *723 + release: &780 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217421,7 +217557,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *724 sender: *4 required: - action @@ -217498,11 +217634,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217619,11 +217755,11 @@ x-webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217701,9 +217837,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218025,7 +218161,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218101,10 +218237,10 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &780 + enterprise: *721 + installation: *722 + organization: *723 + release: &781 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218423,7 +218559,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218499,11 +218635,11 @@ x-webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -218579,11 +218715,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *780 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *781 + repository: *724 sender: *4 required: - action @@ -218659,11 +218795,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218739,11 +218875,11 @@ x-webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218819,10 +218955,10 @@ x-webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218899,10 +219035,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218980,10 +219116,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219067,10 +219203,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219182,10 +219318,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219257,10 +219393,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 status: type: string @@ -219341,10 +219477,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219421,10 +219557,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219518,10 +219654,10 @@ x-webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219601,11 +219737,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219683,11 +219819,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219765,11 +219901,11 @@ x-webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 changes: type: object properties: @@ -219788,16 +219924,16 @@ x-webhooks: properties: added: type: array - items: *284 + items: *285 deleted: type: array - items: *284 + items: *285 updated: type: array items: type: object properties: - condition: *284 + condition: *285 changes: type: object properties: @@ -219830,16 +219966,16 @@ x-webhooks: properties: added: type: array - items: *596 + items: *598 deleted: type: array - items: *596 + items: *598 updated: type: array items: type: object properties: - rule: *596 + rule: *598 changes: type: object properties: @@ -220073,10 +220209,10 @@ x-webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220154,10 +220290,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220235,7 +220371,7 @@ x-webhooks: type: string enum: - create - alert: &781 + alert: &782 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -220357,10 +220493,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220566,10 +220702,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220647,11 +220783,11 @@ x-webhooks: type: string enum: - reopen - alert: *781 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *782 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220850,10 +220986,10 @@ x-webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220931,7 +221067,7 @@ x-webhooks: type: string enum: - assigned - alert: &782 + alert: &783 type: object properties: number: *171 @@ -221050,10 +221186,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221131,11 +221267,11 @@ x-webhooks: type: string enum: - created - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221216,11 +221352,11 @@ x-webhooks: type: string enum: - created - alert: *782 - installation: *721 - location: *783 - organization: *722 - repository: *723 + alert: *783 + installation: *722 + location: *784 + organization: *723 + repository: *724 sender: *4 required: - location @@ -221458,11 +221594,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221540,11 +221676,11 @@ x-webhooks: type: string enum: - reopened - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221622,11 +221758,11 @@ x-webhooks: type: string enum: - resolved - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221704,12 +221840,12 @@ x-webhooks: type: string enum: - unassigned - alert: *782 + alert: *783 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221787,11 +221923,11 @@ x-webhooks: type: string enum: - validated - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221917,10 +222053,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *724 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -221998,11 +222134,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: &785 description: The details of the security advisory, including summary, description, and severity. type: object @@ -222185,11 +222321,11 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: *785 sender: *4 required: - action @@ -222262,10 +222398,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -222449,11 +222585,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *283 - enterprise: *720 - installation: *721 - organization: *722 - repository: *330 + security_and_analysis: *284 + enterprise: *721 + installation: *722 + organization: *723 + repository: *332 sender: *4 required: - changes @@ -222531,12 +222667,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: &785 + sponsorship: &786 type: object properties: created_at: @@ -222837,12 +222973,12 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -222930,12 +223066,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223012,17 +223148,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &787 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: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -223096,7 +223232,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &788 type: object properties: tier: @@ -223140,13 +223276,13 @@ x-webhooks: - from required: - tier - effective_date: *786 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *787 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223223,13 +223359,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *788 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223303,10 +223439,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223389,10 +223525,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223812,15 +223948,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *720 + enterprise: *721 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *722 name: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 sha: description: The Commit SHA. @@ -223935,9 +224071,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224027,9 +224163,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224119,9 +224255,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224211,9 +224347,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224290,12 +224426,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - team: &788 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -224518,9 +224654,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -224978,7 +225114,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225054,9 +225190,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -225514,7 +225650,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225591,9 +225727,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226051,7 +226187,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -226195,9 +226331,9 @@ x-webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226655,7 +226791,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - changes @@ -226733,9 +226869,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -227193,7 +227329,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -227269,10 +227405,10 @@ x-webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -227345,16 +227481,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *721 inputs: type: object nullable: true additionalProperties: true - installation: *721 - organization: *722 + installation: *722 + organization: *723 ref: type: string - repository: *723 + repository: *724 sender: *4 workflow: type: string @@ -227436,10 +227572,10 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -227676,7 +227812,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *490 required: - action - repository @@ -227755,10 +227891,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -228018,7 +228154,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *490 required: - action - repository @@ -228097,10 +228233,10 @@ x-webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228235,7 +228371,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228314,10 +228450,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228453,7 +228589,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228533,12 +228669,12 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -229537,12 +229673,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -230526,12 +230662,12 @@ x-webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 0ea8674d42..23afb82d90 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -17481,6 +17481,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -17878,6 +17887,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18165,6 +18184,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18642,6 +18670,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19058,6 +19095,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19424,6 +19470,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19702,6 +19758,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -20534,6 +20599,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -21427,6 +21501,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -22913,6 +22995,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -23098,6 +23202,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -90381,20 +90486,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -90594,7 +90701,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -90610,19 +90717,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -90657,7 +90764,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -97349,6 +97456,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -97803,6 +97919,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98090,6 +98215,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98462,6 +98596,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99141,6 +99284,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99561,6 +99713,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99839,6 +100000,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -100537,6 +100707,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -106880,17 +107059,415 @@ } } }, - "/orgs/{org}/copilot/billing/selected_teams": { + "/orgs/{org}/copilot/billing/selected_teams": { + "post": { + "summary": "Add teams to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for members of the specified team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove teams from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "The names of teams from which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/billing/selected_users": { "post": { - "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Add users to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-teams", + "operationId": "copilot/add-copilot-seats-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -106909,9 +107486,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "description": "The usernames of the organization members to be granted access to GitHub Copilot.", "items": { "type": "string" }, @@ -106919,16 +107496,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -106944,7 +107521,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for members of the specified team(s).", + "description": "The total number of seats created for the specified user(s).", "properties": { "seats_created": { "type": "integer" @@ -107080,15 +107657,15 @@ } }, "delete": { - "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -107107,9 +107684,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "The names of teams from which to revoke access to GitHub Copilot.", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", "items": { "type": "string" }, @@ -107117,16 +107694,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -107142,7 +107719,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { "seats_cancelled": { "type": "integer" @@ -107267,7 +107844,7 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { @@ -107278,17 +107855,180 @@ } } }, - "/orgs/{org}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-users", + "operationId": "copilot/copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -107302,60 +108042,84 @@ } ], "requestBody": { + "description": "The content exclusion rules to set", + "required": true, "content": { "application/json": { "schema": { "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Example of content exclusion paths", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" + "octo-repo": [ + "/src/some-dir/kernel.rs" ] } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "message": { + "type": "string" } - }, - "required": [ - "seats_created" - ] + } }, "examples": { "default": { "value": { - "seats_created": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -107466,154 +108230,8 @@ } } }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-user-management" - } - }, - "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + "413": { + "description": "Payload Too Large", "content": { "application/json": { "schema": { @@ -107638,14 +108256,18 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -107653,26 +108275,23 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "string" + } } } } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -108416,6 +109035,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -109910,6 +110537,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -110095,6 +110744,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -110698,7 +111348,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -193262,6 +193912,75 @@ } } }, + "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": { @@ -197934,6 +198653,75 @@ } } }, + "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": { @@ -209070,6 +209858,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -209370,6 +210161,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -291760,6 +292554,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -316489,6 +317292,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -316656,7 +317486,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -316677,7 +317507,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -318840,6 +319670,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -319905,7 +320743,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -320023,7 +320883,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -321208,7 +322069,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -321351,10 +322234,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -322357,7 +323256,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -511920,6 +512820,75 @@ } } }, + "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": { @@ -516458,6 +517427,75 @@ } } }, + "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": { @@ -538708,482 +539746,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" - }, - "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": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "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" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "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" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -539205,67 +539790,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "integer" + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -539275,11 +539895,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -762573,7 +763190,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -765048,7 +765665,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -767523,7 +768140,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -769998,7 +770615,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -772473,7 +773090,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -774948,7 +775565,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -777423,7 +778040,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -779898,7 +780515,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 71edf358f9..3f74bb1170 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &316 + type: &317 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &642 + - &644 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &206 + - &207 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &208 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &209 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &210 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2884,7 +2884,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &281 + properties: &282 id: description: Unique identifier of the repository example: 42 @@ -3335,7 +3335,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &282 + required: &283 - archive_url - assignees_url - blobs_url @@ -7428,6 +7428,14 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended + metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability @@ -7712,6 +7720,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8092,6 +8108,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8806,7 +8830,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &478 + - &480 name: has in: query description: |- @@ -8821,6 +8845,15 @@ paths: enum: - patch - &196 + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string + - &197 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8830,7 +8863,7 @@ paths: enum: - development - runtime - - &197 + - &198 name: sort in: query description: |- @@ -8856,7 +8889,7 @@ paths: application/json: schema: type: array - items: &198 + items: &199 type: object description: A Dependabot alert. properties: @@ -8922,7 +8955,7 @@ paths: - unknown - direct - transitive - security_advisory: &479 + security_advisory: &481 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9184,14 +9217,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &480 + auto_dismissed_at: &482 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &481 + dismissal_request: &483 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9253,7 +9286,7 @@ paths: - repository additionalProperties: false examples: - default: &199 + default: &200 value: - number: 2 state: dismissed @@ -9357,6 +9390,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -9506,6 +9558,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -10569,7 +10622,7 @@ paths: properties: action: type: string - discussion: &738 + discussion: &739 title: Discussion description: A Discussion in a repository. type: object @@ -10936,7 +10989,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &532 + properties: &534 id: type: integer format: int64 @@ -11050,7 +11103,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &265 + properties: &266 url: type: string format: uri @@ -11120,7 +11173,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &266 + required: &267 - closed_issues - creator - description @@ -11199,7 +11252,7 @@ paths: timeline_url: type: string format: uri - type: &228 + type: &229 title: Issue Type description: The type of issue. type: object @@ -11313,7 +11366,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &654 + sub_issues_summary: &655 title: Sub-issues Summary type: object properties: @@ -11400,7 +11453,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &553 + properties: &555 pinned_at: type: string format: date-time @@ -11412,7 +11465,7 @@ paths: properties: *20 required: *21 nullable: true - required: &554 + required: &556 - pinned_at - pinned_by nullable: true @@ -11426,7 +11479,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &655 + issue_dependencies_summary: &656 title: Issue Dependencies Summary type: object properties: @@ -11445,7 +11498,7 @@ paths: - total_blocking issue_field_values: type: array - items: &656 + items: &657 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11506,7 +11559,7 @@ paths: - node_id - data_type - value - required: &533 + required: &535 - assignee - closed_at - comments @@ -11544,7 +11597,7 @@ paths: action: type: string issue: *77 - comment: &528 + comment: &530 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12208,7 +12261,7 @@ paths: type: string release: allOf: - - &587 + - &589 title: Release description: A release. type: object @@ -12279,7 +12332,7 @@ paths: author: *4 assets: type: array - items: &588 + items: &590 title: Release Asset description: Data related to a release. type: object @@ -12870,7 +12923,7 @@ paths: url: type: string format: uri - user: &662 + user: &663 title: Public User description: Public User type: object @@ -14742,7 +14795,7 @@ paths: - closed - all default: open - - &231 + - &232 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14793,7 +14846,7 @@ paths: type: array items: *77 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16178,14 +16231,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &327 + - &329 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &328 + - &330 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16247,7 +16300,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &333 description: Moved permanently content: application/json: @@ -16269,7 +16322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &563 + - &565 name: all description: If `true`, show notifications marked as read. in: query @@ -16277,7 +16330,7 @@ paths: schema: type: boolean default: false - - &564 + - &566 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16287,7 +16340,7 @@ paths: type: boolean default: false - *84 - - &565 + - &567 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: @@ -16323,7 +16376,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &201 + properties: &202 id: type: integer format: int64 @@ -16609,7 +16662,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &283 + security_and_analysis: &284 nullable: true type: object properties: @@ -16722,7 +16775,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &202 + required: &203 - archive_url - assignees_url - blobs_url @@ -16810,7 +16863,7 @@ paths: - url - subscription_url examples: - default: &566 + default: &568 value: - id: '1' repository: @@ -18320,7 +18373,7 @@ paths: required: false schema: type: string - - &713 + - &714 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18466,7 +18519,7 @@ paths: parameters: - *67 - *116 - - &714 + - &715 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18578,7 +18631,7 @@ paths: - *116 - *118 - *117 - - &715 + - &716 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18586,7 +18639,7 @@ paths: schema: type: string - *119 - - &716 + - &717 name: sku description: The SKU to query for usage. in: query @@ -19488,7 +19541,7 @@ paths: type: integer repository_cache_usages: type: array - items: &338 + items: &340 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20689,7 +20742,7 @@ paths: - all - local_only - selected - selected_actions_url: &344 + selected_actions_url: &346 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -20772,7 +20825,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &350 type: object properties: days: @@ -20814,7 +20867,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &351 type: object properties: days: @@ -20871,7 +20924,7 @@ paths: required: - approval_policy examples: - default: &350 + default: &352 value: approval_policy: first_time_contributors '404': *6 @@ -20930,7 +20983,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -20984,7 +21037,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &354 type: object required: - run_workflows_from_fork_pull_requests @@ -21619,7 +21672,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 type: object properties: default_workflow_permissions: &146 @@ -21670,7 +21723,7 @@ paths: required: false content: application/json: - schema: &354 + schema: &356 type: object properties: default_workflow_permissions: *146 @@ -22159,7 +22212,7 @@ paths: type: array items: *153 examples: - default: &665 + default: &666 value: total_count: 1 repositories: @@ -22801,7 +22854,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Runner Application description: Runner Application type: object @@ -22826,7 +22879,7 @@ paths: - download_url - filename examples: - default: &356 + default: &358 value: - os: osx architecture: x64 @@ -22912,7 +22965,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &357 + '201': &359 description: Response content: application/json: @@ -23023,7 +23076,7 @@ paths: - token - expires_at examples: - default: &358 + default: &360 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23062,7 +23115,7 @@ paths: application/json: schema: *157 examples: - default: &359 + default: &361 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23096,7 +23149,7 @@ paths: application/json: schema: *155 examples: - default: &360 + default: &362 value: id: 23 name: MBP @@ -23322,7 +23375,7 @@ paths: - *67 - *154 responses: - '200': &361 + '200': &363 description: Response content: application/json: @@ -23379,7 +23432,7 @@ paths: parameters: - *67 - *154 - - &362 + - &364 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23509,7 +23562,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23538,7 +23591,7 @@ paths: - key_id - key examples: - default: &375 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23951,7 +24004,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &343 + - &345 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24478,20 +24531,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -24641,7 +24696,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -24654,17 +24709,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -24704,7 +24759,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -25100,12 +25155,12 @@ paths: required: - subject_digests examples: - default: &695 + default: &696 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &696 + withPredicateType: &697 value: subject_digests: - sha256:abc123 @@ -25163,7 +25218,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &697 + default: &698 value: attestations_subject_digests: - sha256:abc: @@ -25513,7 +25568,7 @@ paths: initiator: type: string examples: - default: &388 + default: &390 value: attestations: - bundle: @@ -25864,7 +25919,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &243 + properties: &244 id: description: Unique identifier of the team type: integer @@ -25936,7 +25991,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &244 + required: &245 - id - node_id - url @@ -26442,7 +26497,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &413 + - &415 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -26452,7 +26507,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &416 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -26475,7 +26530,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &418 type: string description: State of a code scanning alert. enum: @@ -26498,7 +26553,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &419 type: string description: Severity of a code scanning alert. enum: @@ -26532,7 +26587,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &418 + instances_url: &420 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26555,7 +26610,7 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: &419 + dismissed_reason: &421 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26564,13 +26619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &422 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &423 type: object properties: id: @@ -26623,7 +26678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &424 type: object properties: name: *178 @@ -26633,26 +26688,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &423 + most_recent_instance: &425 type: object properties: - ref: &415 + ref: &417 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &435 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &434 + environment: &436 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &435 + category: &437 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26666,7 +26721,7 @@ paths: properties: text: type: string - location: &436 + location: &438 type: object description: Describe a region within a file for the alert. properties: @@ -26687,7 +26742,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &437 + items: &439 type: string description: A classification of the file. For example to identify it as generated. @@ -27282,6 +27337,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27640,6 +27702,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27964,7 +28033,7 @@ paths: type: integer codespaces: type: array - items: &233 + items: &234 type: object title: Codespace description: A codespace. @@ -27994,7 +28063,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &449 + properties: &451 name: type: string description: The name of the machine. @@ -28036,7 +28105,7 @@ paths: - ready - in_progress nullable: true - required: &450 + required: &452 - name - display_name - operating_system @@ -28241,7 +28310,7 @@ paths: - pulls_url - recent_folders examples: - default: &234 + default: &235 value: total_count: 3 codespaces: @@ -28904,7 +28973,7 @@ paths: - updated_at - visibility examples: - default: &451 + default: &453 value: total_count: 2 secrets: @@ -28942,7 +29011,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28971,7 +29040,7 @@ paths: - key_id - key examples: - default: &453 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29003,7 +29072,7 @@ paths: application/json: schema: *187 examples: - default: &455 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29470,7 +29539,7 @@ paths: currently being billed. seats: type: array - items: &236 + items: &237 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -29945,6 +30014,151 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - *67 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + octo-repo: + - "/src/some-dir/kernel.rs" + '500': *113 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - *67 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *113 + '401': *25 + '403': *29 + '404': *6 + '413': + description: Payload Too Large + content: + application/json: + schema: *3 + '422': *7 + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -30001,7 +30215,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30308,7 +30522,7 @@ paths: - date additionalProperties: true examples: - default: &322 + default: &323 value: - date: '2024-06-24' total_active_users: 24 @@ -30410,7 +30624,7 @@ paths: '500': *113 '403': *29 '404': *6 - '422': &323 + '422': &324 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30472,6 +30686,7 @@ paths: enum: - patch - deployment + - *196 - name: runtime_risk in: query description: |- @@ -30480,8 +30695,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *196 - *197 + - *198 - *53 - *45 - *46 @@ -30493,9 +30708,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *199 + default: *200 '304': *37 '400': *14 '403': *29 @@ -30539,7 +30754,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &201 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -30616,7 +30831,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &486 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30633,7 +30848,7 @@ paths: - key_id - key examples: - default: &485 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30663,7 +30878,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *201 examples: default: value: @@ -30728,9 +30943,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -30964,7 +31177,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Package description: A software package type: object @@ -31014,8 +31227,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *201 - required: *202 + properties: *202 + required: *203 nullable: true created_at: type: string @@ -31034,7 +31247,7 @@ paths: - created_at - updated_at examples: - default: &247 + default: &248 value: - id: 197 name: hello_docker @@ -31204,7 +31417,7 @@ paths: application/json: schema: type: array - items: &225 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -31251,7 +31464,7 @@ paths: - invitation_teams_url - node_id examples: - default: &226 + default: &227 value: - id: 1 login: monalisa @@ -31318,7 +31531,7 @@ paths: application/json: schema: type: array - items: &203 + items: &204 title: Org Hook description: Org Hook type: object @@ -31489,9 +31702,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &204 + default: &205 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -31539,7 +31752,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &205 + - &206 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -31552,9 +31765,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: *204 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -31582,7 +31795,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31627,7 +31840,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: default: value: @@ -31669,7 +31882,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31697,7 +31910,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 responses: '200': description: Response @@ -31728,7 +31941,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31779,9 +31992,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *205 - - *17 - *206 + - *17 + - *207 responses: '200': description: Response @@ -31789,9 +32002,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -31817,16 +32030,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -31852,7 +32065,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '202': *39 @@ -31882,7 +32095,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31905,7 +32118,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &215 + - &216 name: actor_type in: path description: The type of the actor @@ -31918,14 +32131,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &216 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &211 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31933,7 +32146,7 @@ paths: required: true schema: type: string - - &212 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -32027,12 +32240,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *211 - *212 + - *213 - *19 - *17 - *53 - - &221 + - &222 name: sort description: The property to sort the results by. in: query @@ -32110,14 +32323,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &213 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32133,7 +32346,7 @@ paths: type: integer format: int64 examples: - default: &214 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32154,23 +32367,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &217 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32189,18 +32402,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *211 - *212 - - *215 + - *213 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32218,9 +32431,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *211 - *212 - - &218 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32233,7 +32446,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32249,7 +32462,7 @@ paths: type: integer format: int64 examples: - default: &220 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32286,18 +32499,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *217 - - *211 - - *212 - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32315,19 +32528,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *215 - *216 - - *211 + - *217 - *212 - - *218 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32345,13 +32558,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *217 - - *211 + - *218 - *212 + - *213 - *19 - *17 - *53 - - *221 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32432,7 +32645,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &525 value: id: 1 account: @@ -32598,12 +32811,12 @@ paths: application/json: schema: anyOf: - - &223 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &222 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32628,7 +32841,7 @@ paths: properties: {} additionalProperties: false examples: - default: &224 + default: &225 value: limit: collaborators_only origin: organization @@ -32657,13 +32870,13 @@ paths: required: true content: application/json: - schema: &524 + schema: &526 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *222 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32687,9 +32900,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -32765,9 +32978,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 '404': *6 @@ -32844,7 +33057,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -32899,7 +33112,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &227 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32930,7 +33143,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *227 + - *228 - *17 - *19 responses: @@ -32942,7 +33155,7 @@ paths: type: array items: *190 examples: - default: &245 + default: &246 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32985,7 +33198,7 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: default: value: @@ -33070,9 +33283,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -33105,7 +33318,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &230 + - &231 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -33158,9 +33371,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '404': *6 '422': *7 x-github: @@ -33185,7 +33398,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *230 + - *231 responses: '204': description: Response @@ -33248,7 +33461,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: type description: Can be the name of an issue type. in: query @@ -33279,7 +33492,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -33438,9 +33651,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -33467,7 +33680,7 @@ paths: parameters: - *67 - *63 - - &235 + - &236 name: codespace_name in: path required: true @@ -33502,15 +33715,15 @@ paths: parameters: - *67 - *63 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &448 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33690,7 +33903,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *236 + schema: *237 examples: default: value: @@ -33766,7 +33979,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &238 title: Org Membership description: Org Membership type: object @@ -33833,7 +34046,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &238 + response-if-user-has-an-active-admin-membership-with-organization: &239 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33934,9 +34147,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - response-if-user-already-had-membership-with-organization: *238 + response-if-user-already-had-membership-with-organization: *239 '422': *15 '403': *29 x-github: @@ -34007,7 +34220,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Migration description: A migration. type: object @@ -34336,7 +34549,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34515,7 +34728,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &240 + - &241 name: migration_id description: The unique identifier of the migration. in: path @@ -34542,7 +34755,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34712,7 +34925,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '302': description: Response @@ -34734,7 +34947,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '204': description: Response @@ -34758,8 +34971,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *240 - - &678 + - *241 + - &679 name: repo_name description: repo_name parameter in: path @@ -34787,7 +35000,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *240 + - *241 - *17 - *19 responses: @@ -34799,7 +35012,7 @@ paths: type: array items: *153 examples: - default: &252 + default: &253 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34954,7 +35167,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &242 + items: &243 title: Organization Role description: Organization roles type: object @@ -35129,7 +35342,7 @@ paths: parameters: - *67 - *69 - - &241 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -35166,7 +35379,7 @@ paths: parameters: - *67 - *69 - - *241 + - *242 responses: '204': description: Response @@ -35219,7 +35432,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35251,7 +35464,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35280,13 +35493,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *242 + schema: *243 examples: default: value: @@ -35337,7 +35550,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35415,8 +35628,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true type: description: The ownership type of the team @@ -35448,7 +35661,7 @@ paths: - type - parent examples: - default: *245 + default: *246 headers: Link: *59 '404': @@ -35478,7 +35691,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35506,13 +35719,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &317 + items: &318 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 name: nullable: true type: string @@ -35800,7 +36013,7 @@ paths: - nuget - container - *67 - - &679 + - &680 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35836,12 +36049,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 '403': *29 '401': *25 - '400': &681 + '400': &682 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35863,7 +36076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &248 + - &249 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35881,7 +36094,7 @@ paths: - docker - nuget - container - - &249 + - &250 name: package_name description: The name of the package. in: path @@ -35894,7 +36107,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35946,8 +36159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 responses: '204': @@ -35980,8 +36193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - name: token description: package token @@ -36014,8 +36227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *248 - *249 + - *250 - *67 - *19 - *17 @@ -36036,7 +36249,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Package Version description: A version of a software package type: object @@ -36161,10 +36374,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - &251 + - &252 name: package_version_id description: Unique identifier of the package version. in: path @@ -36176,7 +36389,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -36212,10 +36425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36247,10 +36460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36280,7 +36493,7 @@ paths: - *67 - *17 - *19 - - &253 + - &254 name: sort description: The property by which to sort the results. in: query @@ -36291,7 +36504,7 @@ paths: - created_at default: created_at - *53 - - &254 + - &255 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -36302,7 +36515,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &255 + - &256 name: repository description: The name of the repository to use to filter the results. in: query @@ -36310,7 +36523,7 @@ paths: schema: type: string example: Hello-World - - &256 + - &257 name: permission description: The permission to use to filter the results. in: query @@ -36318,7 +36531,7 @@ paths: schema: type: string example: issues_read - - &257 + - &258 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36328,7 +36541,7 @@ paths: schema: type: string format: date-time - - &258 + - &259 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36338,7 +36551,7 @@ paths: schema: type: string format: date-time - - &259 + - &260 name: token_id description: The ID of the token in: query @@ -36651,7 +36864,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -36677,14 +36890,14 @@ paths: - *67 - *17 - *19 - - *253 - - *53 - *254 + - *53 - *255 - *256 - *257 - *258 - *259 + - *260 responses: '500': *113 '422': *15 @@ -36966,7 +37179,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -37008,7 +37221,7 @@ paths: type: integer configurations: type: array - items: &260 + items: &261 title: Organization private registry description: Private registry configuration for an organization type: object @@ -37298,7 +37511,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &261 + org-private-registry-with-selected-visibility: &262 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -37394,9 +37607,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -37563,7 +37776,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Projects v2 Project description: A projects v2 project type: object @@ -37633,7 +37846,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &769 + properties: &770 id: type: number description: The unique identifier of the status update. @@ -37681,7 +37894,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &770 + required: &771 - id - node_id - created_at @@ -37706,7 +37919,7 @@ paths: - deleted_at - deleted_by examples: - default: &263 + default: &264 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37809,7 +38022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &264 + - &265 name: project_number description: The project's number. in: path @@ -37822,9 +38035,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -37847,7 +38060,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -37881,7 +38094,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: Projects v2 Item description: An item belonging to a project type: object @@ -37895,7 +38108,7 @@ paths: content: oneOf: - *77 - - &465 + - &467 title: Pull Request Simple description: Pull Request Simple type: object @@ -38001,8 +38214,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -38098,7 +38311,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &268 title: Link description: Hypermedia Link type: object @@ -38107,13 +38320,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -38124,7 +38337,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: &573 + auto_merge: &575 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38226,7 +38439,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &270 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -38266,7 +38479,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &272 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38340,7 +38553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *264 + - *265 - *67 - *17 - *45 @@ -38352,7 +38565,7 @@ paths: application/json: schema: type: array - items: &268 + items: &269 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -38499,7 +38712,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &701 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38629,7 +38842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *264 + - *265 - *67 requestBody: required: true @@ -38676,7 +38889,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &702 type: object properties: name: @@ -38713,7 +38926,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &703 type: object description: The configuration for iteration fields. properties: @@ -38763,7 +38976,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &704 summary: Create a single select field value: name: Priority @@ -38790,7 +39003,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &705 summary: Create an iteration field value: name: Sprint @@ -38814,9 +39027,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *269 examples: - text_field: &705 + text_field: &706 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38825,7 +39038,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &707 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38834,7 +39047,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &708 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38843,7 +39056,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &709 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38877,7 +39090,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &710 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38922,8 +39135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *264 - - &710 + - *265 + - &711 name: field_id description: The unique identifier of the field. in: path @@ -38936,9 +39149,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: &711 + default: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38994,7 +39207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -39027,7 +39240,7 @@ paths: application/json: schema: type: array - items: &272 + items: &273 title: Projects v2 Item description: An item belonging to a project type: object @@ -39043,7 +39256,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *269 + content_type: *270 content: type: object additionalProperties: true @@ -39086,7 +39299,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &274 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -39784,7 +39997,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -39854,22 +40067,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -39889,9 +40102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - - &274 + - &275 name: item_id description: The unique identifier of the project item. in: path @@ -39917,9 +40130,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -39940,9 +40153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40012,13 +40225,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -40038,9 +40251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 responses: '204': description: Response @@ -40064,7 +40277,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true content: @@ -40135,7 +40348,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &692 + schema: &693 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -40233,7 +40446,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &276 value: id: 1 number: 1 @@ -40279,10 +40492,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -40310,9 +40523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *264 + - *265 - *67 - - &712 + - &713 name: view_number description: The number that identifies the project view. in: path @@ -40344,9 +40557,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -40379,7 +40592,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40447,7 +40660,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &278 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40507,7 +40720,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *277 minItems: 1 maxItems: 100 required: @@ -40537,9 +40750,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 '403': *29 '404': *6 x-github: @@ -40561,7 +40774,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &278 + - &279 name: custom_property_name description: The custom property name in: path @@ -40573,9 +40786,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: &279 + default: &280 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40610,7 +40823,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 requestBody: required: true content: @@ -40681,9 +40894,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *279 + default: *280 '403': *29 '404': *6 x-github: @@ -40707,7 +40920,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 responses: '204': *184 '403': *29 @@ -40768,7 +40981,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &280 + items: &281 title: Custom Property Value description: Custom property name and associated value type: object @@ -40855,7 +41068,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - repository_names - properties @@ -41047,7 +41260,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -41249,7 +41462,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &332 title: Full Repository description: Full Repository type: object @@ -41537,8 +41750,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *281 - required: *282 + properties: *282 + required: *283 nullable: true temp_clone_token: type: string @@ -41653,7 +41866,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &470 + properties: &472 url: type: string format: uri @@ -41669,12 +41882,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &471 + required: &473 - url - key - name - html_url - security_and_analysis: *283 + security_and_analysis: *284 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41758,7 +41971,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &334 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42279,7 +42492,7 @@ paths: - *67 - *17 - *19 - - &595 + - &597 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42297,7 +42510,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -42332,7 +42545,7 @@ paths: source: type: string description: The name of the source - enforcement: &286 + enforcement: &287 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -42345,7 +42558,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &287 + items: &288 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -42415,7 +42628,7 @@ paths: conditions: nullable: true anyOf: - - &284 + - &285 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42439,7 +42652,7 @@ paths: match. items: type: string - - &288 + - &289 title: Organization ruleset conditions type: object description: |- @@ -42453,7 +42666,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42487,7 +42700,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42509,7 +42722,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42522,7 +42735,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &285 + items: &286 title: Repository ruleset property targeting definition type: object @@ -42555,17 +42768,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *285 + items: *286 required: - repository_property rules: type: array - items: &596 + items: &598 title: Repository Rule type: object description: A repository rule. oneOf: - - &289 + - &290 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42577,7 +42790,7 @@ paths: type: string enum: - creation - - &290 + - &291 title: update description: Only allow users with bypass permission to update matching refs. @@ -42598,7 +42811,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &291 + - &292 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42610,7 +42823,7 @@ paths: type: string enum: - deletion - - &292 + - &293 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42622,7 +42835,7 @@ paths: type: string enum: - required_linear_history - - &594 + - &596 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42700,7 +42913,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &293 + - &294 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42724,7 +42937,7 @@ paths: type: string required: - required_deployment_environments - - &294 + - &295 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42736,7 +42949,7 @@ paths: type: string enum: - required_signatures - - &295 + - &296 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42842,7 +43055,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &296 + - &297 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42890,7 +43103,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &297 + - &298 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42902,7 +43115,7 @@ paths: type: string enum: - non_fast_forward - - &298 + - &299 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42939,7 +43152,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42976,7 +43189,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43013,7 +43226,7 @@ paths: required: - operator - pattern - - &301 + - &302 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43050,7 +43263,7 @@ paths: required: - operator - pattern - - &302 + - &303 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43087,7 +43300,7 @@ paths: required: - operator - pattern - - &303 + - &304 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43112,7 +43325,7 @@ paths: type: string required: - restricted_file_paths - - &304 + - &305 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43136,7 +43349,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &305 + - &306 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43159,7 +43372,7 @@ paths: type: string required: - restricted_file_extensions - - &306 + - &307 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43184,7 +43397,7 @@ paths: maximum: 100 required: - max_file_size - - &307 + - &308 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43234,7 +43447,7 @@ paths: - repository_id required: - workflows - - &308 + - &309 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -43295,7 +43508,7 @@ paths: - tool required: - code_scanning_tools - - &309 + - &310 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -43394,21 +43607,20 @@ paths: - push - repository default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: type: array description: An array of rules within the ruleset. - items: &312 + items: &313 title: Repository Rule type: object description: A repository rule. oneOf: - - *289 - *290 - *291 - *292 @@ -43429,6 +43641,7 @@ paths: - *307 - *308 - *309 + - *310 required: - name - enforcement @@ -43466,9 +43679,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: id: 21 name: super cool ruleset @@ -43508,6 +43721,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/orgs/{org}/rulesets/rule-suites": get: @@ -43523,7 +43737,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &597 + - &599 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 @@ -43538,7 +43752,7 @@ paths: in: query schema: type: string - - &598 + - &600 name: time_period description: |- The time period to filter by. @@ -43554,14 +43768,14 @@ paths: - week - month default: day - - &599 + - &601 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 - - &600 + - &602 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43581,7 +43795,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 title: Rule Suites description: Response type: array @@ -43636,7 +43850,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &602 + default: &604 value: - id: 21 actor_id: 12 @@ -43680,7 +43894,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &603 + - &605 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43696,7 +43910,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &606 title: Rule Suite description: Response type: object @@ -43795,7 +44009,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &605 + default: &607 value: id: 21 actor_id: 12 @@ -43868,9 +44082,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 '500': *113 put: @@ -43914,16 +44128,16 @@ paths: - tag - push - repository - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: description: An array of rules within the ruleset. type: array - items: *312 + items: *313 examples: default: value: @@ -43958,10 +44172,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 + '422': *15 '500': *113 delete: summary: Delete an organization repository ruleset @@ -44017,7 +44232,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Ruleset version type: object description: The historical version of a ruleset @@ -44041,7 +44256,7 @@ paths: type: string format: date-time examples: - default: &607 + default: &609 value: - version_id: 3 actor: @@ -44094,9 +44309,9 @@ paths: description: Response content: application/json: - schema: &608 + schema: &610 allOf: - - *313 + - *314 - type: object required: - state @@ -44166,7 +44381,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &609 + - &611 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44177,7 +44392,7 @@ paths: enum: - open - resolved - - &610 + - &612 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44187,7 +44402,7 @@ paths: required: false schema: type: string - - &611 + - &613 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44196,7 +44411,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44215,7 +44430,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &613 + - &615 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -44230,7 +44445,7 @@ paths: - *53 - *19 - *17 - - &614 + - &616 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44240,7 +44455,7 @@ paths: required: false schema: type: string - - &615 + - &617 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -44250,7 +44465,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -44259,7 +44474,7 @@ paths: required: false schema: type: string - - &617 + - &619 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -44268,7 +44483,7 @@ paths: schema: type: boolean default: false - - &618 + - &620 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -44277,7 +44492,7 @@ paths: schema: type: boolean default: false - - &619 + - &621 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -44312,14 +44527,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &620 + state: &622 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: &621 + resolution: &623 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -44426,8 +44641,8 @@ paths: pull request. ' - oneOf: &622 - - &624 + oneOf: &624 + - &626 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44479,7 +44694,7 @@ paths: - blob_url - commit_sha - commit_url - - &625 + - &627 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44534,7 +44749,7 @@ paths: - page_url - commit_sha - commit_url - - &626 + - &628 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44548,7 +44763,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &627 + - &629 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44562,7 +44777,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &628 + - &630 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44576,7 +44791,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &629 + - &631 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44590,7 +44805,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &630 + - &632 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44604,7 +44819,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &631 + - &633 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44618,7 +44833,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &632 + - &634 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44632,7 +44847,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &633 + - &635 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44646,7 +44861,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &634 + - &636 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44660,7 +44875,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &635 + - &637 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44674,7 +44889,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &636 + - &638 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44916,7 +45131,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &315 + pattern_config_version: &316 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44925,7 +45140,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &314 + items: &315 type: object properties: token_type: @@ -44991,7 +45206,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *314 + items: *315 examples: default: value: @@ -45048,7 +45263,7 @@ paths: schema: type: object properties: - pattern_config_version: *315 + pattern_config_version: *316 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45074,7 +45289,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *315 + custom_pattern_version: *316 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45172,7 +45387,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 description: A repository security advisory. type: object properties: @@ -45392,7 +45607,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 credits_detailed: type: array nullable: true @@ -45402,7 +45617,7 @@ paths: type: object properties: user: *4 - type: *316 + type: *317 state: type: string description: The state of the user's acceptance of the @@ -45463,7 +45678,7 @@ paths: - private_fork additionalProperties: false examples: - default: &641 + default: &643 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45850,7 +46065,7 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: default: value: @@ -46203,7 +46418,7 @@ paths: type: integer network_configurations: type: array - items: &318 + items: &319 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -46336,9 +46551,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: &319 + default: &320 value: id: 123456789ABCDEF name: My network configuration @@ -46367,7 +46582,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &320 + - &321 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -46379,9 +46594,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 headers: Link: *59 x-github: @@ -46403,7 +46618,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *320 + - *321 requestBody: required: true content: @@ -46443,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46465,7 +46680,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *320 + - *321 responses: '204': description: Response @@ -46605,13 +46820,13 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *322 + default: *323 '500': *113 '403': *29 '404': *6 - '422': *323 + '422': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46641,7 +46856,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '403': *29 @@ -46735,7 +46950,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &325 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46798,8 +47013,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true members_count: type: integer @@ -47062,7 +47277,7 @@ paths: - repos_count - organization examples: - default: &325 + default: &326 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47139,9 +47354,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -47225,16 +47440,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -47264,6 +47479,9 @@ paths: responses: '204': description: Response + '422': &327 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47295,11 +47513,12 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 + '422': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47381,7 +47600,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: Team Membership description: Team Membership type: object @@ -47408,7 +47627,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &658 + response-if-user-is-a-team-maintainer: &659 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47471,9 +47690,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: &659 + response-if-users-membership-with-team-is-now-pending: &660 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47549,7 +47768,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -47580,14 +47799,14 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &660 + schema: &661 title: Team Repository description: A team's access to a repository. type: object @@ -48158,8 +48377,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -48206,8 +48425,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48244,7 +48463,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: &661 + response-if-child-teams-exist: &662 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48398,7 +48617,7 @@ paths: resources: type: object properties: - core: &329 + core: &331 title: Rate Limit type: object properties: @@ -48415,21 +48634,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *331 + search: *331 + code_search: *331 + source_import: *331 + integration_manifest: *331 + code_scanning_upload: *331 + actions_runner_registration: *331 + scim: *331 + dependency_snapshots: *331 + dependency_sbom: *331 + code_scanning_autofix: *331 required: - core - search - rate: *329 + rate: *331 required: - rate - resources @@ -48534,14 +48753,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *330 + schema: *332 examples: default-response: summary: Default response @@ -49046,7 +49265,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49064,8 +49283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -49356,10 +49575,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 - '307': &333 + default: *334 + '307': &335 description: Temporary Redirect content: application/json: @@ -49388,8 +49607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -49411,7 +49630,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *335 '404': *6 '409': *52 x-github: @@ -49435,11 +49654,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &366 + - &368 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49462,7 +49681,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &336 title: Artifact description: An artifact type: object @@ -49540,7 +49759,7 @@ paths: - expires_at - updated_at examples: - default: &367 + default: &369 value: total_count: 2 artifacts: @@ -49601,9 +49820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *327 - - *328 - - &335 + - *329 + - *330 + - &337 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49615,7 +49834,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -49653,9 +49872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 responses: '204': description: Response @@ -49679,9 +49898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 - name: archive_format in: path required: true @@ -49695,7 +49914,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &527 + '410': &529 description: Gone content: application/json: @@ -49720,14 +49939,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &336 + schema: &338 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49760,13 +49979,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *336 + schema: *338 examples: selected_actions: *42 responses: @@ -49795,14 +50014,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &337 + schema: &339 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49835,13 +50054,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *337 + schema: *339 examples: selected_actions: *44 responses: @@ -49872,14 +50091,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -49905,11 +50124,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &339 + - &341 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49943,7 +50162,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 title: Repository actions caches description: Repository actions caches type: object @@ -49985,7 +50204,7 @@ paths: - total_count - actions_caches examples: - default: &341 + default: &343 value: total_count: 1 actions_caches: @@ -50017,23 +50236,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *327 - - *328 + - *329 + - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *339 + - *341 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50053,8 +50272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *327 - - *328 + - *329 + - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50085,9 +50304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *327 - - *328 - - &342 + - *329 + - *330 + - &344 name: job_id description: The unique identifier of the job. in: path @@ -50099,7 +50318,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Job description: Information of a job execution in a workflow run type: object @@ -50406,9 +50625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 responses: '302': description: Response @@ -50436,9 +50655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 requestBody: required: false content: @@ -50483,8 +50702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Status response @@ -50534,8 +50753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -50598,8 +50817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -50617,7 +50836,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &374 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50637,7 +50856,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &375 value: total_count: 2 secrets: @@ -50670,9 +50889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -50689,7 +50908,7 @@ paths: type: integer variables: type: array - items: &376 + items: &378 title: Actions Variable type: object properties: @@ -50719,7 +50938,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 variables: @@ -50752,8 +50971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50762,11 +50981,11 @@ paths: schema: type: object properties: - enabled: &345 + enabled: &347 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *344 + selected_actions_url: *346 sha_pinning_required: *139 required: - enabled @@ -50795,8 +51014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -50807,7 +51026,7 @@ paths: schema: type: object properties: - enabled: *345 + enabled: *347 allowed_actions: *138 sha_pinning_required: *139 required: @@ -50839,14 +51058,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: access_level: @@ -50863,7 +51082,7 @@ paths: required: - access_level examples: - default: &347 + default: &349 value: access_level: organization x-github: @@ -50887,15 +51106,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 responses: '204': description: Response @@ -50919,14 +51138,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50950,8 +51169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Empty response for successful settings update @@ -50961,7 +51180,7 @@ paths: required: true content: application/json: - schema: *349 + schema: *351 examples: default: summary: Set retention days @@ -50985,8 +51204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50994,7 +51213,7 @@ paths: application/json: schema: *140 examples: - default: *350 + default: *352 '404': *6 x-github: enabledForGitHubApps: true @@ -51013,8 +51232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51048,14 +51267,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *141 '403': *29 @@ -51077,13 +51296,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *141 responses: @@ -51109,8 +51328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51137,8 +51356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51170,14 +51389,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: default: *148 x-github: @@ -51200,8 +51419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Success response @@ -51212,7 +51431,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *356 examples: default: *148 x-github: @@ -51241,8 +51460,8 @@ paths: in: query schema: type: string - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -51286,8 +51505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51295,9 +51514,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51319,8 +51538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -51363,7 +51582,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *357 + '201': *359 '404': *6 '422': *7 '409': *52 @@ -51394,8 +51613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51403,7 +51622,7 @@ paths: application/json: schema: *157 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51431,8 +51650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51440,7 +51659,7 @@ paths: application/json: schema: *157 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51462,8 +51681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': @@ -51472,7 +51691,7 @@ paths: application/json: schema: *155 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51493,8 +51712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '204': @@ -51521,8 +51740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': *159 @@ -51547,8 +51766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51597,8 +51816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51648,11 +51867,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: - '200': *361 + '200': *363 '404': *6 x-github: githubCloudOnly: false @@ -51679,10 +51898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 - - *362 + - *364 responses: '200': *159 '404': *6 @@ -51710,9 +51929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *327 - - *328 - - &380 + - *329 + - *330 + - &382 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51720,7 +51939,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51728,7 +51947,7 @@ paths: required: false schema: type: string - - &382 + - &384 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51737,7 +51956,7 @@ paths: required: false schema: type: string - - &383 + - &385 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51764,7 +51983,7 @@ paths: - pending - *17 - *19 - - &384 + - &386 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51773,7 +51992,7 @@ paths: schema: type: string format: date-time - - &363 + - &365 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51782,13 +52001,13 @@ paths: schema: type: boolean default: false - - &385 + - &387 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &386 + - &388 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51811,7 +52030,7 @@ paths: type: integer workflow_runs: type: array - items: &364 + items: &366 title: Workflow Run description: An invocation of a workflow type: object @@ -51959,7 +52178,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &410 id: type: string description: SHA for the commit @@ -52010,7 +52229,7 @@ paths: - name - email nullable: true - required: &409 + required: &411 - id - tree_id - message @@ -52057,7 +52276,7 @@ paths: - workflow_url - pull_requests examples: - default: &387 + default: &389 value: total_count: 1 workflow_runs: @@ -52293,24 +52512,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *327 - - *328 - - &365 + - *329 + - *330 + - &367 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &368 + default: &370 value: id: 30433642 name: Build @@ -52551,9 +52770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -52576,9 +52795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -52697,9 +52916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '201': description: Response @@ -52732,12 +52951,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - *17 - *19 - - *366 + - *368 responses: '200': description: Response @@ -52753,9 +52972,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *336 examples: - default: *367 + default: *369 headers: Link: *59 x-github: @@ -52779,25 +52998,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - &369 + - *329 + - *330 + - *367 + - &371 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52820,10 +53039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 - *17 - *19 responses: @@ -52841,9 +53060,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: &371 + default: &373 value: total_count: 1 jobs: @@ -52956,10 +53175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 responses: '302': description: Response @@ -52987,9 +53206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53022,9 +53241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53091,9 +53310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53126,9 +53345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -53158,9 +53377,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *59 x-github: @@ -53185,9 +53404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '302': description: Response @@ -53214,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -53243,9 +53462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53305,7 +53524,7 @@ paths: items: type: object properties: - type: &493 + type: &495 type: string description: The type of reviewer. enum: @@ -53390,9 +53609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53439,12 +53658,12 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &732 + properties: &733 url: type: string format: uri @@ -53529,7 +53748,7 @@ paths: nullable: true properties: *72 required: *73 - required: &733 + required: &734 - id - node_id - sha @@ -53545,7 +53764,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &491 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53601,9 +53820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53647,9 +53866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53702,9 +53921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53841,8 +54060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -53860,9 +54079,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -53887,16 +54106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53918,17 +54137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: &506 + default: &508 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53954,8 +54173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -54013,8 +54232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -54040,9 +54259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -54059,9 +54278,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -54084,8 +54303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -54137,17 +54356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: &507 + default: &509 value: name: USERNAME value: octocat @@ -54173,8 +54392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 requestBody: required: true @@ -54217,8 +54436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '204': @@ -54244,8 +54463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54263,7 +54482,7 @@ paths: type: integer workflows: type: array - items: &378 + items: &380 title: Workflow description: A GitHub Actions workflow type: object @@ -54370,9 +54589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *327 - - *328 - - &379 + - *329 + - *330 + - &381 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54387,7 +54606,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -54420,9 +54639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54447,9 +54666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -54536,9 +54755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54565,19 +54784,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *327 - - *328 - - *379 - - *380 + - *329 + - *330 - *381 - *382 - *383 - - *17 - - *19 - *384 - - *363 - *385 + - *17 + - *19 - *386 + - *365 + - *387 + - *388 responses: '200': description: Response @@ -54593,9 +54812,9 @@ paths: type: integer workflow_runs: type: array - items: *364 + items: *366 examples: - default: *387 + default: *389 headers: Link: *59 x-github: @@ -54627,9 +54846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '200': description: Response @@ -54690,8 +54909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *327 - - *328 + - *329 + - *330 - *53 - *17 - *45 @@ -54855,8 +55074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54893,8 +55112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *327 - - *328 + - *329 + - *330 - name: assignee in: path required: true @@ -54930,8 +55149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55043,8 +55262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *45 - *46 @@ -55101,7 +55320,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55121,8 +55340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -55130,7 +55349,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Autolink reference description: An autolink reference. type: object @@ -55184,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55224,9 +55443,9 @@ paths: description: response content: application/json: - schema: *389 + schema: *391 examples: - default: &390 + default: &392 value: id: 1 key_prefix: TICKET- @@ -55257,9 +55476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *327 - - *328 - - &391 + - *329 + - *330 + - &393 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55271,9 +55490,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -55293,9 +55512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *327 - - *328 - - *391 + - *329 + - *330 + - *393 responses: '204': description: Response @@ -55319,8 +55538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if Dependabot is enabled @@ -55368,8 +55587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55390,8 +55609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55411,8 +55630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *327 - - *328 + - *329 + - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55450,7 +55669,7 @@ paths: - url protected: type: boolean - protection: &393 + protection: &395 title: Branch Protection description: Branch Protection type: object @@ -55492,7 +55711,7 @@ paths: required: - contexts - checks - enforce_admins: &396 + enforce_admins: &398 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55507,7 +55726,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &398 + required_pull_request_reviews: &400 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55583,7 +55802,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &395 + restrictions: &397 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55860,9 +56079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *327 - - *328 - - &394 + - *329 + - *330 + - &396 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55876,14 +56095,14 @@ paths: description: Response content: application/json: - schema: &404 + schema: &406 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &461 + commit: &463 title: Commit description: Commit type: object @@ -55917,7 +56136,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &392 + properties: &394 name: type: string example: '"Chris Wanstrath"' @@ -55933,7 +56152,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true message: type: string @@ -55954,7 +56173,7 @@ paths: required: - sha - url - verification: &513 + verification: &515 title: Verification type: object properties: @@ -56024,7 +56243,7 @@ paths: type: integer files: type: array - items: &474 + items: &476 title: Diff Entry description: Diff Entry type: object @@ -56108,7 +56327,7 @@ paths: - self protected: type: boolean - protection: *393 + protection: *395 protection_url: type: string format: uri @@ -56215,7 +56434,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -56237,15 +56456,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56439,9 +56658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -56696,7 +56915,7 @@ paths: url: type: string format: uri - required_status_checks: &401 + required_status_checks: &403 title: Status Check Policy description: Status Check Policy type: object @@ -56848,7 +57067,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *395 + restrictions: *397 required_conversation_resolution: type: object properties: @@ -56960,9 +57179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -56987,17 +57206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57019,17 +57238,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57048,9 +57267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57075,17 +57294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &399 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57181,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57281,9 +57500,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57304,9 +57523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57333,17 +57552,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57366,17 +57585,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -57396,9 +57615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57423,17 +57642,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57459,9 +57678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57513,9 +57732,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '404': *6 '422': *15 x-github: @@ -57537,9 +57756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57563,9 +57782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57599,9 +57818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57668,9 +57887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57734,9 +57953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -57802,15 +58021,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57901,9 +58120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57926,9 +58145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57938,7 +58157,7 @@ paths: type: array items: *5 examples: - default: &403 + default: &405 value: - id: 1 slug: octoapp @@ -57995,9 +58214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58031,7 +58250,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58052,9 +58271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58088,7 +58307,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58109,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58145,7 +58364,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58167,9 +58386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58179,7 +58398,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '404': *6 x-github: githubCloudOnly: false @@ -58199,9 +58418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58239,7 +58458,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58260,9 +58479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58300,7 +58519,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58321,9 +58540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -58360,7 +58579,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58382,9 +58601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58418,9 +58637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58478,9 +58697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58538,9 +58757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58600,9 +58819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58624,7 +58843,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: default: value: @@ -58740,8 +58959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59020,7 +59239,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &407 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59140,7 +59359,7 @@ paths: check. type: array items: *82 - deployment: &725 + deployment: &726 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59420,9 +59639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *327 - - *328 - - &406 + - *329 + - *330 + - &408 name: check_run_id description: The unique identifier of the check run. in: path @@ -59434,9 +59653,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &407 + default: &409 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59536,9 +59755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 requestBody: required: true content: @@ -59778,9 +59997,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59800,9 +60019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 - *17 - *19 responses: @@ -59897,9 +60116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 responses: '201': description: Response @@ -59943,8 +60162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59966,7 +60185,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &412 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60052,12 +60271,12 @@ paths: type: string format: date-time nullable: true - head_commit: &753 + head_commit: &754 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 latest_check_runs_count: type: integer check_runs_url: @@ -60085,7 +60304,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &413 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60376,9 +60595,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60397,8 +60616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -60707,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *327 - - *328 - - &412 + - *329 + - *330 + - &414 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60721,9 +60940,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60746,17 +60965,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *327 - - *328 - - *412 - - &467 + - *329 + - *330 + - *414 + - &469 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &468 + - &470 name: status description: Returns check runs with the specified `status`. in: query @@ -60795,9 +61014,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: &469 + default: &471 value: total_count: 1 check_runs: @@ -60899,9 +61118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *327 - - *328 - - *412 + - *329 + - *330 + - *414 responses: '201': description: Response @@ -60934,21 +61153,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - &431 + - &433 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *415 - - &432 + schema: *417 + - &434 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60973,13 +61192,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *418 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *419 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61003,7 +61222,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61014,11 +61233,11 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_reason: *421 + dismissed_comment: *422 + rule: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61144,7 +61363,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &426 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61171,9 +61390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *327 - - *328 - - &425 + - *329 + - *330 + - &427 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61187,7 +61406,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 type: object properties: number: *171 @@ -61195,7 +61414,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61206,8 +61425,8 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 rule: type: object properties: @@ -61261,8 +61480,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61361,7 +61580,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61381,9 +61600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -61398,8 +61617,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61427,7 +61646,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -61503,7 +61722,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &432 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61530,15 +61749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: Response content: application/json: - schema: &427 + schema: &429 type: object properties: status: @@ -61564,13 +61783,13 @@ paths: - description - started_at examples: - default: &428 + default: &430 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &431 description: Bad Request content: application/json: @@ -61581,7 +61800,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61606,29 +61825,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: OK content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '202': description: Accepted content: application/json: - schema: *427 + schema: *429 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *431 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61660,9 +61879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: false content: @@ -61707,8 +61926,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *431 + '403': *432 '404': *6 '422': description: Unprocessable Entity @@ -61732,13 +61951,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 - - *431 - - *432 + - *433 + - *434 responses: '200': description: Response @@ -61749,10 +61968,10 @@ paths: items: type: object properties: - ref: *415 - analysis_key: *433 - environment: *434 - category: *435 + ref: *417 + analysis_key: *435 + environment: *436 + category: *437 state: type: string description: State of a code scanning alert instance. @@ -61767,7 +61986,7 @@ paths: properties: text: type: string - location: *436 + location: *438 html_url: type: string classifications: @@ -61775,7 +61994,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *437 + items: *439 examples: default: value: @@ -61812,7 +62031,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61846,25 +62065,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - *432 + - *434 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *415 + schema: *417 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &438 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61885,23 +62104,23 @@ paths: application/json: schema: type: array - items: &439 + items: &441 type: object properties: - ref: *415 - commit_sha: &447 + ref: *417 + commit_sha: &449 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *433 + analysis_key: *435 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *435 + category: *437 error: type: string example: error reading field xyz @@ -61925,8 +62144,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *438 - tool: *422 + sarif_id: *440 + tool: *424 deletable: type: boolean warning: @@ -61987,7 +62206,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62023,8 +62242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62037,7 +62256,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: response: summary: application/json response @@ -62091,7 +62310,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *426 '404': *6 '422': description: Response if analysis could not be processed @@ -62178,8 +62397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62232,7 +62451,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62254,8 +62473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -62263,7 +62482,7 @@ paths: application/json: schema: type: array - items: &440 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -62374,7 +62593,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62403,8 +62622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62416,7 +62635,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: default: value: @@ -62448,9 +62667,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &476 + '302': &478 description: Found - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62472,8 +62691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62483,7 +62702,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62511,8 +62730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -62521,7 +62740,7 @@ paths: type: object additionalProperties: false properties: - language: &441 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -62601,7 +62820,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &445 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62611,7 +62830,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *441 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -62658,7 +62877,7 @@ paths: items: type: object properties: - repository: &442 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -62694,7 +62913,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &446 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62726,7 +62945,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &443 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -62740,7 +62959,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *442 + items: *444 required: - repository_count - repositories @@ -62762,8 +62981,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *443 - over_limit_repos: *443 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -62779,7 +62998,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &444 + value: &446 summary: Default response value: id: 1 @@ -62925,10 +63144,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *444 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *444 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -62956,8 +63175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62969,9 +63188,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *444 + default: *446 '404': *6 '503': *114 x-github: @@ -62994,7 +63213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *327 + - *329 - name: repo in: path description: The name of the controller repository. @@ -63029,7 +63248,7 @@ paths: type: object properties: repository: *58 - analysis_status: *446 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63154,8 +63373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63240,7 +63459,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -63261,8 +63480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63354,7 +63573,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *432 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63425,8 +63644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63434,7 +63653,7 @@ paths: schema: type: object properties: - commit_sha: *447 + commit_sha: *449 ref: type: string description: |- @@ -63492,7 +63711,7 @@ paths: schema: type: object properties: - id: *438 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -63506,7 +63725,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *430 + '403': *432 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63529,8 +63748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *327 - - *328 + - *329 + - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63576,7 +63795,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *424 + '403': *426 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -63601,8 +63820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63683,8 +63902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63804,8 +64023,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63821,7 +64040,7 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: default: value: @@ -64119,8 +64338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -64183,17 +64402,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '400': *14 '401': *25 '403': *29 @@ -64222,8 +64441,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -64287,8 +64506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64323,14 +64542,14 @@ paths: type: integer machines: type: array - items: &668 + items: &669 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 examples: - default: &669 + default: &670 value: total_count: 2 machines: @@ -64370,8 +64589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64455,8 +64674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -64522,8 +64741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -64541,7 +64760,7 @@ paths: type: integer secrets: type: array - items: &454 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64561,7 +64780,7 @@ paths: - created_at - updated_at examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -64584,16 +64803,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64613,17 +64832,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64643,8 +64862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -64697,8 +64916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -64727,8 +64946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *327 - - *328 + - *329 + - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64770,7 +64989,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &456 + properties: &458 login: type: string example: octocat @@ -64863,7 +65082,7 @@ paths: user_view_type: type: string example: public - required: &457 + required: &459 - avatar_url - events_url - followers_url @@ -64937,8 +65156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -64985,8 +65204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 requestBody: required: false @@ -65013,7 +65232,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &528 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65242,8 +65461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -65275,8 +65494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '200': @@ -65297,8 +65516,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *456 - required: *457 + properties: *458 + required: *459 nullable: true required: - permission @@ -65353,8 +65572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -65364,7 +65583,7 @@ paths: application/json: schema: type: array - items: &458 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -65422,7 +65641,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &465 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65481,17 +65700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: &464 + default: &466 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65548,8 +65767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65572,7 +65791,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -65623,8 +65842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -65646,8 +65865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65674,7 +65893,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65717,7 +65936,7 @@ paths: - content - created_at examples: - default: &530 + default: &532 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65762,8 +65981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65796,9 +66015,9 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65827,9 +66046,9 @@ paths: description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -65851,10 +66070,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - &531 + - &533 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65909,8 +66128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65966,9 +66185,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: &580 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66062,9 +66281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *327 - - *328 - - &462 + - *329 + - *330 + - &464 name: commit_sha description: The SHA of the commit. in: path @@ -66136,9 +66355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66148,9 +66367,9 @@ paths: application/json: schema: type: array - items: *458 + items: *460 examples: - default: *463 + default: *465 headers: Link: *59 x-github: @@ -66178,9 +66397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 requestBody: required: true content: @@ -66215,9 +66434,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *464 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66245,9 +66464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66257,9 +66476,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66796,11 +67015,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - - &466 + - &468 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66815,9 +67034,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: &559 + default: &561 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66930,11 +67149,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *327 - - *328 - - *466 - - *467 + - *329 + - *330 - *468 + - *469 + - *470 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66968,9 +67187,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: *469 + default: *471 headers: Link: *59 x-github: @@ -66995,9 +67214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67005,7 +67224,7 @@ paths: schema: type: integer example: 1 - - *467 + - *469 - *17 - *19 responses: @@ -67023,7 +67242,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *412 examples: default: value: @@ -67223,9 +67442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67423,9 +67642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67435,7 +67654,7 @@ paths: application/json: schema: type: array - items: &645 + items: &647 title: Status description: The status of a commit. type: object @@ -67516,7 +67735,7 @@ paths: site_admin: false headers: Link: *59 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67544,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -67574,20 +67793,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *470 - required: *471 + properties: *472 + required: *473 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &472 + properties: &474 url: type: string format: uri html_url: type: string format: uri - required: &473 + required: &475 - url - html_url nullable: true @@ -67601,26 +67820,26 @@ paths: contributing: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true readme: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true issue_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true pull_request_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true required: - code_of_conduct @@ -67747,8 +67966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - name: basehead @@ -67791,8 +68010,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *461 - merge_base_commit: *461 + base_commit: *463 + merge_base_commit: *463 status: type: string enum: @@ -67812,10 +68031,10 @@ paths: example: 6 commits: type: array - items: *461 + items: *463 files: type: array - items: *474 + items: *476 required: - url - html_url @@ -68101,8 +68320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68117,6 +68336,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -68245,7 +68481,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &475 + response-if-content-is-a-file-github-object: &477 summary: Response if content is a file value: type: file @@ -68263,7 +68499,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: summary: Response if content is a directory and the application/vnd.github.v3.object media type is requested value: @@ -68377,7 +68613,7 @@ paths: - size - type - url - - &585 + - &587 title: Content File description: Content File type: object @@ -68578,7 +68814,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *475 + response-if-content-is-a-file: *477 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68647,7 +68883,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *476 + '302': *478 '304': *37 x-github: githubCloudOnly: false @@ -68670,8 +68906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68764,7 +69000,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 title: File Commit description: File Commit type: object @@ -68916,7 +69152,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: example-for-creating-a-file: value: @@ -68970,7 +69206,7 @@ paths: schema: oneOf: - *3 - - &508 + - &510 description: Repository rule violation was detected type: object properties: @@ -68991,7 +69227,7 @@ paths: items: type: object properties: - placeholder_id: &637 + placeholder_id: &639 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69023,8 +69259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -69085,7 +69321,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -69140,8 +69376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *327 - - *328 + - *329 + - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69264,8 +69500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *191 - *192 - *193 @@ -69277,9 +69513,10 @@ paths: schema: type: string - *195 - - *478 + - *480 - *196 - *197 + - *198 - *53 - *45 - *46 @@ -69291,7 +69528,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 type: object description: A Dependabot alert. properties: @@ -69337,7 +69574,7 @@ paths: - unknown - direct - transitive - security_advisory: *479 + security_advisory: *481 security_vulnerability: *57 url: *174 html_url: *175 @@ -69368,8 +69605,8 @@ paths: nullable: true maxLength: 280 fixed_at: *176 - auto_dismissed_at: *480 - dismissal_request: *481 + auto_dismissed_at: *482 + dismissal_request: *483 assignees: type: array description: The users assigned to this alert. @@ -69496,6 +69733,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -69580,6 +69836,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *37 '400': *14 '403': *29 @@ -69604,9 +69861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *327 - - *328 - - &483 + - *329 + - *330 + - &485 name: alert_number in: path description: |- @@ -69621,7 +69878,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69712,6 +69969,25 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false '304': *37 '403': *29 '404': *6 @@ -69734,9 +70010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *327 - - *328 - - *483 + - *329 + - *330 + - *485 requestBody: required: true content: @@ -69767,8 +70043,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -69781,7 +70068,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69884,6 +70171,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *29 '404': *6 @@ -69910,8 +70198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -69929,7 +70217,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &488 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69982,16 +70270,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70011,15 +70299,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *486 + schema: *488 examples: default: value: @@ -70045,8 +70333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -70099,8 +70387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -70123,8 +70411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -70284,8 +70572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -70524,8 +70812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70600,7 +70888,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &489 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70633,7 +70921,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *489 resolved: type: object description: A collection of resolved package dependencies. @@ -70646,7 +70934,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *489 relationship: type: string description: A notation of whether a dependency is requested @@ -70775,8 +71063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -70816,9 +71104,9 @@ paths: application/json: schema: type: array - items: *488 + items: *490 examples: - default: *489 + default: *491 headers: Link: *59 x-github: @@ -70884,8 +71172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70966,7 +71254,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: simple-example: summary: Simple example @@ -71039,9 +71327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *327 - - *328 - - &490 + - *329 + - *330 + - &492 name: deployment_id description: deployment_id parameter in: path @@ -71053,7 +71341,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -71118,9 +71406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 responses: '204': description: Response @@ -71142,9 +71430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - *17 - *19 responses: @@ -71154,7 +71442,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Deployment Status description: The status of a deployment. type: object @@ -71315,9 +71603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 requestBody: required: true content: @@ -71392,9 +71680,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &492 + default: &494 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71450,9 +71738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - name: status_id in: path required: true @@ -71463,9 +71751,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -71490,8 +71778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71548,8 +71836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -71566,7 +71854,7 @@ paths: type: integer environments: type: array - items: &494 + items: &496 title: Environment description: Details of a deployment environment type: object @@ -71618,7 +71906,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &498 type: integer example: 30 description: The amount of time to delay a job after @@ -71655,7 +71943,7 @@ paths: items: type: object properties: - type: *493 + type: *495 reviewer: anyOf: - *4 @@ -71679,7 +71967,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &499 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71795,9 +72083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *327 - - *328 - - &495 + - *329 + - *330 + - &497 name: environment_name in: path required: true @@ -71810,9 +72098,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &498 + default: &500 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71896,9 +72184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: false content: @@ -71907,7 +72195,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *498 prevent_self_review: type: boolean example: false @@ -71924,13 +72212,13 @@ paths: items: type: object properties: - type: *493 + type: *495 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *499 additionalProperties: false examples: default: @@ -71950,9 +72238,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *498 + default: *500 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71976,9 +72264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '204': description: Default response @@ -72003,9 +72291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72023,7 +72311,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &501 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72080,9 +72368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72128,9 +72416,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - example-wildcard: &500 + example-wildcard: &502 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72172,10 +72460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - &501 + - *329 + - *330 + - *497 + - &503 name: branch_policy_id in: path required: true @@ -72187,9 +72475,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72208,10 +72496,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 requestBody: required: true content: @@ -72239,9 +72527,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72260,10 +72548,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 responses: '204': description: Response @@ -72288,9 +72576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 responses: '200': description: List of deployment protection rules @@ -72306,7 +72594,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &504 title: Deployment protection rule description: Deployment protection rule type: object @@ -72325,7 +72613,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &505 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72424,9 +72712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 requestBody: content: application/json: @@ -72447,9 +72735,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *504 examples: - default: &504 + default: &506 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72484,9 +72772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 - *19 - *17 responses: @@ -72505,7 +72793,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *505 examples: default: value: @@ -72540,10 +72828,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *327 - - *328 - - *495 - - &505 + - *329 + - *330 + - *497 + - &507 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72555,9 +72843,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72578,10 +72866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *328 - - *327 - - *505 + - *497 + - *330 + - *329 + - *507 responses: '204': description: Response @@ -72607,9 +72895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72627,9 +72915,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -72654,17 +72942,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,18 +72974,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72719,9 +73007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 requestBody: required: true @@ -72779,9 +73067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '204': @@ -72807,10 +73095,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *327 - - *328 - - *495 - - *343 + - *329 + - *330 + - *497 + - *345 - *19 responses: '200': @@ -72827,9 +73115,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -72852,9 +73140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72906,18 +73194,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72938,10 +73226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 requestBody: required: true content: @@ -72983,10 +73271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 responses: '204': description: Response @@ -73008,8 +73296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -73077,8 +73365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *327 - - *328 + - *329 + - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73237,8 +73525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -73270,9 +73558,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -73293,8 +73581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73354,7 +73642,7 @@ paths: schema: oneOf: - *122 - - *508 + - *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73379,8 +73667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *327 - - *328 + - *329 + - *330 - name: file_sha in: path required: true @@ -73479,8 +73767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73589,7 +73877,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &511 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73803,15 +74091,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -73867,9 +74155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *327 - - *328 - - &510 + - *329 + - *330 + - &512 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. @@ -73886,7 +74174,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Git Reference description: Git references within a repository type: object @@ -73961,17 +74249,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '200': description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74000,8 +74288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74030,9 +74318,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74058,9 +74346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 requestBody: required: true content: @@ -74089,9 +74377,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '422': *15 '409': *52 x-github: @@ -74109,9 +74397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '204': description: Response @@ -74166,8 +74454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74234,7 +74522,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Tag description: Metadata for a Git tag type: object @@ -74285,7 +74573,7 @@ paths: - sha - type - url - verification: *513 + verification: *515 required: - sha - url @@ -74295,7 +74583,7 @@ paths: - tag - message examples: - default: &515 + default: &517 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74368,8 +74656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_sha in: path required: true @@ -74380,9 +74668,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '404': *6 '409': *52 x-github: @@ -74406,8 +74694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74480,7 +74768,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74576,8 +74864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *327 - - *328 + - *329 + - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74600,7 +74888,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default-response: summary: Default response @@ -74659,8 +74947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -74670,7 +74958,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Webhook description: Webhooks for repositories. type: object @@ -74724,7 +75012,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &762 title: Hook Response type: object properties: @@ -74798,8 +75086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -74851,9 +75139,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: &518 + default: &520 value: type: Repository id: 12345678 @@ -74901,17 +75189,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -74931,9 +75219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: true content: @@ -74978,9 +75266,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '422': *15 '404': *6 x-github: @@ -75001,9 +75289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75027,9 +75315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response @@ -75056,9 +75344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: false content: @@ -75102,11 +75390,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 - - *17 + - *329 + - *330 - *206 + - *17 + - *207 responses: '200': description: Response @@ -75114,9 +75402,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -75135,18 +75423,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -75165,9 +75453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '202': *39 @@ -75190,9 +75478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75217,9 +75505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75242,8 +75530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if immutable releases are enabled @@ -75289,8 +75577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75310,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75368,14 +75656,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &519 + schema: &521 title: Import description: A repository import from an external source. type: object @@ -75474,7 +75762,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &524 value: vcs: subversion use_lfs: true @@ -75490,7 +75778,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': &520 + '503': &522 description: Unavailable due to service under maintenance. content: application/json: @@ -75519,8 +75807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -75568,7 +75856,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -75593,7 +75881,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75621,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -75671,7 +75959,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: example-1: summary: Example 1 @@ -75719,7 +76007,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': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75742,12 +76030,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75773,9 +76061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *327 - - *328 - - &690 + - *329 + - *330 + - &691 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75789,7 +76077,7 @@ paths: application/json: schema: type: array - items: &521 + items: &523 title: Porter Author description: Porter Author type: object @@ -75843,7 +76131,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': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75868,8 +76156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *327 - - *328 + - *329 + - *330 - name: author_id in: path required: true @@ -75899,7 +76187,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -75912,7 +76200,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75936,8 +76224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -75978,7 +76266,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76006,8 +76294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76034,11 +76322,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *522 + default: *524 '422': *15 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76061,8 +76349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76070,8 +76358,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *331 + default: *525 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -76091,8 +76379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76100,12 +76388,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &527 value: limit: collaborators_only origin: repository @@ -76130,13 +76418,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *524 + schema: *526 examples: default: summary: Example request body @@ -76148,9 +76436,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *525 + default: *527 '409': description: Response x-github: @@ -76172,8 +76460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -76196,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -76207,9 +76495,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: &683 + default: &684 value: - id: 1 repository: @@ -76340,9 +76628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 requestBody: required: false content: @@ -76371,7 +76659,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -76502,9 +76790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 responses: '204': description: Response @@ -76535,8 +76823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *327 - - *328 + - *329 + - *330 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -76584,7 +76872,7 @@ paths: required: false schema: type: string - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -76609,7 +76897,7 @@ paths: type: array items: *77 examples: - default: &538 + default: &540 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76758,7 +77046,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *331 + '301': *333 '422': *15 '404': *6 x-github: @@ -76787,8 +77075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76872,7 +77160,7 @@ paths: application/json: schema: *77 examples: - default: &535 + default: &537 value: id: 1 node_id: MDU6SXNzdWUx @@ -77029,7 +77317,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -77057,8 +77345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *101 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77079,9 +77367,9 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: &537 + default: &539 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77139,17 +77427,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &529 + default: &531 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77204,8 +77492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77228,9 +77516,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -77248,8 +77536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77278,15 +77566,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: default: value: @@ -77342,7 +77630,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -77359,8 +77647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77368,7 +77656,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '503': *114 x-github: githubCloudOnly: false @@ -77386,8 +77674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77414,9 +77702,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -77437,8 +77725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77471,16 +77759,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -77502,10 +77790,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -77525,8 +77813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -77536,7 +77824,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Issue Event description: Issue Event type: object @@ -77579,8 +77867,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *532 - required: *533 + properties: *534 + required: *535 nullable: true label: title: Issue Event Label @@ -77888,8 +78176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *327 - - *328 + - *329 + - *330 - name: event_id in: path required: true @@ -77900,7 +78188,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -78093,7 +78381,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *527 + '410': *529 '403': *29 x-github: githubCloudOnly: false @@ -78127,9 +78415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *327 - - *328 - - &536 + - *329 + - *330 + - &538 name: issue_number description: The number that identifies the issue. in: path @@ -78154,7 +78442,7 @@ paths: examples: default: summary: Issue - value: *535 + value: *537 pinned_comment: summary: Issue with pinned comment value: @@ -78353,9 +78641,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 '304': *37 x-github: githubCloudOnly: false @@ -78380,9 +78668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78488,13 +78776,13 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '422': *15 '503': *114 '403': *29 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78512,9 +78800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78542,7 +78830,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78558,9 +78846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: content: application/json: @@ -78587,7 +78875,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78609,9 +78897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: assignee in: path required: true @@ -78651,9 +78939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *84 - *17 - *19 @@ -78664,13 +78952,13 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: *537 + default: *539 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78699,9 +78987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78723,16 +79011,16 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78760,9 +79048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78774,12 +79062,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78807,9 +79095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78833,15 +79121,15 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *333 '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78872,9 +79160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78888,13 +79176,13 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -78920,9 +79208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78934,12 +79222,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78956,9 +79244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78972,7 +79260,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &540 + - &542 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79026,7 +79314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79162,7 +79450,7 @@ paths: - performed_via_github_app - assignee - assigner - - &542 + - &544 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79213,7 +79501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79264,7 +79552,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79318,7 +79606,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79365,7 +79653,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79412,7 +79700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79472,7 +79760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &550 title: Locked Issue Event description: Locked Issue Event type: object @@ -79520,7 +79808,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &551 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79586,7 +79874,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &552 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79652,7 +79940,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &553 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79718,7 +80006,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &554 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -79809,7 +80097,7 @@ paths: color: red headers: Link: *59 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79826,9 +80114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -79840,7 +80128,7 @@ paths: type: array items: *76 examples: - default: &539 + default: &541 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79858,9 +80146,9 @@ paths: default: false headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79876,9 +80164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -79923,10 +80211,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -79943,9 +80231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80007,10 +80295,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -80027,15 +80315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80054,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: name in: path required: true @@ -80080,9 +80368,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80102,9 +80390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80132,7 +80420,7 @@ paths: '204': description: Response '403': *29 - '410': *527 + '410': *529 '404': *6 '422': *15 x-github: @@ -80150,9 +80438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response @@ -80182,9 +80470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '200': description: Response @@ -80192,10 +80480,10 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80212,9 +80500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -80240,13 +80528,13 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80264,9 +80552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80298,16 +80586,16 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -80329,10 +80617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *327 - - *328 - - *536 - - *531 + - *329 + - *330 + - *538 + - *533 responses: '204': description: Response @@ -80361,9 +80649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80387,7 +80675,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80420,9 +80708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80434,11 +80722,11 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80466,9 +80754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80497,14 +80785,14 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -80524,9 +80812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80559,7 +80847,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '403': *29 '404': *6 '422': *7 @@ -80581,9 +80869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80598,8 +80886,6 @@ paths: description: Timeline Event type: object anyOf: - - *540 - - *541 - *542 - *543 - *544 @@ -80611,6 +80897,8 @@ paths: - *550 - *551 - *552 + - *553 + - *554 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80671,8 +80959,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - event @@ -80927,7 +81215,7 @@ paths: type: string comments: type: array - items: &574 + items: &576 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81142,7 +81430,7 @@ paths: type: string comments: type: array - items: *458 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81431,7 +81719,7 @@ paths: headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81448,8 +81736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81459,7 +81747,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81525,8 +81813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81562,9 +81850,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: &556 + default: &558 value: id: 1 key: ssh-rsa AAA... @@ -81598,9 +81886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *327 - - *328 - - &557 + - *329 + - *330 + - &559 name: key_id description: The unique identifier of the key. in: path @@ -81612,9 +81900,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -81632,9 +81920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *327 - - *328 - - *557 + - *329 + - *330 + - *559 responses: '204': description: Response @@ -81654,8 +81942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81667,7 +81955,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 '404': *6 @@ -81688,8 +81976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81727,7 +82015,7 @@ paths: application/json: schema: *76 examples: - default: &558 + default: &560 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81759,8 +82047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81773,7 +82061,7 @@ paths: application/json: schema: *76 examples: - default: *558 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -81790,8 +82078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81856,8 +82144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81883,8 +82171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81923,9 +82211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *327 - - *328 - - *431 + - *329 + - *330 + - *433 responses: '200': description: Response @@ -82070,8 +82358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82136,8 +82424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82171,9 +82459,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *461 + schema: *463 examples: - default: *559 + default: *561 '204': description: Response when already merged '404': @@ -82198,8 +82486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82240,12 +82528,12 @@ paths: application/json: schema: type: array - items: &560 + items: &562 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 examples: default: value: @@ -82301,8 +82589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82342,9 +82630,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82403,9 +82691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *327 - - *328 - - &562 + - *329 + - *330 + - &564 name: milestone_number description: The number that identifies the milestone. in: path @@ -82417,9 +82705,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -82436,9 +82724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 requestBody: required: false content: @@ -82476,9 +82764,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82494,9 +82782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 responses: '204': description: Response @@ -82517,9 +82805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 - *17 - *19 responses: @@ -82531,7 +82819,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 x-github: @@ -82550,12 +82838,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *327 - - *328 - - *563 - - *564 - - *84 + - *329 + - *330 - *565 + - *566 + - *84 + - *567 - *17 - *19 responses: @@ -82567,7 +82855,7 @@ paths: type: array items: *104 examples: - default: *566 + default: *568 headers: Link: *59 x-github: @@ -82591,8 +82879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -82650,14 +82938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &567 + schema: &569 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82782,7 +83070,7 @@ paths: - custom_404 - public examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82823,8 +83111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82878,9 +83166,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '422': *15 '409': *52 x-github: @@ -82903,8 +83191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83003,8 +83291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -83030,8 +83318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -83041,7 +83329,7 @@ paths: application/json: schema: type: array - items: &569 + items: &571 title: Page Build description: Page Build type: object @@ -83135,8 +83423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -83181,16 +83469,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83238,8 +83526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 - name: build_id in: path required: true @@ -83250,9 +83538,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83272,8 +83560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83378,9 +83666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *327 - - *328 - - &571 + - *329 + - *330 + - &573 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83438,9 +83726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '204': *184 '404': *6 @@ -83467,8 +83755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83726,8 +84014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Private vulnerability reporting status @@ -83764,8 +84052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83786,8 +84074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83809,8 +84097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83818,7 +84106,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -83849,8 +84137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83862,7 +84150,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - properties examples: @@ -83912,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83973,9 +84261,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *572 + default: *574 headers: Link: *59 '304': *37 @@ -84007,8 +84295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -84073,7 +84361,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84184,8 +84472,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -84230,7 +84518,7 @@ paths: nullable: true requested_teams: type: array - items: *317 + items: *318 nullable: true head: type: object @@ -84269,14 +84557,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *268 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -84287,7 +84575,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: *573 + auto_merge: *575 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84379,7 +84667,7 @@ paths: - merged_by - review_comments examples: - default: &577 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84906,8 +85194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: sort in: query required: false @@ -84936,9 +85224,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: &579 + default: &581 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85015,17 +85303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &575 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85100,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85124,9 +85412,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85142,8 +85430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -85165,8 +85453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85193,9 +85481,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -85216,8 +85504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85250,16 +85538,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -85281,10 +85569,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -85327,9 +85615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *327 - - *328 - - &578 + - *329 + - *330 + - &580 name: pull_number description: The number that identifies the pull request. in: path @@ -85342,9 +85630,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '304': *37 '404': *6 '406': @@ -85379,9 +85667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -85423,9 +85711,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '422': *15 '403': *29 x-github: @@ -85447,9 +85735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85509,17 +85797,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -85549,9 +85837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *101 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -85572,9 +85860,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: *579 + default: *581 headers: Link: *59 x-github: @@ -85607,9 +85895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85714,7 +86002,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: example-for-a-multi-line-comment: value: @@ -85802,9 +86090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *93 requestBody: required: true @@ -85827,7 +86115,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85913,9 +86201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85925,9 +86213,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *580 + default: *582 headers: Link: *59 x-github: @@ -85957,9 +86245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85969,7 +86257,7 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: default: value: @@ -86007,9 +86295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '204': description: Response if pull request has been merged @@ -86032,9 +86320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86145,9 +86433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '200': description: Response @@ -86222,9 +86510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86261,7 +86549,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -86797,9 +87085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -86833,7 +87121,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -87338,9 +87626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -87350,7 +87638,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -87501,9 +87789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -87589,9 +87877,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87654,10 +87942,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - &582 + - *329 + - *330 + - *580 + - &584 name: review_id description: The unique identifier of the review. in: path @@ -87669,9 +87957,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &584 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87730,10 +88018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -87756,7 +88044,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -87818,18 +88106,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 responses: '200': description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 '422': *7 '404': *6 x-github: @@ -87856,10 +88144,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 - *17 - *19 responses: @@ -87942,9 +88230,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *268 + html: *268 + pull_request: *268 required: - self - html @@ -88094,10 +88382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88125,7 +88413,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -88188,10 +88476,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88226,9 +88514,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *584 + default: *586 '404': *6 '422': *7 '403': *29 @@ -88250,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -88315,8 +88603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88329,9 +88617,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &586 + default: &588 value: type: file encoding: base64 @@ -88373,8 +88661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *327 - - *328 + - *329 + - *330 - name: dir description: The alternate path to look for a README file in: path @@ -88394,9 +88682,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *586 + default: *588 '404': *6 '422': *15 x-github: @@ -88418,8 +88706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -88429,7 +88717,7 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: default: value: @@ -88523,8 +88811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88600,9 +88888,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: &591 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88707,9 +88995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *327 - - *328 - - &589 + - *329 + - *330 + - &591 name: asset_id description: The unique identifier of the asset. in: path @@ -88721,9 +89009,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: &590 + default: &592 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 @@ -88758,7 +89046,7 @@ paths: type: User site_admin: false '404': *6 - '302': *476 + '302': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88774,9 +89062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 requestBody: required: false content: @@ -88804,9 +89092,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88822,9 +89110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 responses: '204': description: Response @@ -88848,8 +89136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88934,16 +89222,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88960,8 +89248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *327 - - *328 + - *329 + - *330 - name: tag description: tag parameter in: path @@ -88974,9 +89262,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -88998,9 +89286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *327 - - *328 - - &592 + - *329 + - *330 + - &594 name: release_id description: The unique identifier of the release. in: path @@ -89014,9 +89302,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '401': description: Unauthorized x-github: @@ -89034,9 +89322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: false content: @@ -89100,9 +89388,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': description: Not Found if the discussion category name is invalid content: @@ -89123,9 +89411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 responses: '204': description: Response @@ -89145,9 +89433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - *17 - *19 responses: @@ -89157,7 +89445,7 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: default: value: @@ -89238,9 +89526,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: name in: query required: true @@ -89266,7 +89554,7 @@ paths: description: Response for successful upload content: application/json: - schema: *588 + schema: *590 examples: response-for-successful-upload: value: @@ -89321,9 +89609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -89347,9 +89635,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -89370,9 +89658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: true content: @@ -89402,16 +89690,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -89433,10 +89721,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *327 - - *328 - - *592 - - *531 + - *329 + - *330 + - *594 + - *533 responses: '204': description: Response @@ -89460,9 +89748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 - *17 - *19 responses: @@ -89478,8 +89766,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *289 - - &593 + - *290 + - &595 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89498,69 +89786,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *290 - - *593 - allOf: - *291 - - *593 + - *595 - allOf: - *292 - - *593 - - allOf: - - *594 - - *593 + - *595 - allOf: - *293 - - *593 + - *595 + - allOf: + - *596 + - *595 - allOf: - *294 - - *593 + - *595 - allOf: - *295 - - *593 + - *595 - allOf: - *296 - - *593 + - *595 - allOf: - *297 - - *593 + - *595 - allOf: - *298 - - *593 + - *595 - allOf: - *299 - - *593 + - *595 - allOf: - *300 - - *593 + - *595 - allOf: - *301 - - *593 + - *595 - allOf: - *302 - - *593 + - *595 - allOf: - *303 - - *593 + - *595 - allOf: - *304 - - *593 + - *595 - allOf: - *305 - - *593 + - *595 - allOf: - *306 - - *593 + - *595 - allOf: - *307 - - *593 + - *595 - allOf: - *308 - - *593 + - *595 - allOf: - *309 - - *593 + - *595 + - allOf: + - *310 + - *595 examples: default: value: @@ -89599,8 +89887,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: includes_parents @@ -89611,7 +89899,7 @@ paths: schema: type: boolean default: true - - *595 + - *597 responses: '200': description: Response @@ -89619,7 +89907,7 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: default: value: @@ -89666,8 +89954,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 requestBody: description: Request body required: true @@ -89687,16 +89975,16 @@ paths: - tag - push default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: type: array description: An array of rules within the ruleset. - items: *596 + items: *598 required: - name - enforcement @@ -89727,9 +90015,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &606 + default: &608 value: id: 42 name: super cool ruleset @@ -89762,6 +90050,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -89776,12 +90065,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *327 - - *328 - - *597 - - *598 + - *329 + - *330 - *599 - *600 + - *601 + - *602 - *17 - *19 responses: @@ -89789,9 +90078,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *602 + default: *604 '404': *6 '500': *113 x-github: @@ -89812,17 +90101,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *327 - - *328 - - *603 + - *329 + - *330 + - *605 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *605 + default: *607 '404': *6 '500': *113 x-github: @@ -89850,8 +90139,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89871,9 +90160,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 '500': *113 put: @@ -89891,8 +90180,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89917,16 +90206,16 @@ paths: - branch - tag - push - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: description: An array of rules within the ruleset. type: array - items: *596 + items: *598 examples: default: value: @@ -89954,10 +90243,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 + '422': *15 '500': *113 delete: summary: Delete a repository ruleset @@ -89974,8 +90264,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89998,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: ruleset_id @@ -90015,9 +90305,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *607 + default: *609 '404': *6 '500': *113 x-github: @@ -90036,8 +90326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90055,7 +90345,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -90110,22 +90400,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *609 - - *610 + - *329 + - *330 - *611 - *612 - *613 + - *614 + - *615 - *53 - *19 - *17 - - *614 - - *615 - *616 - *617 - *618 - *619 + - *620 + - *621 responses: '200': description: Response @@ -90133,7 +90423,7 @@ paths: application/json: schema: type: array - items: &623 + items: &625 type: object properties: number: *171 @@ -90152,8 +90442,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolved_at: type: string format: date-time @@ -90249,7 +90539,7 @@ paths: pull request. ' - oneOf: *622 + oneOf: *624 nullable: true has_more_locations: type: boolean @@ -90398,16 +90688,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 - - *619 + - *329 + - *330 + - *427 + - *621 responses: '200': description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90461,9 +90751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -90471,8 +90761,8 @@ paths: schema: type: object properties: - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -90506,7 +90796,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90601,9 +90891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 responses: @@ -90614,7 +90904,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &784 type: object properties: type: @@ -90640,8 +90930,6 @@ paths: example: commit details: oneOf: - - *624 - - *625 - *626 - *627 - *628 @@ -90653,6 +90941,8 @@ paths: - *634 - *635 - *636 + - *637 + - *638 examples: default: value: @@ -90738,8 +91028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90747,14 +91037,14 @@ paths: schema: type: object properties: - reason: &638 + reason: &640 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *637 + placeholder_id: *639 required: - reason - placeholder_id @@ -90771,7 +91061,7 @@ paths: schema: type: object properties: - reason: *638 + reason: *640 expire_at: type: string format: date-time @@ -90817,8 +91107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90833,7 +91123,7 @@ paths: properties: incremental_scans: type: array - items: &639 + items: &641 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90859,15 +91149,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *639 + items: *641 backfill_scans: type: array - items: *639 + items: *641 custom_pattern_backfill_scans: type: array items: allOf: - - *639 + - *641 - type: object properties: pattern_name: @@ -90937,8 +91227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *327 - - *328 + - *329 + - *330 - *53 - name: sort description: The property to sort the results by. @@ -90982,9 +91272,9 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: - default: *641 + default: *643 '400': *14 '404': *6 x-github: @@ -91007,8 +91297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91081,7 +91371,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91168,9 +91458,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: &643 + default: &645 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91403,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91508,7 +91798,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: default: value: @@ -91655,17 +91945,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '403': *29 '404': *6 x-github: @@ -91689,9 +91979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 requestBody: required: true content: @@ -91764,7 +92054,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91850,10 +92140,10 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 - add_credit: *643 + default: *645 + add_credit: *645 '403': *29 '404': *6 '422': @@ -91891,9 +92181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': *39 '400': *14 @@ -91920,17 +92210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -91956,8 +92246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92056,8 +92346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92066,7 +92356,7 @@ paths: application/json: schema: type: array - items: &644 + items: &646 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92099,8 +92389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92176,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92273,8 +92563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92428,8 +92718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92439,7 +92729,7 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: default: value: @@ -92472,8 +92762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *327 - - *328 + - *329 + - *330 - name: sha in: path required: true @@ -92527,7 +92817,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: default: value: @@ -92581,8 +92871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92614,14 +92904,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &646 + schema: &648 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92689,8 +92979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -92716,7 +93006,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -92743,8 +93033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -92764,8 +93054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92827,160 +93117,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - *327 - - *328 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &647 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: *647 - examples: - default: - value: - enabled: true - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -92998,8 +93134,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93035,8 +93171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -93048,7 +93184,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '404': *6 @@ -93068,8 +93204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 responses: @@ -93077,7 +93213,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &649 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93089,7 +93225,7 @@ paths: required: - names examples: - default: &649 + default: &650 value: names: - octocat @@ -93112,8 +93248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93144,9 +93280,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 '404': *6 '422': *7 x-github: @@ -93167,9 +93303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *327 - - *328 - - &650 + - *329 + - *330 + - &651 name: per description: The time frame to display results for. in: query @@ -93198,7 +93334,7 @@ paths: example: 128 clones: type: array - items: &651 + items: &652 title: Traffic type: object properties: @@ -93285,8 +93421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93376,8 +93512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93437,9 +93573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *327 - - *328 - - *650 + - *329 + - *330 + - *651 responses: '200': description: Response @@ -93458,7 +93594,7 @@ paths: example: 3782 views: type: array - items: *651 + items: *652 required: - uniques - count @@ -93535,8 +93671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93810,8 +93946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93834,8 +93970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93857,8 +93993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93884,8 +94020,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93977,9 +94113,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94227,7 +94363,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &652 + text_matches: &653 title: Search Result Text Matches type: array items: @@ -94389,7 +94525,7 @@ paths: enum: - author-date - committer-date - - &653 + - &654 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 @@ -94460,7 +94596,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true comment_count: type: integer @@ -94480,7 +94616,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *515 required: - author - committer @@ -94499,7 +94635,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true parents: type: array @@ -94517,7 +94653,7 @@ paths: type: number node_id: type: string - text_matches: *652 + text_matches: *653 required: - sha - node_id @@ -94709,7 +94845,7 @@ paths: - interactions - created - updated - - *653 + - *654 - *17 - *19 - name: advanced_search @@ -94806,11 +94942,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: type: string state_reason: @@ -94827,8 +94963,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true comments: type: integer @@ -94842,7 +94978,7 @@ paths: type: string format: date-time nullable: true - text_matches: *652 + text_matches: *653 pull_request: type: object properties: @@ -94886,7 +95022,7 @@ paths: timeline_url: type: string format: uri - type: *228 + type: *229 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -95075,7 +95211,7 @@ paths: enum: - created - updated - - *653 + - *654 - *17 - *19 responses: @@ -95119,7 +95255,7 @@ paths: nullable: true score: type: number - text_matches: *652 + text_matches: *653 required: - id - node_id @@ -95204,7 +95340,7 @@ paths: - forks - help-wanted-issues - updated - - *653 + - *654 - *17 - *19 responses: @@ -95452,7 +95588,7 @@ paths: - admin - pull - push - text_matches: *652 + text_matches: *653 temp_clone_token: type: string allow_merge_commit: @@ -95752,7 +95888,7 @@ paths: type: string format: uri nullable: true - text_matches: *652 + text_matches: *653 related: type: array nullable: true @@ -95943,7 +96079,7 @@ paths: - followers - repositories - joined - - *653 + - *654 - *17 - *19 responses: @@ -96047,7 +96183,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *652 + text_matches: *653 blog: type: string nullable: true @@ -96126,7 +96262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &657 + - &658 name: team_id description: The unique identifier of the team. in: path @@ -96138,9 +96274,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -96167,7 +96303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *657 + - *658 requestBody: required: true content: @@ -96230,16 +96366,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -96267,7 +96403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *657 + - *658 responses: '204': description: Response @@ -96296,7 +96432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96306,9 +96442,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 x-github: @@ -96334,7 +96470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *657 + - *658 - name: role description: Filters members returned by their role in the team. in: query @@ -96385,7 +96521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96422,7 +96558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96462,7 +96598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96499,16 +96635,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '200': description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-user-is-a-team-maintainer: *658 + response-if-user-is-a-team-maintainer: *659 '404': *6 x-github: githubCloudOnly: false @@ -96541,7 +96677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 requestBody: required: false @@ -96567,9 +96703,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: *659 + response-if-users-membership-with-team-is-now-pending: *660 '403': description: Forbidden if team synchronization is set up '422': @@ -96603,7 +96739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96631,7 +96767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96643,7 +96779,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -96673,15 +96809,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *660 + schema: *661 examples: alternative-response-with-extra-repository-information: value: @@ -96832,9 +96968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 requestBody: required: false content: @@ -96884,9 +97020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '204': description: Response @@ -96911,7 +97047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96923,7 +97059,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: *661 + response-if-child-teams-exist: *662 headers: Link: *59 '404': *6 @@ -96956,7 +97092,7 @@ paths: application/json: schema: oneOf: - - &663 + - &664 title: Private User description: Private User type: object @@ -97159,7 +97295,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *662 + - *663 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97312,7 +97448,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -97515,9 +97651,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -97656,17 +97792,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -97710,7 +97846,7 @@ paths: type: integer secrets: type: array - items: &664 + items: &665 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97750,7 +97886,7 @@ paths: - visibility - selected_repositories_url examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -97826,7 +97962,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -97972,7 +98108,7 @@ paths: type: array items: *153 examples: - default: *665 + default: *666 '401': *25 '403': *29 '404': *6 @@ -98116,15 +98252,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '401': *25 @@ -98150,7 +98286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 requestBody: required: false content: @@ -98180,9 +98316,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -98204,7 +98340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': *39 '304': *37 @@ -98233,13 +98369,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': description: Response content: application/json: - schema: &666 + schema: &667 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98280,7 +98416,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &667 + default: &668 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98312,7 +98448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *235 + - *236 - name: export_id in: path required: true @@ -98325,9 +98461,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -98348,7 +98484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *235 + - *236 responses: '200': description: Response @@ -98364,9 +98500,9 @@ paths: type: integer machines: type: array - items: *668 + items: *669 examples: - default: *669 + default: *670 '304': *37 '500': *113 '401': *25 @@ -98395,7 +98531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *235 + - *236 requestBody: required: true content: @@ -98445,13 +98581,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *332 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99225,15 +99361,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '400': *14 @@ -99265,15 +99401,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '500': *113 '401': *25 '403': *29 @@ -99303,9 +99439,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: &680 + default: &681 value: - id: 197 name: hello_docker @@ -99406,7 +99542,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Email description: Email type: object @@ -99471,9 +99607,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: &682 + default: &683 value: - email: octocat@github.com verified: true @@ -99548,7 +99684,7 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: default: value: @@ -99804,7 +99940,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: GPG Key description: A unique encryption key type: object @@ -99935,7 +100071,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &699 value: - id: 3 name: Octocat's GPG Key @@ -100020,9 +100156,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: &672 + default: &673 value: id: 3 name: Octocat's GPG Key @@ -100079,7 +100215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &673 + - &674 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100091,9 +100227,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '404': *6 '304': *37 '403': *29 @@ -100116,7 +100252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *673 + - *674 responses: '204': description: Response @@ -100394,12 +100530,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *224 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -100423,7 +100559,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -100434,7 +100570,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: default: value: @@ -100515,7 +100651,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -100540,7 +100676,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -100573,7 +100709,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: Key description: Key type: object @@ -100674,9 +100810,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: &675 + default: &676 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100709,15 +100845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '200': description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: *675 + default: *676 '404': *6 '304': *37 '403': *29 @@ -100740,7 +100876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '204': description: Response @@ -100773,7 +100909,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100841,7 +100977,7 @@ paths: - account - plan examples: - default: &677 + default: &678 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100903,9 +101039,9 @@ paths: application/json: schema: type: array - items: *676 + items: *677 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -100945,7 +101081,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -101059,7 +101195,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101146,7 +101282,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101218,7 +101354,7 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: default: value: @@ -101471,7 +101607,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101651,7 +101787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *240 + - *241 - name: exclude in: query required: false @@ -101664,7 +101800,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101858,7 +101994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *240 + - *241 responses: '302': description: Response @@ -101884,7 +102020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *240 + - *241 responses: '204': description: Response @@ -101913,8 +102049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *240 - - *678 + - *241 + - *679 responses: '204': description: Response @@ -101938,7 +102074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *240 + - *241 - *17 - *19 responses: @@ -101950,7 +102086,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -102029,7 +102165,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *19 - *17 responses: @@ -102039,10 +102175,10 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 - '400': *681 + default: *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102062,16 +102198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: &699 + default: &700 value: id: 40201 name: octo-name @@ -102184,8 +102320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '204': description: Response @@ -102215,8 +102351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 - name: token description: package token schema: @@ -102248,8 +102384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *248 - *249 + - *250 - *19 - *17 - name: state @@ -102269,7 +102405,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -102318,15 +102454,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -102362,9 +102498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102394,9 +102530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102433,9 +102569,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *682 + default: *683 headers: Link: *59 '304': *37 @@ -102548,7 +102684,7 @@ paths: type: array items: *71 examples: - default: &689 + default: &690 summary: Default response value: - id: 1296269 @@ -102852,9 +102988,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102892,9 +103028,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: *683 + default: *684 headers: Link: *59 '304': *37 @@ -102917,7 +103053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102940,7 +103076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102973,7 +103109,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: Social account description: Social media account type: object @@ -102988,7 +103124,7 @@ paths: - provider - url examples: - default: &685 + default: &686 value: - provider: twitter url: https://twitter.com/github @@ -103050,9 +103186,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '422': *15 '304': *37 '404': *6 @@ -103139,7 +103275,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103159,7 +103295,7 @@ paths: - title - created_at examples: - default: &717 + default: &718 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103223,9 +103359,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: &687 + default: &688 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103255,7 +103391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &688 + - &689 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103267,9 +103403,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '404': *6 '304': *37 '403': *29 @@ -103292,7 +103428,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *688 + - *689 responses: '204': description: Response @@ -103321,7 +103457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &719 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 @@ -103346,11 +103482,11 @@ paths: type: array items: *71 examples: - default-response: *689 + default-response: *690 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &720 title: Starred Repository description: Starred Repository type: object @@ -103506,8 +103642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if this repository is starred by you @@ -103535,8 +103671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103560,8 +103696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103596,7 +103732,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '304': *37 @@ -103633,7 +103769,7 @@ paths: application/json: schema: type: array - items: *324 + items: *325 examples: default: value: @@ -103719,10 +103855,10 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: &693 + default-response: &694 summary: Default response value: login: octocat @@ -103757,7 +103893,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &694 + response-with-git-hub-plan-information: &695 summary: Response with GitHub plan information value: login: octocat @@ -103814,14 +103950,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &691 + - &692 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -103855,9 +103991,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - draft_issue: *271 + draft_issue: *272 '304': *37 '403': *29 '401': *25 @@ -103880,7 +104016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *690 + - *691 - *17 responses: '200': @@ -103915,8 +104051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *691 - - *264 + - *692 + - *265 requestBody: required: true content: @@ -103987,17 +104123,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *692 + schema: *693 examples: table_view: summary: Response for creating a table view - value: *275 + value: *276 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -104039,11 +104175,11 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: *693 - response-with-git-hub-plan-information: *694 + default-response: *694 + response-with-git-hub-plan-information: *695 '404': *6 x-github: githubCloudOnly: false @@ -104093,8 +104229,8 @@ paths: required: - subject_digests examples: - default: *695 - withPredicateType: *696 + default: *696 + withPredicateType: *697 responses: '200': description: Response @@ -104147,7 +104283,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104352,7 +104488,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 '201': description: Response content: @@ -104391,9 +104527,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 x-github: @@ -104777,9 +104913,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *698 + default: *699 headers: Link: *59 x-github: @@ -104883,7 +105019,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105007,7 +105143,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *63 - *19 - *17 @@ -105018,12 +105154,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 - '400': *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105043,17 +105179,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105074,8 +105210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '204': @@ -105108,8 +105244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 - name: token description: package token @@ -105142,8 +105278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': @@ -105152,7 +105288,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -105210,16 +105346,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 - *63 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -105254,10 +105390,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105289,10 +105425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105333,9 +105469,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105357,16 +105493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *264 + - *265 - *63 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105388,7 +105524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *264 + - *265 - *63 - *17 - *45 @@ -105400,9 +105536,9 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: - default: *700 + default: *701 headers: Link: *59 '304': *37 @@ -105424,7 +105560,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true content: @@ -105462,7 +105598,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *702 required: - name - data_type @@ -105478,7 +105614,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *703 required: - name - data_type @@ -105500,20 +105636,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *704 + iteration_field: *705 responses: '201': description: Response content: application/json: - schema: *268 + schema: *269 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *706 + number_field: *707 + date_field: *708 + single_select_field: *709 + iteration_field: *710 '304': *37 '403': *29 '401': *25 @@ -105534,17 +105670,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *264 - - *710 + - *265 + - *711 - *63 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *711 + default: *712 headers: Link: *59 '304': *37 @@ -105567,7 +105703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - *45 - *46 @@ -105600,9 +105736,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105624,7 +105760,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -105694,22 +105830,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -105729,9 +105865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - - *274 + - *275 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105751,9 +105887,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105774,9 +105910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105846,13 +105982,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -105872,9 +106008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 responses: '204': description: Response @@ -105896,9 +106032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *264 + - *265 - *63 - - *712 + - *713 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105924,9 +106060,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -106147,7 +106283,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106173,7 +106309,7 @@ paths: - *116 - *118 - *117 - - *713 + - *714 - *119 responses: '200': @@ -106304,7 +106440,7 @@ paths: parameters: - *63 - *116 - - *714 + - *715 - *117 responses: '200': @@ -106403,9 +106539,9 @@ paths: - *116 - *118 - *117 - - *715 - - *119 - *716 + - *119 + - *717 responses: '200': description: Response when getting a billing usage summary @@ -106539,9 +106675,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 headers: Link: *59 x-github: @@ -106571,9 +106707,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *717 + default: *718 headers: Link: *59 x-github: @@ -106598,7 +106734,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *718 + - *719 - *53 - *17 - *19 @@ -106610,11 +106746,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *720 - type: array items: *71 examples: - default-response: *689 + default-response: *690 headers: Link: *59 x-github: @@ -106645,7 +106781,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106773,7 +106909,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &721 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106831,7 +106967,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &722 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106850,7 +106986,7 @@ x-webhooks: required: - id - node_id - organization: &722 + organization: &723 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106910,13 +107046,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &724 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: &755 + properties: &756 id: description: Unique identifier of the repository example: 42 @@ -107611,7 +107747,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &756 + required: &757 - archive_url - assignees_url - blobs_url @@ -107762,10 +107898,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -107841,11 +107977,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: &725 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -108068,11 +108204,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108255,11 +108391,11 @@ x-webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108343,7 +108479,7 @@ x-webhooks: type: string enum: - completed - check_run: &726 + check_run: &727 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108434,7 +108570,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *725 + deployment: *726 details_url: example: https://example.com type: string @@ -108519,10 +108655,10 @@ x-webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -108913,11 +109049,11 @@ x-webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -109311,11 +109447,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 requested_action: description: The action requested by the user. type: object @@ -109718,11 +109854,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -110692,10 +110828,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -111384,10 +111520,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112070,10 +112206,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112239,7 +112375,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112384,20 +112520,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &728 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: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *721 + installation: *722 + organization: *723 + ref: &729 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: *723 + repository: *724 sender: *4 required: - action @@ -112562,7 +112698,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112792,12 +112928,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -112892,7 +113028,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113063,12 +113199,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113234,7 +113370,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113400,12 +113536,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113504,7 +113640,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113679,16 +113815,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 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: *723 + repository: *724 sender: *4 required: - action @@ -113785,7 +113921,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113925,12 +114061,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -114096,7 +114232,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114241,10 +114377,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114499,10 +114635,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114582,18 +114718,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *723 + pusher_type: &730 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &731 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114603,7 +114739,7 @@ x-webhooks: enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -114685,10 +114821,10 @@ x-webhooks: type: string enum: - created - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114773,9 +114909,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114852,10 +114988,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114932,10 +115068,10 @@ x-webhooks: type: string enum: - updated - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -115012,19 +115148,19 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *721 + installation: *722 + repository: *724 + organization: *723 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *281 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *281 required: - action - repository @@ -115100,18 +115236,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *721 + installation: *722 + organization: *723 + pusher_type: *730 + ref: *731 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -115156,7 +115292,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115191,11 +115327,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115240,7 +115376,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115275,11 +115411,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115325,7 +115461,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115360,11 +115496,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115410,7 +115546,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115445,11 +115581,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115493,7 +115629,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115528,11 +115664,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115576,7 +115712,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115611,11 +115747,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115660,7 +115796,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115695,11 +115831,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115743,7 +115879,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115778,11 +115914,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115859,9 +115995,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *721 + installation: *722 + key: &732 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115897,8 +116033,8 @@ x-webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -115975,11 +116111,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + key: *732 + organization: *723 + repository: *724 sender: *4 required: - action @@ -116535,12 +116671,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: &737 + workflow: &738 title: Workflow type: object nullable: true @@ -117281,15 +117417,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *732 - required: *733 + properties: *733 + required: *734 nullable: true pull_requests: type: array - items: *576 - repository: *723 - organization: *722 - installation: *721 + items: *578 + repository: *724 + organization: *723 + installation: *722 sender: *4 responses: '200': @@ -117360,7 +117496,7 @@ x-webhooks: type: string enum: - approved - approver: &734 + approver: &735 type: object properties: avatar_url: @@ -117403,11 +117539,11 @@ x-webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: &736 type: array items: type: object @@ -117486,7 +117622,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &736 + workflow_job_run: &737 type: object properties: conclusion: @@ -118217,18 +118353,18 @@ x-webhooks: type: string enum: - rejected - approver: *734 + approver: *735 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: *736 sender: *4 since: type: string - workflow_job_run: *736 + workflow_job_run: *737 workflow_job_runs: type: array items: @@ -118932,13 +119068,13 @@ x-webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *721 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &742 + installation: *722 + organization: *723 + repository: *724 + requestor: &743 title: User type: object nullable: true @@ -120827,12 +120963,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Deployment Workflow Run type: object @@ -121512,7 +121648,7 @@ x-webhooks: type: string enum: - answered - answer: &740 + answer: &741 type: object properties: author_association: @@ -121669,11 +121805,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121800,11 +121936,11 @@ x-webhooks: - from required: - category - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121887,11 +122023,11 @@ x-webhooks: type: string enum: - closed - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121973,7 +122109,7 @@ x-webhooks: type: string enum: - created - comment: &739 + comment: &740 type: object properties: author_association: @@ -122130,11 +122266,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122217,12 +122353,12 @@ x-webhooks: type: string enum: - deleted - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122317,12 +122453,12 @@ x-webhooks: - from required: - body - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122406,11 +122542,11 @@ x-webhooks: type: string enum: - created - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122492,11 +122628,11 @@ x-webhooks: type: string enum: - deleted - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122596,11 +122732,11 @@ x-webhooks: type: string required: - from - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122682,10 +122818,10 @@ x-webhooks: type: string enum: - labeled - discussion: *738 - enterprise: *720 - installation: *721 - label: &741 + discussion: *739 + enterprise: *721 + installation: *722 + label: &742 title: Label type: object properties: @@ -122717,8 +122853,8 @@ x-webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122801,11 +122937,11 @@ x-webhooks: type: string enum: - locked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122887,11 +123023,11 @@ x-webhooks: type: string enum: - pinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122973,11 +123109,11 @@ x-webhooks: type: string enum: - reopened - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123062,16 +123198,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *738 - new_repository: *723 + new_discussion: *739 + new_repository: *724 required: - new_discussion - new_repository - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123154,10 +123290,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *738 - old_answer: *740 - organization: *722 - repository: *723 + discussion: *739 + old_answer: *741 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123239,12 +123375,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *738 - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123327,11 +123463,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123413,11 +123549,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123490,7 +123626,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *721 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124150,9 +124286,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - forkee @@ -124298,9 +124434,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pages: description: The pages that were updated. type: array @@ -124337,7 +124473,7 @@ x-webhooks: - action - sha - html_url - repository: *723 + repository: *724 sender: *4 required: - pages @@ -124413,10 +124549,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: &743 + organization: *723 + repositories: &744 description: An array of repository objects that the installation can access. type: array @@ -124442,8 +124578,8 @@ x-webhooks: - name - full_name - private - repository: *723 - requester: *742 + repository: *724 + requester: *743 sender: *4 required: - action @@ -124518,11 +124654,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124598,11 +124734,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124678,10 +124814,10 @@ x-webhooks: type: string enum: - added - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: &744 + organization: *723 + repositories_added: &745 description: An array of repository objects, which were added to the installation. type: array @@ -124727,15 +124863,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &745 + repository: *724 + repository_selection: &746 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *742 + requester: *743 sender: *4 required: - action @@ -124814,10 +124950,10 @@ x-webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: *744 + organization: *723 + repositories_added: *745 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124844,9 +124980,9 @@ x-webhooks: - name - full_name - private - repository: *723 - repository_selection: *745 - requester: *742 + repository: *724 + repository_selection: *746 + requester: *743 sender: *4 required: - action @@ -124925,11 +125061,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125107,10 +125243,10 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 target_type: type: string @@ -125189,11 +125325,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125367,8 +125503,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true user: title: User @@ -125453,8 +125589,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126243,8 +126379,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126260,7 +126396,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -126593,8 +126729,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -126674,7 +126810,7 @@ x-webhooks: type: string enum: - deleted - comment: &746 + comment: &747 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126831,8 +126967,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - url @@ -126847,8 +126983,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127633,8 +127769,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127650,7 +127786,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -127985,8 +128121,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -128066,7 +128202,7 @@ x-webhooks: type: string enum: - edited - changes: &775 + changes: &776 description: The changes to the comment. type: object properties: @@ -128078,9 +128214,9 @@ x-webhooks: type: string required: - from - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128868,8 +129004,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128885,7 +129021,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -129218,8 +129354,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -129300,9 +129436,9 @@ x-webhooks: type: string enum: - pinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130092,8 +130228,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130109,7 +130245,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -130444,8 +130580,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -130525,9 +130661,9 @@ x-webhooks: type: string enum: - unpinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131317,8 +131453,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131334,7 +131470,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -131669,8 +131805,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131759,9 +131895,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131850,9 +131986,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131940,9 +132076,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132031,9 +132167,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132113,10 +132249,10 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - issue: &749 + assignee: *743 + enterprise: *721 + installation: *722 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132908,11 +133044,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132928,7 +133064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -133029,8 +133165,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -133110,8 +133246,8 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133908,11 +134044,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133928,7 +134064,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -134164,8 +134300,8 @@ x-webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -134244,8 +134380,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135033,11 +135169,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135053,7 +135189,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -135153,8 +135289,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -135233,8 +135369,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136044,11 +136180,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136064,7 +136200,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -136143,7 +136279,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &747 + milestone: &748 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136281,8 +136417,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -136381,8 +136517,8 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137174,11 +137310,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137191,7 +137327,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -137295,9 +137431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -137377,8 +137513,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138169,11 +138305,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138186,7 +138322,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -138290,9 +138426,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -138372,8 +138508,8 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139188,11 +139324,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139205,7 +139341,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -139286,8 +139422,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -139366,8 +139502,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140176,11 +140312,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140196,7 +140332,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -140274,9 +140410,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *747 - organization: *722 - repository: *723 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -141139,11 +141275,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141244,7 +141380,7 @@ x-webhooks: required: - login - id - type: *228 + type: *229 required: - id - number @@ -141724,8 +141860,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142509,11 +142645,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142529,7 +142665,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -142637,8 +142773,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -142718,9 +142854,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &748 + enterprise: *721 + installation: *722 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143506,11 +143642,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143526,7 +143662,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -143626,8 +143762,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -143706,8 +143842,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144520,11 +144656,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144618,9 +144754,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *228 - organization: *722 - repository: *723 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -145489,11 +145625,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145509,7 +145645,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -146088,11 +146224,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146172,12 +146308,12 @@ x-webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146258,7 +146394,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &779 title: User type: object nullable: true @@ -146328,11 +146464,11 @@ x-webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *749 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146411,12 +146547,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *749 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146496,8 +146632,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147310,11 +147446,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147330,7 +147466,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -147408,8 +147544,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147489,11 +147625,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147572,12 +147708,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147657,11 +147793,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147739,11 +147875,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147853,11 +147989,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147939,9 +148075,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &750 + enterprise: *721 + installation: *722 + marketplace_purchase: &751 title: Marketplace Purchase type: object required: @@ -148024,8 +148160,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &751 + organization: *723 + previous_marketplace_purchase: &752 title: Marketplace Purchase type: object properties: @@ -148105,7 +148241,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148185,10 +148321,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148271,7 +148407,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148353,10 +148489,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148438,7 +148574,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148519,8 +148655,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 marketplace_purchase: title: Marketplace Purchase type: object @@ -148602,9 +148738,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148684,12 +148820,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148791,11 +148927,11 @@ x-webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148895,11 +149031,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148978,11 +149114,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149060,11 +149196,11 @@ x-webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149140,7 +149276,7 @@ x-webhooks: required: - login - id - team: &752 + team: &753 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149363,11 +149499,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149444,7 +149580,7 @@ x-webhooks: required: - login - id - team: *752 + team: *753 required: - action - scope @@ -149526,8 +149662,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &754 + installation: *722 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149546,15 +149682,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *753 + head_commit: *754 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149640,10 +149776,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *754 - organization: *722 - repository: *723 + installation: *722 + merge_group: *755 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149716,7 +149852,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149825,16 +149961,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *722 + organization: *723 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -149915,11 +150051,11 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149998,9 +150134,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &757 + enterprise: *721 + installation: *722 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150137,8 +150273,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150217,11 +150353,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150331,11 +150467,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150415,11 +150551,11 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *757 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *758 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150498,11 +150634,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150581,11 +150717,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150664,9 +150800,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &758 + enterprise: *721 + installation: *722 + membership: &759 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150773,8 +150909,8 @@ x-webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150852,11 +150988,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150935,8 +151071,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151052,10 +151188,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 - user: *742 + user: *743 required: - action - invitation @@ -151133,11 +151269,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151224,11 +151360,11 @@ x-webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151305,9 +151441,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -151806,7 +151942,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &760 title: Ruby Gems metadata type: object properties: @@ -151901,7 +152037,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -151977,9 +152113,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -152332,7 +152468,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 source_url: type: string format: uri @@ -152402,7 +152538,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -152578,12 +152714,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *721 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - id @@ -152660,7 +152796,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &761 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152806,10 +152942,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152886,11 +153022,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152966,11 +153102,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153045,11 +153181,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *722 - enterprise: *720 + personal_access_token_request: *761 + organization: *723 + enterprise: *721 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153154,7 +153290,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *762 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153186,8 +153322,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 zen: description: Random string of GitHub zen. @@ -153432,10 +153568,10 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &762 + enterprise: *721 + installation: *722 + organization: *723 + project_card: &763 title: Project Card type: object properties: @@ -153554,7 +153690,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -153635,11 +153771,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -153719,9 +153855,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: title: Project Card type: object @@ -153849,8 +153985,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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -153944,11 +154080,11 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -154042,9 +154178,9 @@ x-webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: allOf: - title: Project Card @@ -154234,7 +154370,7 @@ x-webhooks: type: string required: - after_id - repository: *723 + repository: *724 sender: *4 required: - action @@ -154314,10 +154450,10 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &764 + enterprise: *721 + installation: *722 + organization: *723 + project: &765 title: Project type: object properties: @@ -154441,7 +154577,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154521,10 +154657,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: &764 title: Project Column type: object properties: @@ -154563,7 +154699,7 @@ x-webhooks: - name - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154642,18 +154778,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -154743,11 +154879,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154827,11 +154963,11 @@ x-webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154911,11 +155047,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -154995,18 +155131,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *764 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 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: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -155108,11 +155244,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155191,11 +155327,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155276,9 +155412,9 @@ x-webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155359,9 +155495,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155442,9 +155578,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155561,9 +155697,9 @@ x-webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155646,7 +155782,7 @@ x-webhooks: type: string enum: - archived - changes: &768 + changes: &769 type: object properties: archived_at: @@ -155660,9 +155796,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *721 - organization: *722 - projects_v2_item: &765 + installation: *722 + organization: *723 + projects_v2_item: &766 title: Projects v2 Item description: An item belonging to a project type: object @@ -155680,7 +155816,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *270 creator: *4 created_at: type: string @@ -155797,9 +155933,9 @@ x-webhooks: nullable: true to: type: string - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155881,9 +156017,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155964,9 +156100,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156072,7 +156208,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &766 + - &767 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156094,7 +156230,7 @@ x-webhooks: required: - id - name - - &767 + - &768 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156128,8 +156264,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *766 - *767 + - *768 required: - field_value - type: object @@ -156145,9 +156281,9 @@ x-webhooks: nullable: true required: - body - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156242,9 +156378,9 @@ x-webhooks: to: type: string nullable: true - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156327,10 +156463,10 @@ x-webhooks: type: string enum: - restored - changes: *768 - installation: *721 - organization: *722 - projects_v2_item: *765 + changes: *769 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156412,9 +156548,9 @@ x-webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -156495,14 +156631,14 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: &771 + installation: *722 + organization: *723 + projects_v2_status_update: &772 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *769 - required: *770 + properties: *770 + required: *771 sender: *4 required: - action @@ -156583,9 +156719,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156721,9 +156857,9 @@ x-webhooks: type: string format: date nullable: true - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156794,10 +156930,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - repository @@ -156874,13 +157010,13 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - number: &772 + assignee: *743 + enterprise: *721 + installation: *722 + number: &773 description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -159185,7 +159321,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -159267,11 +159403,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -161571,7 +161707,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -161653,11 +161789,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -163957,7 +164093,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -164039,13 +164175,13 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: &773 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: &774 allOf: - - *576 + - *578 - type: object properties: allow_auto_merge: @@ -164107,7 +164243,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *724 sender: *4 required: - action @@ -164188,12 +164324,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -164273,11 +164409,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: &774 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: &775 title: Pull Request type: object properties: @@ -166562,7 +166698,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -166641,11 +166777,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -168949,7 +169085,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *724 sender: *4 required: - action @@ -169073,12 +169209,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -169158,11 +169294,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -171451,7 +171587,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -171531,11 +171667,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -173839,7 +173975,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -173920,10 +174056,10 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -176225,7 +176361,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -176305,12 +176441,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: *774 - repository: *723 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: *775 + repository: *724 sender: *4 required: - action @@ -176389,12 +176525,12 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176475,12 +176611,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176560,12 +176696,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176931,9 +177067,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -179125,7 +179261,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -179205,7 +179341,7 @@ x-webhooks: type: string enum: - deleted - comment: &776 + comment: &777 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179490,9 +179626,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -181672,7 +181808,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -181752,11 +181888,11 @@ x-webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *720 - installation: *721 - organization: *722 + changes: *776 + comment: *777 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -183939,7 +184075,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -184020,9 +184156,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -186217,7 +186353,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 review: description: The review that was affected. type: object @@ -186464,9 +186600,9 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -188520,8 +188656,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &777 + repository: *724 + review: &778 description: The review that was affected. type: object properties: @@ -188754,12 +188890,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -191064,7 +191200,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -191148,12 +191284,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -193465,7 +193601,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193657,12 +193793,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -195969,7 +196105,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -196054,12 +196190,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -198357,7 +198493,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198538,9 +198674,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -200737,8 +200873,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *777 + repository: *724 + review: *778 sender: *4 required: - action @@ -200818,9 +200954,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -202912,7 +203048,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -203299,9 +203435,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -205379,7 +205515,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -205769,10 +205905,10 @@ x-webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -208065,7 +208201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -208147,11 +208283,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + assignee: *779 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -210456,7 +210592,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -210535,11 +210671,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -212834,7 +212970,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -212915,10 +213051,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -215205,7 +215341,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -215405,7 +215541,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *721 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -215497,8 +215633,8 @@ x-webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *722 + organization: *723 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216084,9 +216220,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216532,7 +216668,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -216586,7 +216722,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -216664,9 +216800,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216974,7 +217110,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -217023,7 +217159,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -217100,10 +217236,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &779 + enterprise: *721 + installation: *722 + organization: *723 + release: &780 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217421,7 +217557,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *724 sender: *4 required: - action @@ -217498,11 +217634,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217619,11 +217755,11 @@ x-webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217701,9 +217837,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218025,7 +218161,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218101,10 +218237,10 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &780 + enterprise: *721 + installation: *722 + organization: *723 + release: &781 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218423,7 +218559,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218499,11 +218635,11 @@ x-webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -218579,11 +218715,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *780 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *781 + repository: *724 sender: *4 required: - action @@ -218659,11 +218795,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218739,11 +218875,11 @@ x-webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218819,10 +218955,10 @@ x-webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218899,10 +219035,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218980,10 +219116,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219067,10 +219203,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219182,10 +219318,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219257,10 +219393,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 status: type: string @@ -219341,10 +219477,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219421,10 +219557,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219518,10 +219654,10 @@ x-webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219601,11 +219737,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219683,11 +219819,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219765,11 +219901,11 @@ x-webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 changes: type: object properties: @@ -219788,16 +219924,16 @@ x-webhooks: properties: added: type: array - items: *284 + items: *285 deleted: type: array - items: *284 + items: *285 updated: type: array items: type: object properties: - condition: *284 + condition: *285 changes: type: object properties: @@ -219830,16 +219966,16 @@ x-webhooks: properties: added: type: array - items: *596 + items: *598 deleted: type: array - items: *596 + items: *598 updated: type: array items: type: object properties: - rule: *596 + rule: *598 changes: type: object properties: @@ -220073,10 +220209,10 @@ x-webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220154,10 +220290,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220235,7 +220371,7 @@ x-webhooks: type: string enum: - create - alert: &781 + alert: &782 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -220357,10 +220493,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220566,10 +220702,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220647,11 +220783,11 @@ x-webhooks: type: string enum: - reopen - alert: *781 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *782 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220850,10 +220986,10 @@ x-webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220931,7 +221067,7 @@ x-webhooks: type: string enum: - assigned - alert: &782 + alert: &783 type: object properties: number: *171 @@ -221050,10 +221186,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221131,11 +221267,11 @@ x-webhooks: type: string enum: - created - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221216,11 +221352,11 @@ x-webhooks: type: string enum: - created - alert: *782 - installation: *721 - location: *783 - organization: *722 - repository: *723 + alert: *783 + installation: *722 + location: *784 + organization: *723 + repository: *724 sender: *4 required: - location @@ -221458,11 +221594,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221540,11 +221676,11 @@ x-webhooks: type: string enum: - reopened - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221622,11 +221758,11 @@ x-webhooks: type: string enum: - resolved - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221704,12 +221840,12 @@ x-webhooks: type: string enum: - unassigned - alert: *782 + alert: *783 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221787,11 +221923,11 @@ x-webhooks: type: string enum: - validated - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221917,10 +222053,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *724 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -221998,11 +222134,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: &785 description: The details of the security advisory, including summary, description, and severity. type: object @@ -222185,11 +222321,11 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: *785 sender: *4 required: - action @@ -222262,10 +222398,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -222449,11 +222585,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *283 - enterprise: *720 - installation: *721 - organization: *722 - repository: *330 + security_and_analysis: *284 + enterprise: *721 + installation: *722 + organization: *723 + repository: *332 sender: *4 required: - changes @@ -222531,12 +222667,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: &785 + sponsorship: &786 type: object properties: created_at: @@ -222837,12 +222973,12 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -222930,12 +223066,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223012,17 +223148,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &787 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: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -223096,7 +223232,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &788 type: object properties: tier: @@ -223140,13 +223276,13 @@ x-webhooks: - from required: - tier - effective_date: *786 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *787 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223223,13 +223359,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *788 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223303,10 +223439,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223389,10 +223525,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223812,15 +223948,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *720 + enterprise: *721 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *722 name: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 sha: description: The Commit SHA. @@ -223935,9 +224071,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224027,9 +224163,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224119,9 +224255,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224211,9 +224347,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224290,12 +224426,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - team: &788 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -224518,9 +224654,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -224978,7 +225114,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225054,9 +225190,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -225514,7 +225650,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225591,9 +225727,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226051,7 +226187,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -226195,9 +226331,9 @@ x-webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226655,7 +226791,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - changes @@ -226733,9 +226869,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -227193,7 +227329,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -227269,10 +227405,10 @@ x-webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -227345,16 +227481,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *721 inputs: type: object nullable: true additionalProperties: true - installation: *721 - organization: *722 + installation: *722 + organization: *723 ref: type: string - repository: *723 + repository: *724 sender: *4 workflow: type: string @@ -227436,10 +227572,10 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -227676,7 +227812,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *490 required: - action - repository @@ -227755,10 +227891,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -228018,7 +228154,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *490 required: - action - repository @@ -228097,10 +228233,10 @@ x-webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228235,7 +228371,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228314,10 +228450,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228453,7 +228589,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228533,12 +228669,12 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -229537,12 +229673,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -230526,12 +230662,12 @@ x-webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index d35f47cd2b..16ec9a31e9 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -36296,6 +36296,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -36693,6 +36702,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -36980,6 +36999,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -37457,6 +37485,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -37873,6 +37910,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -38239,6 +38285,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -38517,6 +38573,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -39349,6 +39414,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -42011,8 +42085,1325 @@ } } }, - "403": { - "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an enterprise's Copilot content exclusion path rules.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can view details about Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Enterprise Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an enterprise.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an enterprise.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can set Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "413": { + "description": "Payload Too Large", + "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 Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents": { + "get": { + "summary": "Get custom agents for an enterprise", + "description": "Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise.\n\nIf no source repository has been configured, returns `null` for `custom_agents`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "custom_agents": { + "type": "array", + "description": "List of custom agents defined in the repository. Returns `null` if no source repository is configured.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The display name of the custom agent (derived from filename)." + }, + "file_path": { + "type": "string", + "description": "The path to the agent definition file." + }, + "url": { + "type": "string", + "description": "The URL to view the agent definition file." + } + } + }, + "nullable": true + } + } + }, + "examples": { + "with_agents": { + "summary": "Response with custom agents", + "value": { + "custom_agents": [ + { + "name": "Security Reviewer", + "file_path": "agents/security_reviewer.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md" + }, + { + "name": "Code Documenter", + "file_path": "agents/code_documenter.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md" + } + ] + } + }, + "no_source": { + "summary": "Response when no source repository configured", + "value": { + "custom_agents": null + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "404": { + "description": "Not found or source repository not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "repo_not_found": { + "summary": "Configured source repository not found", + "value": { + "message": "Configured source repository not found" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents/source": { + "get": { + "summary": "Get the source organization for custom agents in an enterprise", + "description": "Gets the organization and repository configured as the source for custom agent definitions in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" and that org must have a repo named\n`.github-private` containing agent definitions in `/agents/*.md`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization", + "repository" + ], + "properties": { + "organization": { + "nullable": true, + "type": "object", + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "nullable": true, + "type": "object", + "required": [ + "id", + "name", + "full_name" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the repository" + }, + "name": { + "type": "string", + "description": "Name of the repository" + }, + "full_name": { + "type": "string", + "description": "Full name of the repository including owner" + } + } + } + } + }, + "examples": { + "default": { + "value": { + "organization": { + "id": 1, + "login": "octocat-org" + }, + "repository": { + "id": 123, + "name": ".github-private", + "full_name": "octocat-org/.github-private" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + }, + "put": { + "summary": "Set the source organization for custom agents in an enterprise", + "description": "Sets an organization as the source for custom agent definitions in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The source organization configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_id" + ], + "properties": { + "organization_id": { + "type": "integer", + "description": "The ID of the organization to use as the custom agents source." + }, + "create_ruleset": { + "type": "boolean", + "default": true, + "description": "Whether to create a ruleset to protect agent definition files. Defaults to true." + } + } + }, + "examples": { + "default": { + "summary": "Set source organization with default ruleset creation", + "value": { + "organization_id": 123 + } + }, + "without_ruleset": { + "summary": "Set source organization without creating a ruleset", + "value": { + "organization_id": 123, + "create_ruleset": false + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organization": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "login": { + "type": "string", + "description": "The login name of the organization." + }, + "avatar_url": { + "type": "string", + "description": "The avatar URL of the organization." + } + } + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the .github-private repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository (owner/name)." + } + } + }, + "ruleset": { + "type": "object", + "description": "The created or existing ruleset (if create_ruleset was true).", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the ruleset." + }, + "name": { + "type": "string", + "description": "The name of the ruleset." + }, + "enforcement": { + "type": "string", + "description": "The enforcement level of the ruleset." + } + } + } + } + }, + "examples": { + "with_ruleset": { + "summary": "Response with ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + }, + "ruleset": { + "id": 10783894, + "name": "Enterprise Custom Agent Configuration", + "enforcement": "enabled" + } + } + }, + "without_ruleset": { + "summary": "Response without ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42037,53 +43428,65 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed", "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" + } + } + }, + "examples": { + "missing_org_id": { + "summary": "Missing organization_id", + "value": { + "message": "organization_id is required" + } + }, + "org_not_found": { + "summary": "Organization not in enterprise", + "value": { + "message": "Organization not found in this enterprise" + } + }, + "missing_repo": { + "summary": "Missing .github-private repository", + "value": { + "message": "Organization must have a .github-private repository" } } } } } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-custom-agents" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "summary": "Delete the custom agents source for an enterprise", + "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents for the enterprise by removing\nthe reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "operationId": "copilot/delete-copilot-custom-agents-source-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" }, "parameters": [ { @@ -42096,95 +43499,12 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "No Content - The custom agents source was successfully removed." }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Not found - Enterprise not found, feature not enabled, or no custom agents source is configured.", "content": { "application/json": { "schema": { @@ -42210,7 +43530,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -42234,42 +43554,7 @@ } } } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-user-management" } } }, @@ -43644,6 +44929,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -45130,6 +46423,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -45315,6 +46630,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -136042,20 +137358,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -136255,7 +137573,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -136271,19 +137589,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -136318,7 +137636,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -144222,6 +145540,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -144676,6 +146003,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -144963,6 +146299,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -145335,6 +146680,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146014,6 +147368,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146434,6 +147797,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146712,6 +148084,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -147410,6 +148791,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -153777,17 +155167,415 @@ } } }, - "/orgs/{org}/copilot/billing/selected_teams": { + "/orgs/{org}/copilot/billing/selected_teams": { + "post": { + "summary": "Add teams to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for members of the specified team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove teams from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "The names of teams from which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/billing/selected_users": { "post": { - "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Add users to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-teams", + "operationId": "copilot/add-copilot-seats-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -153806,9 +155594,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "description": "The usernames of the organization members to be granted access to GitHub Copilot.", "items": { "type": "string" }, @@ -153816,16 +155604,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -153841,7 +155629,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for members of the specified team(s).", + "description": "The total number of seats created for the specified user(s).", "properties": { "seats_created": { "type": "integer" @@ -153977,15 +155765,15 @@ } }, "delete": { - "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -154004,9 +155792,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "The names of teams from which to revoke access to GitHub Copilot.", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", "items": { "type": "string" }, @@ -154014,16 +155802,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -154039,7 +155827,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { "seats_cancelled": { "type": "integer" @@ -154164,7 +155952,7 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { @@ -154175,17 +155963,180 @@ } } }, - "/orgs/{org}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-users", + "operationId": "copilot/copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -154199,60 +156150,84 @@ } ], "requestBody": { + "description": "The content exclusion rules to set", + "required": true, "content": { "application/json": { "schema": { "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Example of content exclusion paths", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" + "octo-repo": [ + "/src/some-dir/kernel.rs" ] } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "message": { + "type": "string" } - }, - "required": [ - "seats_created" - ] + } }, "examples": { "default": { "value": { - "seats_created": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -154363,154 +156338,8 @@ } } }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-user-management" - } - }, - "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + "413": { + "description": "Payload Too Large", "content": { "application/json": { "schema": { @@ -154535,14 +156364,18 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -154550,26 +156383,23 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "string" + } } } } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -158779,6 +160609,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -160273,6 +162111,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -160458,6 +162318,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -161061,7 +162922,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -246876,6 +248737,75 @@ } } }, + "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": { @@ -251551,6 +253481,75 @@ } } }, + "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": { @@ -263030,6 +265029,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263145,6 +265147,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263362,6 +265367,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263405,6 +265413,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263705,6 +265716,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -266348,6 +268362,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -266524,6 +268541,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -348698,6 +350718,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -373499,6 +375528,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -373666,7 +375722,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -373687,7 +375743,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -375850,6 +377906,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -376915,7 +378979,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -377033,7 +379119,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -378218,7 +380305,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -378361,10 +380470,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -379367,7 +381492,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -572980,6 +575106,75 @@ } } }, + "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": { @@ -577521,6 +579716,75 @@ } } }, + "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": { @@ -599783,482 +602047,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags" - }, - "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": "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": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "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" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "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" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -600280,67 +602091,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "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" + "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": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -600350,11 +602196,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -612802,7 +614645,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n>{\n> \"schemas\": [\n> \"urn:ietf:params:scim:schemas:core:2.0:User\"\n> ],\n> \"externalId\": \"E012345\",\n> \"active\": false,\n> \"userName\": \"E012345\",\n> \"name\": {\n> \"familyName\": \"Octocat\",\n> \"givenName\": \"Mona\",\n> \"middleName\": \"Lisa\"\n> },\n> \"displayName\": \"Mona Lisa\",\n> \"emails\": [\n> {\n> \"value\": \"mlisa@example.com\",\n> \"type\": \"work\",\n> \"primary\": true\n> }\n> ],\n> \"roles\": [\n> {\n> \"value\": \"User\"\n> }\n> ]\n>}\n> ```", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -613531,7 +615374,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n> {\n> \"schemas\": [\n> \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n> ],\n> \"Operations\": [\n> {\n> \"op\": \"replace\",\n> \"value\": {\n> \"active\": false\n> }\n> }\n> ]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -843633,7 +845476,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -846108,7 +847951,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -848583,7 +850426,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -851058,7 +852901,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -853533,7 +855376,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -856008,7 +857851,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -858483,7 +860326,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -860958,7 +862801,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "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 8f69c66fef..6af019b13b 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &446 + type: &448 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &759 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &353 + - &355 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &354 + items: &356 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &355 + default: &357 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &769 + schema: &771 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &357 + default: &359 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2911,7 +2911,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &423 + properties: &425 id: description: Unique identifier of the repository example: 42 @@ -3362,7 +3362,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &424 + required: &426 - archive_url - assignees_url - blobs_url @@ -8912,7 +8912,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &770 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -13123,7 +13123,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &536 + instances_url: &539 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13158,7 +13158,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &537 + dismissed_reason: &540 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13167,13 +13167,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &538 + dismissed_comment: &541 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &539 + rule: &542 type: object properties: id: @@ -13226,7 +13226,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &540 + tool: &543 type: object properties: name: *111 @@ -13236,26 +13236,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &541 + most_recent_instance: &544 type: object properties: - ref: &534 + ref: &537 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &551 + analysis_key: &554 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &552 + environment: &555 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &553 + category: &556 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13269,7 +13269,7 @@ paths: properties: text: type: string - location: &554 + location: &557 type: object description: Describe a region within a file for the alert. properties: @@ -13290,7 +13290,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &555 + items: &558 type: string description: A classification of the file. For example to identify it as generated. @@ -14086,6 +14086,14 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended + metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability @@ -14370,6 +14378,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -14750,6 +14766,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -15607,7 +15631,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &389 + properties: &391 id: description: Unique identifier of the team type: integer @@ -15679,7 +15703,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &390 + required: &392 - id - node_id - url @@ -16214,6 +16238,513 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an enterprise's Copilot content exclusion path rules. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can view details about Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - *41 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Enterprise Content Exclusion Details + description: List all Copilot Content Exclusion rules for an enterprise. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" + '500': *40 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an enterprise. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can set Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - *41 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '413': &332 + description: Payload Too Large + content: + application/json: + schema: *3 + '422': *7 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + "/enterprises/{enterprise}/copilot/custom-agents": + get: + summary: Get custom agents for an enterprise + description: |- + Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise. + + If no source repository has been configured, returns `null` for `custom_agents`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise + parameters: + - *41 + - *17 + - *19 + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + custom_agents: + type: array + description: List of custom agents defined in the repository. + Returns `null` if no source repository is configured. + items: + type: object + properties: + name: + type: string + description: The display name of the custom agent (derived + from filename). + file_path: + type: string + description: The path to the agent definition file. + url: + type: string + description: The URL to view the agent definition file. + nullable: true + examples: + with_agents: + summary: Response with custom agents + value: + custom_agents: + - name: Security Reviewer + file_path: agents/security_reviewer.md + url: https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md + - name: Code Documenter + file_path: agents/code_documenter.md + url: https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md + no_source: + summary: Response when no source repository configured + value: + custom_agents: + '500': *40 + '401': *25 + '403': *29 + '404': + description: Not found or source repository not found + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + repo_not_found: + summary: Configured source repository not found + value: + message: Configured source repository not found + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + "/enterprises/{enterprise}/copilot/custom-agents/source": + get: + summary: Get the source organization for custom agents in an enterprise + description: | + Gets the organization and repository configured as the source for custom agent definitions in an enterprise. + + Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. + An enterprise admin configures one organization as the "source" and that org must have a repo named + `.github-private` containing agent definitions in `/agents/*.md`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - organization + - repository + properties: + organization: + nullable: true + type: object + required: + - id + - login + properties: + id: + type: integer + description: Unique identifier of the organization + login: + type: string + description: Login of the organization + repository: + nullable: true + type: object + required: + - id + - name + - full_name + properties: + id: + type: integer + description: Unique identifier of the repository + name: + type: string + description: Name of the repository + full_name: + type: string + description: Full name of the repository including owner + examples: + default: + value: + organization: + id: 1 + login: octocat-org + repository: + id: 123 + name: ".github-private" + full_name: octocat-org/.github-private + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + put: + summary: Set the source organization for custom agents in an enterprise + description: |- + Sets an organization as the source for custom agent definitions in the enterprise. + The organization must have a `.github-private` repository containing agent definitions. + + By default, this endpoint also creates an enterprise-level ruleset to protect + agent definition files (agents/*.md and .github/agents/*.md). You can opt out + of ruleset creation by setting `create_ruleset` to `false`. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - *41 + requestBody: + description: The source organization configuration + required: true + content: + application/json: + schema: + type: object + required: + - organization_id + properties: + organization_id: + type: integer + description: The ID of the organization to use as the custom agents + source. + create_ruleset: + type: boolean + default: true + description: Whether to create a ruleset to protect agent definition + files. Defaults to true. + examples: + default: + summary: Set source organization with default ruleset creation + value: + organization_id: 123 + without_ruleset: + summary: Set source organization without creating a ruleset + value: + organization_id: 123 + create_ruleset: false + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + organization: + type: object + properties: + id: + type: integer + description: The ID of the organization. + login: + type: string + description: The login name of the organization. + avatar_url: + type: string + description: The avatar URL of the organization. + repository: + type: object + properties: + id: + type: integer + description: The ID of the .github-private repository. + name: + type: string + description: The name of the repository. + full_name: + type: string + description: The full name of the repository (owner/name). + ruleset: + type: object + description: The created or existing ruleset (if create_ruleset + was true). + properties: + id: + type: integer + description: The ID of the ruleset. + name: + type: string + description: The name of the ruleset. + enforcement: + type: string + description: The enforcement level of the ruleset. + examples: + with_ruleset: + summary: Response with ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + ruleset: + id: 10783894 + name: Enterprise Custom Agent Configuration + enforcement: enabled + without_ruleset: + summary: Response without ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Validation failed + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + missing_org_id: + summary: Missing organization_id + value: + message: organization_id is required + org_not_found: + summary: Organization not in enterprise + value: + message: Organization not found in this enterprise + missing_repo: + summary: Missing .github-private repository + value: + message: Organization must have a .github-private repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + delete: + summary: Delete the custom agents source for an enterprise + description: |- + Removes the custom agents source configuration for the enterprise. + This effectively disables custom agents for the enterprise by removing + the reference to the source organization's `.github-private` repository. + + Note: This does not delete the `.github-private` repository or any agent + definition files. It only removes the association between the enterprise + and the source repository. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/delete-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + parameters: + - *41 + responses: + '204': + description: No Content - The custom agents source was successfully removed. + '404': + description: Not found - Enterprise not found, feature not enabled, or no + custom agents source is configured. + content: + application/json: + schema: *3 + '403': + description: Forbidden - The user does not have enterprise admin access. + content: + application/json: + schema: *3 "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -16912,7 +17443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &336 + - &337 name: state in: query description: |- @@ -16921,7 +17452,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &337 + - &338 name: severity in: query description: |- @@ -16930,7 +17461,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &338 + - &339 name: ecosystem in: query description: |- @@ -16939,14 +17470,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &339 + - &340 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &340 + - &341 name: epss_percentage in: query description: |- @@ -16958,7 +17489,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &596 + - &599 name: has in: query description: |- @@ -16972,7 +17503,16 @@ paths: type: string enum: - patch - - &341 + - &342 + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string + - &343 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16982,7 +17522,7 @@ paths: enum: - development - runtime - - &342 + - &344 name: sort in: query description: |- @@ -17008,7 +17548,7 @@ paths: application/json: schema: type: array - items: &343 + items: &345 type: object description: A Dependabot alert. properties: @@ -17071,7 +17611,7 @@ paths: - unknown - direct - transitive - security_advisory: &597 + security_advisory: &600 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17303,14 +17843,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &598 + auto_dismissed_at: &601 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &599 + dismissal_request: &602 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17372,7 +17912,7 @@ paths: - repository additionalProperties: false examples: - default: &344 + default: &346 value: - number: 2 state: dismissed @@ -17476,6 +18016,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -17625,6 +18184,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18328,7 +18888,7 @@ paths: application/json: schema: *22 examples: - default: &369 + default: &371 value: id: 1 account: @@ -18582,7 +19142,7 @@ paths: - name - created_on examples: - default: &451 + default: &453 value: total_count: 2 network_configurations: @@ -18807,7 +19367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &452 + - &454 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18819,7 +19379,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &455 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18853,7 +19413,7 @@ paths: - subnet_id - region examples: - default: &454 + default: &456 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19672,7 +20232,7 @@ paths: required: true content: application/json: - schema: &422 + schema: &424 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20864,7 +21424,7 @@ paths: nullable: true anyOf: - *162 - - &428 + - &430 title: Organization ruleset conditions type: object description: |- @@ -20911,7 +21471,7 @@ paths: - *165 rules: type: array - items: &725 + items: &728 title: Repository Rule type: object description: A repository rule. @@ -20920,7 +21480,7 @@ paths: - *171 - *172 - *173 - - &723 + - &726 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21248,7 +21808,7 @@ paths: type: string format: date-time examples: - default: &431 + default: &433 value: - version_id: 3 actor: @@ -21301,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 allOf: - *195 - type: object @@ -21356,7 +21916,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &433 + - &435 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21367,7 +21927,7 @@ paths: enum: - open - resolved - - &434 + - &436 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21377,7 +21937,7 @@ paths: required: false schema: type: string - - &435 + - &437 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21386,7 +21946,7 @@ paths: required: false schema: type: string - - &436 + - &438 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21405,7 +21965,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &437 + - &439 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21421,7 +21981,7 @@ paths: - *17 - *108 - *109 - - &438 + - &440 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21430,7 +21990,7 @@ paths: required: false schema: type: string - - &439 + - &441 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21439,7 +21999,7 @@ paths: schema: type: boolean default: false - - &440 + - &442 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21448,7 +22008,7 @@ paths: schema: type: boolean default: false - - &441 + - &443 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21464,7 +22024,7 @@ paths: application/json: schema: type: array - items: &442 + items: &444 type: object properties: number: *128 @@ -21483,14 +22043,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &737 + state: &740 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: &738 + resolution: &741 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21597,8 +22157,8 @@ paths: pull request. ' - oneOf: &739 - - &741 + oneOf: &742 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21650,7 +22210,7 @@ paths: - blob_url - commit_sha - commit_url - - &742 + - &745 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21705,7 +22265,7 @@ paths: - page_url - commit_sha - commit_url - - &743 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21719,7 +22279,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &744 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21733,7 +22293,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &745 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21747,7 +22307,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &746 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21761,7 +22321,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &747 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21775,7 +22335,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &748 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21789,7 +22349,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &749 + - &752 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21803,7 +22363,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &750 + - &753 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21817,7 +22377,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &751 + - &754 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21831,7 +22391,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &752 + - &755 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21845,7 +22405,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &753 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21872,7 +22432,7 @@ paths: required: *21 nullable: true examples: - default: &443 + default: &445 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22081,7 +22641,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &446 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22164,7 +22724,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &445 + default: &447 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22300,7 +22860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &448 + - &450 name: advanced_security_product in: query description: | @@ -22320,7 +22880,7 @@ paths: description: Success content: application/json: - schema: &449 + schema: &451 type: object properties: total_advanced_security_committers: @@ -22375,7 +22935,7 @@ paths: required: - repositories examples: - default: &450 + default: &452 value: total_advanced_security_committers: 2 total_count: 2 @@ -25444,7 +26004,7 @@ paths: properties: action: type: string - discussion: &879 + discussion: &881 title: Discussion description: A Discussion in a repository. type: object @@ -25811,7 +26371,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &659 + properties: &662 id: type: integer format: int64 @@ -25925,7 +26485,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &411 + properties: &413 url: type: string format: uri @@ -25995,7 +26555,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &412 + required: &414 - closed_issues - creator - description @@ -26074,7 +26634,7 @@ paths: timeline_url: type: string format: uri - type: &376 + type: &378 title: Issue Type description: The type of issue. type: object @@ -26188,7 +26748,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &797 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -26275,7 +26835,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &680 + properties: &683 pinned_at: type: string format: date-time @@ -26287,7 +26847,7 @@ paths: properties: *20 required: *21 nullable: true - required: &681 + required: &684 - pinned_at - pinned_by nullable: true @@ -26301,7 +26861,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &798 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -26320,7 +26880,7 @@ paths: - total_blocking issue_field_values: type: array - items: &799 + items: &801 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26381,7 +26941,7 @@ paths: - node_id - data_type - value - required: &660 + required: &663 - assignee - closed_at - comments @@ -26419,7 +26979,7 @@ paths: action: type: string issue: *225 - comment: &655 + comment: &658 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27083,7 +27643,7 @@ paths: type: string release: allOf: - - &716 + - &719 title: Release description: A release. type: object @@ -27154,7 +27714,7 @@ paths: author: *4 assets: type: array - items: &717 + items: &720 title: Release Asset description: Data related to a release. type: object @@ -27733,7 +28293,7 @@ paths: url: type: string format: uri - user: &805 + user: &807 title: Public User description: Public User type: object @@ -29605,7 +30165,7 @@ paths: - closed - all default: open - - &379 + - &381 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -29656,7 +30216,7 @@ paths: type: array items: *225 examples: - default: &380 + default: &382 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31041,14 +31601,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &462 + - &465 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &463 + - &466 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31110,7 +31670,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &468 + '301': &471 description: Moved permanently content: application/json: @@ -31132,7 +31692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &690 + - &693 name: all description: If `true`, show notifications marked as read. in: query @@ -31140,7 +31700,7 @@ paths: schema: type: boolean default: false - - &691 + - &694 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31150,7 +31710,7 @@ paths: type: boolean default: false - *232 - - &692 + - &695 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: @@ -31186,7 +31746,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &348 + properties: &350 id: type: integer format: int64 @@ -31472,7 +32032,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &425 + security_and_analysis: &427 nullable: true type: object properties: @@ -31593,7 +32153,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &349 + required: &351 - archive_url - assignees_url - blobs_url @@ -31681,7 +32241,7 @@ paths: - url - subscription_url examples: - default: &693 + default: &696 value: - id: '1' repository: @@ -32278,7 +32838,7 @@ paths: type: integer custom_roles: type: array - items: &332 + items: &333 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -32326,7 +32886,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &334 value: id: 8030 name: Security Engineer @@ -32798,7 +33358,7 @@ paths: type: array items: *156 examples: - default: &699 + default: &702 value: - property_name: environment value: production @@ -32848,7 +33408,7 @@ paths: required: - properties examples: - default: &700 + default: &703 value: properties: - property_name: environment @@ -33661,7 +34221,7 @@ paths: type: integer repository_cache_usages: type: array - items: &475 + items: &478 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35784,7 +36344,7 @@ paths: type: array items: *288 examples: - default: &808 + default: &810 value: total_count: 1 repositories: @@ -36826,7 +37386,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &498 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36855,7 +37415,7 @@ paths: - key_id - key examples: - default: &496 + default: &499 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37268,7 +37828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &480 + - &483 name: per_page description: The number of results per page (max 30). 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)." @@ -37873,20 +38433,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -38036,7 +38598,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -38049,17 +38611,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -38099,7 +38661,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -38495,12 +39057,12 @@ paths: required: - subject_digests examples: - default: &838 + default: &840 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &839 + withPredicateType: &841 value: subject_digests: - sha256:abc123 @@ -38558,7 +39120,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &840 + default: &842 value: attestations_subject_digests: - sha256:abc: @@ -38908,7 +39470,7 @@ paths: initiator: type: string examples: - default: &509 + default: &512 value: attestations: - bundle: @@ -39825,7 +40387,7 @@ paths: be returned. in: query required: false - schema: &535 + schema: &538 type: string description: Severity of a code scanning alert. enum: @@ -40185,6 +40747,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -40543,6 +41112,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -40867,7 +41443,7 @@ paths: type: integer codespaces: type: array - items: &381 + items: &383 type: object title: Codespace description: A codespace. @@ -40897,7 +41473,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &567 + properties: &570 name: type: string description: The name of the machine. @@ -40939,7 +41515,7 @@ paths: - ready - in_progress nullable: true - required: &568 + required: &571 - name - display_name - operating_system @@ -41144,7 +41720,7 @@ paths: - pulls_url - recent_folders examples: - default: &382 + default: &384 value: total_count: 3 codespaces: @@ -41807,7 +42383,7 @@ paths: - updated_at - visibility examples: - default: &569 + default: &572 value: total_count: 2 secrets: @@ -41845,7 +42421,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &573 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41874,7 +42450,7 @@ paths: - key_id - key examples: - default: &571 + default: &574 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41906,7 +42482,7 @@ paths: application/json: schema: *331 examples: - default: &573 + default: &576 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42703,6 +43279,147 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - *87 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + octo-repo: + - "/src/some-dir/kernel.rs" + '500': *40 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - *87 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '413': *332 + '422': *7 + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -43127,7 +43844,7 @@ paths: type: integer custom_roles: type: array - items: *332 + items: *333 examples: default: value: @@ -43219,7 +43936,7 @@ paths: required: true content: application/json: - schema: &334 + schema: &335 type: object properties: name: @@ -43260,9 +43977,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43293,9 +44010,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '404': *6 x-github: githubCloudOnly: true @@ -43323,7 +44040,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &336 type: object properties: name: @@ -43361,9 +44078,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43421,7 +44138,7 @@ paths: required: true content: application/json: - schema: *334 + schema: *335 examples: default: value: @@ -43435,9 +44152,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43474,9 +44191,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '404': *6 x-github: githubCloudOnly: true @@ -43510,7 +44227,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -43525,9 +44242,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43587,11 +44304,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *336 - *337 - *338 - *339 - *340 + - *341 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -43621,6 +44338,7 @@ paths: enum: - patch - deployment + - *342 - name: runtime_risk in: query description: |- @@ -43629,8 +44347,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *341 - - *342 + - *343 + - *344 - *110 - *108 - *109 @@ -43642,9 +44360,9 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: - default: *344 + default: *346 '304': *37 '400': *14 '403': *29 @@ -43688,7 +44406,7 @@ paths: type: integer secrets: type: array - items: &345 + items: &347 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -43765,7 +44483,7 @@ paths: description: Response content: application/json: - schema: &602 + schema: &605 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43782,7 +44500,7 @@ paths: - key_id - key examples: - default: &603 + default: &606 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43812,7 +44530,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -43877,9 +44595,7 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -44112,7 +44828,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &611 + - &614 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44120,7 +44836,7 @@ paths: required: false schema: type: string - - &612 + - &615 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44128,7 +44844,7 @@ paths: required: false schema: type: string - - &613 + - &616 name: time_period description: |- The time period to filter by. @@ -44144,7 +44860,7 @@ paths: - week - month default: month - - &614 + - &617 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44169,7 +44885,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44275,7 +44991,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &346 + items: &348 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -44325,7 +45041,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &616 + default: &619 value: - id: 21 number: 42 @@ -44417,7 +45133,7 @@ paths: - *103 - *104 - *105 - - &347 + - &349 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -44443,7 +45159,7 @@ paths: application/json: schema: type: array - items: &617 + items: &620 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44549,7 +45265,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *346 + items: *348 url: type: string format: uri @@ -44560,7 +45276,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &618 + default: &621 value: - id: 21 number: 42 @@ -44652,7 +45368,7 @@ paths: - *103 - *104 - *105 - - *347 + - *349 - *17 - *19 responses: @@ -44662,7 +45378,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44783,7 +45499,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &620 + default: &623 value: - id: 21 number: 42 @@ -44871,7 +45587,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Package description: A software package type: object @@ -44921,8 +45637,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *348 - required: *349 + properties: *350 + required: *351 nullable: true created_at: type: string @@ -44941,7 +45657,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - id: 197 name: hello_docker @@ -45128,7 +45844,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &462 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45209,7 +45925,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &460 + default: &463 value: group_id: '123' group_name: Octocat admins @@ -45264,7 +45980,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45301,7 +46017,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &458 + default: &460 value: groups: - group_id: '123' @@ -45346,7 +46062,7 @@ paths: application/json: schema: type: array - items: &373 + items: &375 title: Organization Invitation description: Organization Invitation type: object @@ -45393,7 +46109,7 @@ paths: - invitation_teams_url - node_id examples: - default: &374 + default: &376 value: - id: 1 login: monalisa @@ -45460,7 +46176,7 @@ paths: application/json: schema: type: array - items: &426 + items: &428 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -45474,7 +46190,7 @@ paths: - name - description examples: - default: &427 + default: &429 value: - name: add_assignee description: Assign or remove a user @@ -45515,7 +46231,7 @@ paths: application/json: schema: type: array - items: &350 + items: &352 title: Org Hook description: Org Hook type: object @@ -45684,9 +46400,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: &351 + default: &353 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -45731,7 +46447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &352 + - &354 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -45744,9 +46460,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -45768,7 +46484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *352 + - *354 requestBody: required: false content: @@ -45813,7 +46529,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -45853,7 +46569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *352 + - *354 responses: '204': description: Response @@ -45879,7 +46595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *354 responses: '200': description: Response @@ -45908,7 +46624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *354 requestBody: required: false content: @@ -45957,9 +46673,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *17 - - *353 + - *355 responses: '200': description: Response @@ -45967,9 +46683,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 '400': *14 '422': *15 x-github: @@ -45993,16 +46709,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *16 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '400': *14 '422': *15 x-github: @@ -46026,7 +46742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *16 responses: '202': *39 @@ -46053,7 +46769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *352 + - *354 responses: '204': description: Response @@ -46076,7 +46792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &362 + - &364 name: actor_type in: path description: The type of the actor @@ -46089,14 +46805,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &363 + - &365 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &358 + - &360 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -46104,7 +46820,7 @@ paths: required: true schema: type: string - - &359 + - &361 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -46198,12 +46914,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *358 - - *359 + - *360 + - *361 - *19 - *17 - *110 - - &368 + - &370 name: sort description: The property to sort the results by. in: query @@ -46281,14 +46997,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *358 - - *359 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &360 + schema: &362 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -46304,7 +47020,7 @@ paths: type: integer format: int64 examples: - default: &361 + default: &363 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -46325,23 +47041,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &364 + - &366 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *358 - - *359 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -46360,18 +47076,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *358 - - *359 - - *362 - - *363 + - *360 + - *361 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -46389,9 +47105,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *358 - - *359 - - &365 + - *360 + - *361 + - &367 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -46404,7 +47120,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &368 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -46420,7 +47136,7 @@ paths: type: integer format: int64 examples: - default: &367 + default: &369 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -46457,18 +47173,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *364 - - *358 - - *359 - - *365 + - *366 + - *360 + - *361 + - *367 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -46486,19 +47202,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *362 - - *363 - - *358 - - *359 + - *364 - *365 + - *360 + - *361 + - *367 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -46516,13 +47232,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *364 - - *358 - - *359 + - *366 + - *360 + - *361 - *19 - *17 - *110 - - *368 + - *370 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -46603,7 +47319,7 @@ paths: application/json: schema: *22 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46723,12 +47439,12 @@ paths: application/json: schema: anyOf: - - &371 + - &373 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &370 + limit: &372 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -46753,7 +47469,7 @@ paths: properties: {} additionalProperties: false examples: - default: &372 + default: &374 value: limit: collaborators_only origin: organization @@ -46782,13 +47498,13 @@ paths: required: true content: application/json: - schema: &651 + schema: &654 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *370 + limit: *372 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -46812,9 +47528,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -46892,9 +47608,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 '404': *6 @@ -46972,7 +47688,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: default: value: @@ -47029,7 +47745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &375 + - &377 name: invitation_id description: The unique identifier of the invitation. in: path @@ -47063,7 +47779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *375 + - *377 - *17 - *19 responses: @@ -47075,7 +47791,7 @@ paths: type: array items: *317 examples: - default: &391 + default: &393 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -47118,7 +47834,7 @@ paths: application/json: schema: type: array - items: *376 + items: *378 examples: default: value: @@ -47203,9 +47919,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: &377 + default: &379 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -47238,7 +47954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &378 + - &380 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -47291,9 +48007,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 '404': *6 '422': *7 x-github: @@ -47318,7 +48034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *378 + - *380 responses: '204': description: Response @@ -47381,7 +48097,7 @@ paths: - closed - all default: open - - *379 + - *381 - name: type description: Can be the name of an issue type. in: query @@ -47412,7 +48128,7 @@ paths: type: array items: *225 examples: - default: *380 + default: *382 headers: Link: *47 '404': *6 @@ -47571,9 +48287,9 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 '304': *37 '500': *40 '401': *25 @@ -47600,7 +48316,7 @@ paths: parameters: - *87 - *143 - - &383 + - &385 name: codespace_name in: path required: true @@ -47635,15 +48351,15 @@ paths: parameters: - *87 - *143 - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &566 + default: &569 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -47899,7 +48615,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &386 title: Org Membership description: Org Membership type: object @@ -47966,7 +48682,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &385 + response-if-user-has-an-active-admin-membership-with-organization: &387 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -48067,9 +48783,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - response-if-user-already-had-membership-with-organization: *385 + response-if-user-already-had-membership-with-organization: *387 '422': *15 '403': *29 x-github: @@ -48140,7 +48856,7 @@ paths: application/json: schema: type: array - items: &386 + items: &388 title: Migration description: A migration. type: object @@ -48469,7 +49185,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -48648,7 +49364,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &387 + - &389 name: migration_id description: The unique identifier of the migration. in: path @@ -48675,7 +49391,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -48845,7 +49561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *387 + - *389 responses: '302': description: Response @@ -48867,7 +49583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *387 + - *389 responses: '204': description: Response @@ -48891,8 +49607,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *387 - - &821 + - *389 + - &823 name: repo_name description: repo_name parameter in: path @@ -48920,7 +49636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *387 + - *389 - *17 - *19 responses: @@ -48932,7 +49648,7 @@ paths: type: array items: *288 examples: - default: &398 + default: &400 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49143,7 +49859,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &388 + items: &390 title: Organization Role description: Organization roles type: object @@ -49350,7 +50066,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49580,7 +50296,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49677,7 +50393,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49835,8 +50551,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 nullable: true type: description: The ownership type of the team @@ -49868,7 +50584,7 @@ paths: - type - parent examples: - default: *391 + default: *393 headers: Link: *47 '404': @@ -49926,13 +50642,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &447 + items: &449 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 name: nullable: true type: string @@ -50220,7 +50936,7 @@ paths: - nuget - container - *87 - - &822 + - &824 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -50256,12 +50972,12 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '403': *29 '401': *25 - '400': &824 + '400': &826 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -50283,7 +50999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &394 + - &396 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -50301,7 +51017,7 @@ paths: - docker - nuget - container - - &395 + - &397 name: package_name description: The name of the package. in: path @@ -50314,7 +51030,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -50366,8 +51082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 responses: '204': @@ -50400,8 +51116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - name: token description: package token @@ -50434,8 +51150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - *19 - *17 @@ -50456,7 +51172,7 @@ paths: application/json: schema: type: array - items: &396 + items: &398 title: Package Version description: A version of a software package type: object @@ -50581,10 +51297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - - &397 + - &399 name: package_version_id description: Unique identifier of the package version. in: path @@ -50596,7 +51312,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -50632,10 +51348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *394 - - *395 - - *87 + - *396 - *397 + - *87 + - *399 responses: '204': description: Response @@ -50667,10 +51383,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *394 - - *395 - - *87 + - *396 - *397 + - *87 + - *399 responses: '204': description: Response @@ -50700,7 +51416,7 @@ paths: - *87 - *17 - *19 - - &399 + - &401 name: sort description: The property by which to sort the results. in: query @@ -50711,7 +51427,7 @@ paths: - created_at default: created_at - *110 - - &400 + - &402 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -50722,7 +51438,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &401 + - &403 name: repository description: The name of the repository to use to filter the results. in: query @@ -50730,7 +51446,7 @@ paths: schema: type: string example: Hello-World - - &402 + - &404 name: permission description: The permission to use to filter the results. in: query @@ -50738,7 +51454,7 @@ paths: schema: type: string example: issues_read - - &403 + - &405 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -50748,7 +51464,7 @@ paths: schema: type: string format: date-time - - &404 + - &406 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -50758,7 +51474,7 @@ paths: schema: type: string format: date-time - - &405 + - &407 name: token_id description: The ID of the token in: query @@ -51071,7 +51787,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -51097,14 +51813,14 @@ paths: - *87 - *17 - *19 - - *399 - - *110 - - *400 - *401 + - *110 - *402 - *403 - *404 - *405 + - *406 + - *407 responses: '500': *40 '422': *15 @@ -51386,7 +52102,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -51428,7 +52144,7 @@ paths: type: integer configurations: type: array - items: &406 + items: &408 title: Organization private registry description: Private registry configuration for an organization type: object @@ -51718,7 +52434,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &407 + org-private-registry-with-selected-visibility: &409 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -51814,9 +52530,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -51983,7 +52699,7 @@ paths: application/json: schema: type: array - items: &408 + items: &410 title: Projects v2 Project description: A projects v2 project type: object @@ -52053,7 +52769,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &915 + properties: &917 id: type: number description: The unique identifier of the status update. @@ -52101,7 +52817,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &916 + required: &918 - id - node_id - created_at @@ -52126,7 +52842,7 @@ paths: - deleted_at - deleted_by examples: - default: &409 + default: &411 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -52229,7 +52945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &410 + - &412 name: project_number description: The project's number. in: path @@ -52242,9 +52958,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -52267,7 +52983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true description: Details of the draft item to create in the project. @@ -52301,7 +53017,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &418 title: Projects v2 Item description: An item belonging to a project type: object @@ -52315,7 +53031,7 @@ paths: content: oneOf: - *225 - - &583 + - &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -52421,8 +53137,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true active_lock_reason: type: string @@ -52518,7 +53234,7 @@ paths: _links: type: object properties: - comments: &413 + comments: &415 title: Link description: Hypermedia Link type: object @@ -52527,13 +53243,13 @@ paths: type: string required: - href - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + commits: *415 + statuses: *415 + html: *415 + issue: *415 + review_comments: *415 + review_comment: *415 + self: *415 required: - comments - commits @@ -52544,7 +53260,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &702 + auto_merge: &705 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52646,7 +53362,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &415 + content_type: &417 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -52686,7 +53402,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &417 + draft_issue: &419 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52760,7 +53476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *410 + - *412 - *87 - *17 - *108 @@ -52772,7 +53488,7 @@ paths: application/json: schema: type: array - items: &414 + items: &416 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -52919,7 +53635,7 @@ paths: - updated_at - project_url examples: - default: &843 + default: &845 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53049,7 +53765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *410 + - *412 - *87 requestBody: required: true @@ -53096,7 +53812,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &844 + items: &846 type: object properties: name: @@ -53133,7 +53849,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &845 + iteration_configuration: &847 type: object description: The configuration for iteration fields. properties: @@ -53183,7 +53899,7 @@ paths: value: name: Due date data_type: date - single_select_field: &846 + single_select_field: &848 summary: Create a single select field value: name: Priority @@ -53210,7 +53926,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &847 + iteration_field: &849 summary: Create an iteration field value: name: Sprint @@ -53234,9 +53950,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *414 + schema: *416 examples: - text_field: &848 + text_field: &850 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -53245,7 +53961,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &849 + number_field: &851 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -53254,7 +53970,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &850 + date_field: &852 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -53263,7 +53979,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &851 + single_select_field: &853 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53297,7 +54013,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &852 + iteration_field: &854 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -53342,8 +54058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *410 - - &853 + - *412 + - &855 name: field_id description: The unique identifier of the field. in: path @@ -53356,9 +54072,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: &854 + default: &856 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53414,7 +54130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *410 + - *412 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -53447,7 +54163,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Projects v2 Item description: An item belonging to a project type: object @@ -53463,7 +54179,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *415 + content_type: *417 content: type: object additionalProperties: true @@ -53506,7 +54222,7 @@ paths: - updated_at - archived_at examples: - default: &419 + default: &421 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -54204,7 +54920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -54274,22 +54990,22 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *417 + value: *419 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *417 + value: *419 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *417 + value: *419 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *417 + value: *419 '304': *37 '403': *29 '401': *25 @@ -54309,9 +55025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *410 + - *412 - *87 - - &420 + - &422 name: item_id description: The unique identifier of the project item. in: path @@ -54337,9 +55053,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -54360,9 +55076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *410 + - *412 - *87 - - *420 + - *422 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -54432,13 +55148,13 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - text_field: *419 - number_field: *419 - date_field: *419 - single_select_field: *419 - iteration_field: *419 + text_field: *421 + number_field: *421 + date_field: *421 + single_select_field: *421 + iteration_field: *421 '401': *25 '403': *29 '404': *6 @@ -54458,9 +55174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *410 + - *412 - *87 - - *420 + - *422 responses: '204': description: Response @@ -54484,7 +55200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true content: @@ -54555,7 +55271,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &835 + schema: &837 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -54653,7 +55369,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &421 + value: &423 value: id: 1 number: 1 @@ -54699,10 +55415,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *421 + value: *423 roadmap_view: summary: Response for creating a roadmap view - value: *421 + value: *423 '304': *37 '403': *29 '401': *25 @@ -54730,9 +55446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *410 + - *412 - *87 - - &855 + - &857 name: view_number description: The number that identifies the project view. in: path @@ -54764,9 +55480,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -54930,7 +55646,7 @@ paths: required: true content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -55295,7 +56011,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -55498,7 +56214,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &470 title: Full Repository description: Full Repository type: object @@ -55786,8 +56502,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *423 - required: *424 + properties: *425 + required: *426 nullable: true temp_clone_token: type: string @@ -55902,7 +56618,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &588 + properties: &591 url: type: string format: uri @@ -55918,12 +56634,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &589 + required: &592 - url - key - name - html_url - security_and_analysis: *425 + security_and_analysis: *427 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -56007,7 +56723,7 @@ paths: - network_count - subscribers_count examples: - default: &469 + default: &472 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -56533,9 +57249,9 @@ paths: application/json: schema: type: array - items: *426 + items: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56560,7 +57276,7 @@ paths: - *87 - *17 - *19 - - &724 + - &727 name: targets description: | A comma-separated list of rule targets to filter by. @@ -56651,11 +57367,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *428 + conditions: *430 rules: type: array description: An array of rules within the ruleset. - items: &430 + items: &432 title: Repository Rule type: object description: A repository rule. @@ -56720,7 +57436,7 @@ paths: application/json: schema: *191 examples: - default: &429 + default: &431 value: id: 21 name: super cool ruleset @@ -56760,6 +57476,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *40 "/orgs/{org}/rulesets/rule-suites": get: @@ -56775,7 +57492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &726 + - &729 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 @@ -56787,14 +57504,14 @@ paths: x-multi-segment: true - *314 - *105 - - &727 + - &730 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 - - &728 + - &731 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56814,7 +57531,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &732 title: Rule Suites description: Response type: array @@ -56869,7 +57586,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &730 + default: &733 value: - id: 21 actor_id: 12 @@ -56913,7 +57630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &731 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56929,7 +57646,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &735 title: Rule Suite description: Response type: object @@ -57028,7 +57745,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &733 + default: &736 value: id: 21 actor_id: 12 @@ -57103,7 +57820,7 @@ paths: application/json: schema: *191 examples: - default: *429 + default: *431 '404': *6 '500': *40 put: @@ -57152,11 +57869,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *428 + conditions: *430 rules: description: An array of rules within the ruleset. type: array - items: *430 + items: *432 examples: default: value: @@ -57193,8 +57910,9 @@ paths: application/json: schema: *191 examples: - default: *429 + default: *431 '404': *6 + '422': *15 '500': *40 delete: summary: Delete an organization repository ruleset @@ -57252,7 +57970,7 @@ paths: type: array items: *195 examples: - default: *431 + default: *433 '404': *6 '500': *40 x-github: @@ -57289,7 +58007,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: default: value: @@ -57352,15 +58070,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *433 - - *434 - *435 - *436 - *437 + - *438 + - *439 - *110 - *19 - *17 - - &735 + - &738 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 @@ -57370,7 +58088,7 @@ paths: required: false schema: type: string - - &736 + - &739 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 @@ -57380,10 +58098,10 @@ paths: required: false schema: type: string - - *438 - - *439 - *440 - *441 + - *442 + - *443 responses: '200': description: Response @@ -57391,9 +58109,9 @@ paths: application/json: schema: type: array - items: *442 + items: *444 examples: - default: *443 + default: *445 headers: Link: *47 '404': *6 @@ -57428,9 +58146,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '403': *29 '404': *6 patch: @@ -57583,7 +58301,7 @@ paths: application/json: schema: type: array - items: &757 + items: &760 description: A repository security advisory. type: object properties: @@ -57803,7 +58521,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 credits_detailed: type: array nullable: true @@ -57813,7 +58531,7 @@ paths: type: object properties: user: *4 - type: *446 + type: *448 state: type: string description: The state of the user's acceptance of the @@ -57874,7 +58592,7 @@ paths: - private_fork additionalProperties: false examples: - default: &758 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -58261,7 +58979,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -58360,7 +59078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *448 + - *450 - *17 - *19 responses: @@ -58368,9 +59086,9 @@ paths: description: Success content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58651,7 +59369,7 @@ paths: type: array items: *148 examples: - default: *451 + default: *453 headers: Link: *47 x-github: @@ -58854,15 +59572,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *452 + - *454 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 headers: Link: *47 x-github: @@ -58900,7 +59618,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &467 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58946,7 +59664,7 @@ paths: type: string nullable: true examples: - default: &465 + default: &468 value: groups: - group_id: '123' @@ -59060,7 +59778,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 headers: Link: *47 '403': *29 @@ -59154,7 +59872,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -59217,8 +59935,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 nullable: true members_count: type: integer @@ -59481,7 +60199,7 @@ paths: - repos_count - organization examples: - default: &456 + default: &458 value: id: 1 node_id: MDQ6VGVhbTE= @@ -59558,9 +60276,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 x-github: githubCloudOnly: false @@ -59644,16 +60362,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 '422': *15 '403': *29 @@ -59683,6 +60401,9 @@ paths: responses: '204': description: Response + '422': &461 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59709,9 +60430,10 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59754,9 +60476,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: - default: *460 + default: *463 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59780,6 +60503,7 @@ paths: responses: '204': description: Response + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59811,11 +60535,12 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 + '422': *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59897,7 +60622,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &464 title: Team Membership description: Team Membership type: object @@ -59924,7 +60649,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &801 + response-if-user-is-a-team-maintainer: &803 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59987,9 +60712,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: &802 + response-if-users-membership-with-team-is-now-pending: &804 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60065,7 +60790,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -60096,14 +60821,14 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &803 + schema: &805 title: Team Repository description: A team's access to a repository. type: object @@ -60674,8 +61399,8 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -60722,8 +61447,8 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -60756,9 +61481,10 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: - default: *465 + default: *468 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60824,7 +61550,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: default: value: @@ -60836,6 +61562,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60869,7 +61596,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: &804 + response-if-child-teams-exist: &806 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61023,7 +61750,7 @@ paths: resources: type: object properties: - core: &466 + core: &469 title: Rate Limit type: object properties: @@ -61040,21 +61767,21 @@ paths: - remaining - reset - used - graphql: *466 - search: *466 - code_search: *466 - source_import: *466 - integration_manifest: *466 - code_scanning_upload: *466 - actions_runner_registration: *466 - scim: *466 - dependency_snapshots: *466 - dependency_sbom: *466 - code_scanning_autofix: *466 + graphql: *469 + search: *469 + code_search: *469 + source_import: *469 + integration_manifest: *469 + code_scanning_upload: *469 + actions_runner_registration: *469 + scim: *469 + dependency_snapshots: *469 + dependency_sbom: *469 + code_scanning_autofix: *469 required: - core - search - rate: *466 + rate: *469 required: - rate - resources @@ -61159,14 +61886,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *467 + schema: *470 examples: default-response: summary: Default response @@ -61675,7 +62402,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *468 + '301': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61693,8 +62420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -61995,10 +62722,10 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 - '307': &470 + default: *472 + '307': &473 description: Temporary Redirect content: application/json: @@ -62027,8 +62754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -62050,7 +62777,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *470 + '307': *473 '404': *6 '409': *119 x-github: @@ -62074,11 +62801,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - - &487 + - &490 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62101,7 +62828,7 @@ paths: type: integer artifacts: type: array - items: &471 + items: &474 title: Artifact description: An artifact type: object @@ -62179,7 +62906,7 @@ paths: - expires_at - updated_at examples: - default: &488 + default: &491 value: total_count: 2 artifacts: @@ -62240,9 +62967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *462 - - *463 - - &472 + - *465 + - *466 + - &475 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62254,7 +62981,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *474 examples: default: value: @@ -62292,9 +63019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *462 - - *463 - - *472 + - *465 + - *466 + - *475 responses: '204': description: Response @@ -62318,9 +63045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *462 - - *463 - - *472 + - *465 + - *466 + - *475 - name: archive_format in: path required: true @@ -62334,7 +63061,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &654 + '410': &657 description: Gone content: application/json: @@ -62359,14 +63086,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &473 + schema: &476 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -62399,13 +63126,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *473 + schema: *476 examples: selected_actions: *44 responses: @@ -62434,14 +63161,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &474 + schema: &477 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -62474,13 +63201,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *474 + schema: *477 examples: selected_actions: *46 responses: @@ -62511,14 +63238,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *475 + schema: *478 examples: default: value: @@ -62544,11 +63271,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - - &476 + - &479 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -62582,7 +63309,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &480 title: Repository actions caches description: Repository actions caches type: object @@ -62624,7 +63351,7 @@ paths: - total_count - actions_caches examples: - default: &478 + default: &481 value: total_count: 1 actions_caches: @@ -62656,23 +63383,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *462 - - *463 + - *465 + - *466 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *476 + - *479 responses: '200': description: Response content: application/json: - schema: *477 + schema: *480 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62692,8 +63419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *462 - - *463 + - *465 + - *466 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62724,9 +63451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *462 - - *463 - - &479 + - *465 + - *466 + - &482 name: job_id description: The unique identifier of the job. in: path @@ -62738,7 +63465,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &494 title: Job description: Information of a job execution in a workflow run type: object @@ -63045,9 +63772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *462 - - *463 - - *479 + - *465 + - *466 + - *482 responses: '302': description: Response @@ -63075,9 +63802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *462 - - *463 - - *479 + - *465 + - *466 + - *482 requestBody: required: false content: @@ -63122,8 +63849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Status response @@ -63173,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -63237,8 +63964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -63256,7 +63983,7 @@ paths: type: integer secrets: type: array - items: &493 + items: &496 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63276,7 +64003,7 @@ paths: - created_at - updated_at examples: - default: &494 + default: &497 value: total_count: 2 secrets: @@ -63309,9 +64036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *462 - - *463 - - *480 + - *465 + - *466 + - *483 - *19 responses: '200': @@ -63328,7 +64055,7 @@ paths: type: integer variables: type: array - items: &497 + items: &500 title: Actions Variable type: object properties: @@ -63358,7 +64085,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &501 value: total_count: 2 variables: @@ -63391,8 +64118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63401,7 +64128,7 @@ paths: schema: type: object properties: - enabled: &481 + enabled: &484 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -63436,8 +64163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63448,7 +64175,7 @@ paths: schema: type: object properties: - enabled: *481 + enabled: *484 allowed_actions: *60 sha_pinning_required: *61 required: @@ -63481,14 +64208,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &482 + schema: &485 type: object properties: access_level: @@ -63506,7 +64233,7 @@ paths: required: - access_level examples: - default: &483 + default: &486 value: access_level: organization x-github: @@ -63531,15 +64258,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 responses: '204': description: Response @@ -63563,8 +64290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63594,8 +64321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Empty response for successful settings update @@ -63629,8 +64356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63657,8 +64384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63692,8 +64419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63721,8 +64448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -63753,8 +64480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63785,8 +64512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63818,8 +64545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63848,8 +64575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Success response @@ -63889,8 +64616,8 @@ paths: in: query schema: type: string - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -63934,8 +64661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63967,8 +64694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -64042,8 +64769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -64079,8 +64806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -64110,8 +64837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': @@ -64141,8 +64868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '204': @@ -64169,8 +64896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': *81 @@ -64195,8 +64922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 requestBody: required: true @@ -64245,8 +64972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 requestBody: required: true @@ -64296,8 +65023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': *295 @@ -64327,8 +65054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 - *296 responses: @@ -64358,9 +65085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *462 - - *463 - - &501 + - *465 + - *466 + - &504 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -64368,7 +65095,7 @@ paths: required: false schema: type: string - - &502 + - &505 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64376,7 +65103,7 @@ paths: required: false schema: type: string - - &503 + - &506 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64385,7 +65112,7 @@ paths: required: false schema: type: string - - &504 + - &507 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -64412,7 +65139,7 @@ paths: - pending - *17 - *19 - - &505 + - &508 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -64421,7 +65148,7 @@ paths: schema: type: string format: date-time - - &484 + - &487 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64430,13 +65157,13 @@ paths: schema: type: boolean default: false - - &506 + - &509 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &507 + - &510 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64459,7 +65186,7 @@ paths: type: integer workflow_runs: type: array - items: &485 + items: &488 title: Workflow Run description: An invocation of a workflow type: object @@ -64607,7 +65334,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &529 + properties: &532 id: type: string description: SHA for the commit @@ -64658,7 +65385,7 @@ paths: - name - email nullable: true - required: &530 + required: &533 - id - tree_id - message @@ -64705,7 +65432,7 @@ paths: - workflow_url - pull_requests examples: - default: &508 + default: &511 value: total_count: 1 workflow_runs: @@ -64941,24 +65668,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *462 - - *463 - - &486 + - *465 + - *466 + - &489 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *484 + - *487 responses: '200': description: Response content: application/json: - schema: *485 + schema: *488 examples: - default: &489 + default: &492 value: id: 30433642 name: Build @@ -65199,9 +65926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '204': description: Response @@ -65224,9 +65951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -65345,9 +66072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '201': description: Response @@ -65380,12 +66107,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 - *17 - *19 - - *487 + - *490 responses: '200': description: Response @@ -65401,9 +66128,9 @@ paths: type: integer artifacts: type: array - items: *471 + items: *474 examples: - default: *488 + default: *491 headers: Link: *47 x-github: @@ -65427,25 +66154,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *462 - - *463 - - *486 - - &490 + - *465 + - *466 + - *489 + - &493 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *484 + - *487 responses: '200': description: Response content: application/json: - schema: *485 + schema: *488 examples: - default: *489 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65468,10 +66195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *462 - - *463 - - *486 - - *490 + - *465 + - *466 + - *489 + - *493 - *17 - *19 responses: @@ -65489,9 +66216,9 @@ paths: type: integer jobs: type: array - items: *491 + items: *494 examples: - default: &492 + default: &495 value: total_count: 1 jobs: @@ -65604,10 +66331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *462 - - *463 - - *486 - - *490 + - *465 + - *466 + - *489 + - *493 responses: '302': description: Response @@ -65635,9 +66362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '202': description: Response @@ -65670,9 +66397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: true content: @@ -65739,9 +66466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '202': description: Response @@ -65774,9 +66501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -65806,9 +66533,9 @@ paths: type: integer jobs: type: array - items: *491 + items: *494 examples: - default: *492 + default: *495 headers: Link: *47 x-github: @@ -65833,9 +66560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '302': description: Response @@ -65862,9 +66589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '204': description: Response @@ -65891,9 +66618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -65953,7 +66680,7 @@ paths: items: type: object properties: - type: &621 + type: &624 type: string description: The type of reviewer. enum: @@ -66038,9 +66765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: true content: @@ -66087,12 +66814,12 @@ paths: application/json: schema: type: array - items: &606 + items: &609 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &873 + properties: &875 url: type: string format: uri @@ -66177,7 +66904,7 @@ paths: nullable: true properties: *220 required: *221 - required: &874 + required: &876 - id - node_id - sha @@ -66193,7 +66920,7 @@ paths: - created_at - updated_at examples: - default: &607 + default: &610 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66249,9 +66976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: false content: @@ -66295,9 +67022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: false content: @@ -66351,9 +67078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -66490,8 +67217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -66509,9 +67236,9 @@ paths: type: integer secrets: type: array - items: *493 + items: *496 examples: - default: *494 + default: *497 headers: Link: *47 x-github: @@ -66536,16 +67263,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66567,17 +67294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &634 + default: &637 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66603,8 +67330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -66662,8 +67389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -66689,9 +67416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *462 - - *463 - - *480 + - *465 + - *466 + - *483 - *19 responses: '200': @@ -66708,9 +67435,9 @@ paths: type: integer variables: type: array - items: *497 + items: *500 examples: - default: *498 + default: *501 headers: Link: *47 x-github: @@ -66733,8 +67460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -66786,17 +67513,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: &635 + default: &638 value: name: USERNAME value: octocat @@ -66822,8 +67549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 requestBody: required: true @@ -66866,8 +67593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 responses: '204': @@ -66893,8 +67620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -66912,7 +67639,7 @@ paths: type: integer workflows: type: array - items: &499 + items: &502 title: Workflow description: A GitHub Actions workflow type: object @@ -67019,9 +67746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *462 - - *463 - - &500 + - *465 + - *466 + - &503 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67036,7 +67763,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *502 examples: default: value: @@ -67069,9 +67796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Response @@ -67096,9 +67823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -67185,9 +67912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Response @@ -67214,19 +67941,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *462 - - *463 - - *500 - - *501 - - *502 + - *465 + - *466 - *503 - *504 - - *17 - - *19 - *505 - - *484 - *506 - *507 + - *17 + - *19 + - *508 + - *487 + - *509 + - *510 responses: '200': description: Response @@ -67242,9 +67969,9 @@ paths: type: integer workflow_runs: type: array - items: *485 + items: *488 examples: - default: *508 + default: *511 headers: Link: *47 x-github: @@ -67277,9 +68004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '200': description: Response @@ -67340,8 +68067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *462 - - *463 + - *465 + - *466 - *110 - *17 - *108 @@ -67505,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -67543,8 +68270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *462 - - *463 + - *465 + - *466 - name: assignee in: path required: true @@ -67580,8 +68307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -67693,8 +68420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *108 - *109 @@ -67751,7 +68478,7 @@ paths: initiator: type: string examples: - default: *509 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67771,8 +68498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -67780,7 +68507,7 @@ paths: application/json: schema: type: array - items: &510 + items: &513 title: Autolink reference description: An autolink reference. type: object @@ -67834,8 +68561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -67874,9 +68601,9 @@ paths: description: response content: application/json: - schema: *510 + schema: *513 examples: - default: &511 + default: &514 value: id: 1 key_prefix: TICKET- @@ -67907,9 +68634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *462 - - *463 - - &512 + - *465 + - *466 + - &515 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67921,9 +68648,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *513 examples: - default: *511 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -67943,9 +68670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *462 - - *463 - - *512 + - *465 + - *466 + - *515 responses: '204': description: Response @@ -67969,8 +68696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response if Dependabot is enabled @@ -68018,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -68040,8 +68767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -68061,8 +68788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *462 - - *463 + - *465 + - *466 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68100,7 +68827,7 @@ paths: - url protected: type: boolean - protection: &514 + protection: &517 title: Branch Protection description: Branch Protection type: object @@ -68142,7 +68869,7 @@ paths: required: - contexts - checks - enforce_admins: &517 + enforce_admins: &520 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68157,7 +68884,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &519 + required_pull_request_reviews: &522 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68233,7 +68960,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &516 + restrictions: &519 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68510,9 +69237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *462 - - *463 - - &515 + - *465 + - *466 + - &518 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -68526,14 +69253,14 @@ paths: description: Response content: application/json: - schema: &525 + schema: &528 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &579 + commit: &582 title: Commit description: Commit type: object @@ -68567,7 +69294,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &513 + properties: &516 name: type: string example: '"Chris Wanstrath"' @@ -68583,7 +69310,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true message: type: string @@ -68604,7 +69331,7 @@ paths: required: - sha - url - verification: &641 + verification: &644 title: Verification type: object properties: @@ -68674,7 +69401,7 @@ paths: type: integer files: type: array - items: &592 + items: &595 title: Diff Entry description: Diff Entry type: object @@ -68758,7 +69485,7 @@ paths: - self protected: type: boolean - protection: *514 + protection: *517 protection_url: type: string format: uri @@ -68865,7 +69592,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *468 + '301': *471 '404': *6 x-github: githubCloudOnly: false @@ -68887,15 +69614,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -69089,9 +69816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -69346,7 +70073,7 @@ paths: url: type: string format: uri - required_status_checks: &522 + required_status_checks: &525 title: Status Check Policy description: Status Check Policy type: object @@ -69498,7 +70225,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *516 + restrictions: *519 required_conversation_resolution: type: object properties: @@ -69610,9 +70337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69637,17 +70364,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &518 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69669,17 +70396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69698,9 +70425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69725,17 +70452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: &520 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69831,9 +70558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -69931,9 +70658,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -69954,9 +70681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69983,17 +70710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &521 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70016,17 +70743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *521 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -70046,9 +70773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70073,17 +70800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: &523 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70109,9 +70836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70163,9 +70890,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *523 + default: *526 '404': *6 '422': *15 x-github: @@ -70187,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70213,9 +70940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70249,9 +70976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70318,9 +71045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70384,9 +71111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: content: application/json: @@ -70452,15 +71179,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70551,9 +71278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70576,9 +71303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70588,7 +71315,7 @@ paths: type: array items: *5 examples: - default: &524 + default: &527 value: - id: 1 slug: octoapp @@ -70645,9 +71372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70681,7 +71408,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70702,9 +71429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70738,7 +71465,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70759,9 +71486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70795,7 +71522,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70817,9 +71544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70829,7 +71556,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -70849,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70889,7 +71616,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -70910,9 +71637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70950,7 +71677,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -70971,9 +71698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: content: application/json: @@ -71010,7 +71737,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -71032,9 +71759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -71068,9 +71795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71128,9 +71855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71188,9 +71915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71250,9 +71977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71274,7 +72001,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: default: value: @@ -71388,8 +72115,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 @@ -71425,8 +72152,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71499,8 +72226,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 @@ -71540,8 +72267,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71611,8 +72338,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71683,8 +72410,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_response_id in: path required: true @@ -71717,8 +72444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -71997,7 +72724,7 @@ paths: description: Response content: application/json: - schema: &526 + schema: &529 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72117,7 +72844,7 @@ paths: check. type: array items: *230 - deployment: &866 + deployment: &868 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72397,9 +73124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *462 - - *463 - - &527 + - *465 + - *466 + - &530 name: check_run_id description: The unique identifier of the check run. in: path @@ -72411,9 +73138,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: &528 + default: &531 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72513,9 +73240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 requestBody: required: true content: @@ -72755,9 +73482,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *528 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72777,9 +73504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 - *17 - *19 responses: @@ -72874,9 +73601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 responses: '201': description: Response @@ -72920,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -72943,7 +73670,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &531 + schema: &534 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73029,12 +73756,12 @@ paths: type: string format: date-time nullable: true - head_commit: &899 + head_commit: &901 title: Simple Commit description: A commit. type: object - properties: *529 - required: *530 + properties: *532 + required: *533 latest_check_runs_count: type: integer check_runs_url: @@ -73062,7 +73789,7 @@ paths: - check_runs_url - pull_requests examples: - default: &532 + default: &535 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73353,9 +74080,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *531 + schema: *534 examples: - default: *532 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73374,8 +74101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -73684,9 +74411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *462 - - *463 - - &533 + - *465 + - *466 + - &536 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73698,9 +74425,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *532 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73723,17 +74450,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *462 - - *463 - - *533 - - &585 + - *465 + - *466 + - *536 + - &588 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &586 + - &589 name: status description: Returns check runs with the specified `status`. in: query @@ -73772,9 +74499,9 @@ paths: type: integer check_runs: type: array - items: *526 + items: *529 examples: - default: &587 + default: &590 value: total_count: 1 check_runs: @@ -73876,9 +74603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *462 - - *463 - - *533 + - *465 + - *466 + - *536 responses: '201': description: Response @@ -73911,21 +74638,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *321 - *322 - *19 - *17 - - &549 + - &552 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *534 - - &550 + schema: *537 + - &553 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73956,7 +74683,7 @@ paths: be returned. in: query required: false - schema: *535 + schema: *538 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73980,7 +74707,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *536 + instances_url: *539 state: *113 fixed_at: *138 dismissed_by: @@ -73991,11 +74718,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *537 - dismissed_comment: *538 - rule: *539 - tool: *540 - most_recent_instance: *541 + dismissed_reason: *540 + dismissed_comment: *541 + rule: *542 + tool: *543 + most_recent_instance: *544 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74121,7 +74848,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &542 + '403': &545 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74148,9 +74875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *462 - - *463 - - &543 + - *465 + - *466 + - &546 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74164,7 +74891,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &547 type: object properties: number: *128 @@ -74172,7 +74899,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *536 + instances_url: *539 state: *113 fixed_at: *138 dismissed_by: @@ -74183,8 +74910,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *537 - dismissed_comment: *538 + dismissed_reason: *540 + dismissed_comment: *541 rule: type: object properties: @@ -74238,8 +74965,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *540 - most_recent_instance: *541 + tool: *543 + most_recent_instance: *544 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74338,7 +75065,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74358,9 +75085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: true content: @@ -74375,8 +75102,8 @@ paths: enum: - open - dismissed - dismissed_reason: *537 - dismissed_comment: *538 + dismissed_reason: *540 + dismissed_comment: *541 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74404,7 +75131,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -74480,7 +75207,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &548 + '403': &551 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74507,15 +75234,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 responses: '200': description: Response content: application/json: - schema: &545 + schema: &548 type: object properties: status: @@ -74541,13 +75268,13 @@ paths: - description - started_at examples: - default: &546 + default: &549 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &547 + '400': &550 description: Bad Request content: application/json: @@ -74558,7 +75285,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74583,29 +75310,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 responses: '200': description: OK content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '202': description: Accepted content: application/json: - schema: *545 + schema: *548 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *547 + '400': *550 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74637,9 +75364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: false content: @@ -74684,8 +75411,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *547 - '403': *548 + '400': *550 + '403': *551 '404': *6 '422': description: Unprocessable Entity @@ -74709,13 +75436,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 - *19 - *17 - - *549 - - *550 + - *552 + - *553 responses: '200': description: Response @@ -74726,10 +75453,10 @@ paths: items: type: object properties: - ref: *534 - analysis_key: *551 - environment: *552 - category: *553 + ref: *537 + analysis_key: *554 + environment: *555 + category: *556 state: type: string description: State of a code scanning alert instance. @@ -74744,7 +75471,7 @@ paths: properties: text: type: string - location: *554 + location: *557 html_url: type: string classifications: @@ -74752,7 +75479,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *555 + items: *558 examples: default: value: @@ -74789,7 +75516,7 @@ paths: end_column: 50 classifications: - source - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74823,25 +75550,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *321 - *322 - *19 - *17 - - *550 + - *553 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *534 + schema: *537 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &556 + schema: &559 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74862,23 +75589,23 @@ paths: application/json: schema: type: array - items: &557 + items: &560 type: object properties: - ref: *534 - commit_sha: &565 + ref: *537 + commit_sha: &568 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *551 + analysis_key: *554 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *553 + category: *556 error: type: string example: error reading field xyz @@ -74902,8 +75629,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *556 - tool: *540 + sarif_id: *559 + tool: *543 deletable: type: boolean warning: @@ -74964,7 +75691,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75000,8 +75727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75014,7 +75741,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: response: summary: application/json response @@ -75068,7 +75795,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *542 + '403': *545 '404': *6 '422': description: Response if analysis could not be processed @@ -75155,8 +75882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75209,7 +75936,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *548 + '403': *551 '404': *6 '503': *196 x-github: @@ -75231,8 +75958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -75240,7 +75967,7 @@ paths: application/json: schema: type: array - items: &558 + items: &561 title: CodeQL Database description: A CodeQL database. type: object @@ -75351,7 +76078,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75380,8 +76107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: language in: path description: The language of the CodeQL database. @@ -75393,7 +76120,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -75425,9 +76152,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &594 + '302': &597 description: Found - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75449,8 +76176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *462 - - *463 + - *465 + - *466 - name: language in: path description: The language of the CodeQL database. @@ -75460,7 +76187,7 @@ paths: responses: '204': description: Response - '403': *548 + '403': *551 '404': *6 '503': *196 x-github: @@ -75488,8 +76215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -75498,7 +76225,7 @@ paths: type: object additionalProperties: false properties: - language: &559 + language: &562 type: string description: The language targeted by the CodeQL query enum: @@ -75578,7 +76305,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &563 + schema: &566 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75588,7 +76315,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *559 + query_language: *562 query_pack_url: type: string description: The download url for the query pack. @@ -75635,7 +76362,7 @@ paths: items: type: object properties: - repository: &560 + repository: &563 title: Repository Identifier description: Repository Identifier type: object @@ -75671,7 +76398,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &564 + analysis_status: &567 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75703,7 +76430,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &561 + access_mismatch_repos: &564 type: object properties: repository_count: @@ -75717,7 +76444,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *560 + items: *563 required: - repository_count - repositories @@ -75739,8 +76466,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *561 - over_limit_repos: *561 + no_codeql_db_repos: *564 + over_limit_repos: *564 required: - access_mismatch_repos - not_found_repos @@ -75756,7 +76483,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &562 + value: &565 summary: Default response value: id: 1 @@ -75902,10 +76629,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *562 + value: *565 repository_lists: summary: Response for a successful variant analysis submission - value: *562 + value: *565 '404': *6 '422': description: Unable to process variant analysis submission @@ -75933,8 +76660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *462 - - *463 + - *465 + - *466 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75946,9 +76673,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *562 + default: *565 '404': *6 '503': *196 x-github: @@ -75971,7 +76698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *462 + - *465 - name: repo in: path description: The name of the controller repository. @@ -76006,7 +76733,7 @@ paths: type: object properties: repository: *120 - analysis_status: *564 + analysis_status: *567 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76131,8 +76858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76217,7 +76944,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -76238,8 +76965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -76331,7 +77058,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *548 + '403': *551 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76402,8 +77129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -76411,7 +77138,7 @@ paths: schema: type: object properties: - commit_sha: *565 + commit_sha: *568 ref: type: string description: |- @@ -76469,7 +77196,7 @@ paths: schema: type: object properties: - id: *556 + id: *559 url: type: string description: The REST API URL for checking the status of the upload. @@ -76483,7 +77210,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *548 + '403': *551 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76506,8 +77233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *462 - - *463 + - *465 + - *466 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76553,7 +77280,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *542 + '403': *545 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -76578,8 +77305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76660,8 +77387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76781,8 +77508,8 @@ paths: parameters: - *17 - *19 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76798,7 +77525,7 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: default: value: @@ -77096,8 +77823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -77160,17 +77887,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '400': *14 '401': *25 '403': *29 @@ -77199,8 +77926,8 @@ paths: parameters: - *17 - *19 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -77264,8 +77991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77300,14 +78027,14 @@ paths: type: integer machines: type: array - items: &811 + items: &813 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *567 - required: *568 + properties: *570 + required: *571 examples: - default: &812 + default: &814 value: total_count: 2 machines: @@ -77347,8 +78074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77432,8 +78159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -77499,8 +78226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -77518,7 +78245,7 @@ paths: type: integer secrets: type: array - items: &572 + items: &575 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77538,7 +78265,7 @@ paths: - created_at - updated_at examples: - default: *569 + default: *572 headers: Link: *47 x-github: @@ -77561,16 +78288,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *571 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77590,17 +78317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *573 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77620,8 +78347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -77674,8 +78401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -77704,8 +78431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *462 - - *463 + - *465 + - *466 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77747,7 +78474,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &574 + properties: &577 login: type: string example: octocat @@ -77840,7 +78567,7 @@ paths: user_view_type: type: string example: public - required: &575 + required: &578 - avatar_url - events_url - followers_url @@ -77914,8 +78641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '204': @@ -77962,8 +78689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 requestBody: required: false @@ -77990,7 +78717,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &653 + schema: &656 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78219,8 +78946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '204': @@ -78252,8 +78979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '200': @@ -78274,8 +79001,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *574 - required: *575 + properties: *577 + required: *578 nullable: true required: - permission @@ -78330,8 +79057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -78341,7 +79068,7 @@ paths: application/json: schema: type: array - items: &576 + items: &579 title: Commit Comment description: Commit Comment type: object @@ -78399,7 +79126,7 @@ paths: - created_at - updated_at examples: - default: &581 + default: &584 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78458,17 +79185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *576 + schema: *579 examples: - default: &582 + default: &585 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78525,8 +79252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -78549,7 +79276,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -78600,8 +79327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -78623,8 +79350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78651,7 +79378,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -78694,7 +79421,7 @@ paths: - content - created_at examples: - default: &657 + default: &660 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78739,8 +79466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -78773,9 +79500,9 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: &578 + default: &581 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78804,9 +79531,9 @@ paths: description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -78828,10 +79555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - &658 + - &661 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78886,8 +79613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *462 - - *463 + - *465 + - *466 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78943,9 +79670,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: &709 + default: &712 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79039,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *462 - - *463 - - &580 + - *465 + - *466 + - &583 name: commit_sha description: The SHA of the commit. in: path @@ -79113,9 +79840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 - *17 - *19 responses: @@ -79125,9 +79852,9 @@ paths: application/json: schema: type: array - items: *576 + items: *579 examples: - default: *581 + default: *584 headers: Link: *47 x-github: @@ -79155,9 +79882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 requestBody: required: true content: @@ -79192,9 +79919,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: - default: *582 + default: *585 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79222,9 +79949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 - *17 - *19 responses: @@ -79234,9 +79961,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: &701 + default: &704 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79773,11 +80500,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 - - &584 + - &587 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79792,9 +80519,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: &686 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79907,11 +80634,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *462 - - *463 - - *584 - - *585 - - *586 + - *465 + - *466 + - *587 + - *588 + - *589 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79945,9 +80672,9 @@ paths: type: integer check_runs: type: array - items: *526 + items: *529 examples: - default: *587 + default: *590 headers: Link: *47 x-github: @@ -79972,9 +80699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79982,7 +80709,7 @@ paths: schema: type: integer example: 1 - - *585 + - *588 - *17 - *19 responses: @@ -80000,7 +80727,7 @@ paths: type: integer check_suites: type: array - items: *531 + items: *534 examples: default: value: @@ -80200,9 +80927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - *17 - *19 responses: @@ -80400,9 +81127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - *17 - *19 responses: @@ -80412,7 +81139,7 @@ paths: application/json: schema: type: array - items: &762 + items: &765 title: Status description: The status of a commit. type: object @@ -80493,7 +81220,7 @@ paths: site_admin: false headers: Link: *47 - '301': *468 + '301': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80521,8 +81248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -80551,20 +81278,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *588 - required: *589 + properties: *591 + required: *592 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &590 + properties: &593 url: type: string format: uri html_url: type: string format: uri - required: &591 + required: &594 - url - html_url nullable: true @@ -80578,26 +81305,26 @@ paths: contributing: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true readme: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true issue_template: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true pull_request_template: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true required: - code_of_conduct @@ -80724,8 +81451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 - name: basehead @@ -80768,8 +81495,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *579 - merge_base_commit: *579 + base_commit: *582 + merge_base_commit: *582 status: type: string enum: @@ -80789,10 +81516,10 @@ paths: example: 6 commits: type: array - items: *579 + items: *582 files: type: array - items: *592 + items: *595 required: - url - html_url @@ -81078,8 +81805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -81094,6 +81821,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -81222,7 +81966,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &593 + response-if-content-is-a-file-github-object: &596 summary: Response if content is a file value: type: file @@ -81240,7 +81984,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: summary: Response if content is a directory and the application/vnd.github.v3.object media type is requested value: @@ -81354,7 +82098,7 @@ paths: - size - type - url - - &714 + - &717 title: Content File description: Content File type: object @@ -81555,7 +82299,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *593 + response-if-content-is-a-file: *596 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81624,7 +82368,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *594 + '302': *597 '304': *37 x-github: githubCloudOnly: false @@ -81647,8 +82391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -81741,7 +82485,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &598 title: File Commit description: File Commit type: object @@ -81893,7 +82637,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: example-for-creating-a-file: value: @@ -81947,7 +82691,7 @@ paths: schema: oneOf: - *3 - - &636 + - &639 description: Repository rule violation was detected type: object properties: @@ -81968,7 +82712,7 @@ paths: items: type: object properties: - placeholder_id: &754 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82000,8 +82744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -82062,7 +82806,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -82117,8 +82861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *462 - - *463 + - *465 + - *466 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82241,22 +82985,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *462 - - *463 - - *336 + - *465 + - *466 - *337 - *338 - *339 + - *340 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *340 - - *596 - *341 + - *599 - *342 + - *343 + - *344 - *110 - *108 - *109 @@ -82268,7 +83013,7 @@ paths: application/json: schema: type: array - items: &600 + items: &603 type: object description: A Dependabot alert. properties: @@ -82314,7 +83059,7 @@ paths: - unknown - direct - transitive - security_advisory: *597 + security_advisory: *600 security_vulnerability: *132 url: *133 html_url: *134 @@ -82345,8 +83090,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *598 - dismissal_request: *599 + auto_dismissed_at: *601 + dismissal_request: *602 assignees: type: array description: The users assigned to this alert. @@ -82473,6 +83218,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -82557,6 +83321,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *37 '400': *14 '403': *29 @@ -82581,9 +83346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *462 - - *463 - - &601 + - *465 + - *466 + - &604 name: alert_number in: path description: |- @@ -82598,7 +83363,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: default: value: @@ -82689,6 +83454,25 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false '304': *37 '403': *29 '404': *6 @@ -82711,9 +83495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *462 - - *463 - - *601 + - *465 + - *466 + - *604 requestBody: required: true content: @@ -82744,8 +83528,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -82758,7 +83553,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: default: value: @@ -82861,6 +83656,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *29 '404': *6 @@ -82887,8 +83683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -82906,7 +83702,7 @@ paths: type: integer secrets: type: array - items: &604 + items: &607 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82959,16 +83755,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82988,15 +83784,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *604 + schema: *607 examples: default: value: @@ -83022,8 +83818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -83076,8 +83872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -83100,8 +83896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *462 - - *463 + - *465 + - *466 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -83261,8 +84057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -83501,8 +84297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -83577,7 +84373,7 @@ paths: - version - url additionalProperties: false - metadata: &605 + metadata: &608 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83610,7 +84406,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *605 + metadata: *608 resolved: type: object description: A collection of resolved package dependencies. @@ -83623,7 +84419,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *605 + metadata: *608 relationship: type: string description: A notation of whether a dependency is requested @@ -83752,8 +84548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *462 - - *463 + - *465 + - *466 - name: sha description: The SHA recorded at creation time. in: query @@ -83793,9 +84589,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *607 + default: *610 headers: Link: *47 x-github: @@ -83861,8 +84657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -83943,7 +84739,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: simple-example: summary: Simple example @@ -84016,9 +84812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *462 - - *463 - - &608 + - *465 + - *466 + - &611 name: deployment_id description: deployment_id parameter in: path @@ -84030,7 +84826,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: default: value: @@ -84095,9 +84891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 responses: '204': description: Response @@ -84119,9 +84915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 - *17 - *19 responses: @@ -84131,7 +84927,7 @@ paths: application/json: schema: type: array - items: &609 + items: &612 title: Deployment Status description: The status of a deployment. type: object @@ -84292,9 +85088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 requestBody: required: true content: @@ -84369,9 +85165,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: &610 + default: &613 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84427,9 +85223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 - name: status_id in: path required: true @@ -84440,9 +85236,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *610 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -84469,12 +85265,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 - - *611 - - *612 - - *613 + - *465 + - *466 - *614 + - *615 + - *616 + - *617 - *17 - *19 responses: @@ -84484,9 +85280,9 @@ paths: application/json: schema: type: array - items: *615 + items: *618 examples: - default: *616 + default: *619 '404': *6 '403': *29 '500': *40 @@ -84510,8 +85306,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84523,7 +85319,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -84579,8 +85375,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84639,12 +85435,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 - - *611 - - *612 - - *613 + - *465 + - *466 - *614 + - *615 + - *616 + - *617 - *17 - *19 responses: @@ -84654,9 +85450,9 @@ paths: application/json: schema: type: array - items: *617 + items: *620 examples: - default: *618 + default: *621 '404': *6 '403': *29 '500': *40 @@ -84680,8 +85476,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84693,7 +85489,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *620 examples: default: value: @@ -84744,8 +85540,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84783,7 +85579,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *617 + schema: *620 examples: default: value: @@ -84834,8 +85630,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84906,8 +85702,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84940,12 +85736,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 - - *347 + - *349 - *17 - *19 responses: @@ -84955,9 +85751,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 '404': *6 '403': *29 '500': *40 @@ -84982,8 +85778,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84995,7 +85791,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *622 examples: default: value: @@ -85053,8 +85849,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -85123,8 +85919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -85181,8 +85977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -85199,7 +85995,7 @@ paths: type: integer environments: type: array - items: &622 + items: &625 title: Environment description: Details of a deployment environment type: object @@ -85251,7 +86047,7 @@ paths: type: type: string example: wait_timer - wait_timer: &624 + wait_timer: &627 type: integer example: 30 description: The amount of time to delay a job after @@ -85288,7 +86084,7 @@ paths: items: type: object properties: - type: *621 + type: *624 reviewer: anyOf: - *4 @@ -85312,7 +86108,7 @@ paths: - id - node_id - type - deployment_branch_policy: &625 + deployment_branch_policy: &628 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -85428,9 +86224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *462 - - *463 - - &623 + - *465 + - *466 + - &626 name: environment_name in: path required: true @@ -85443,9 +86239,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &626 + default: &629 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85529,9 +86325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: false content: @@ -85540,7 +86336,7 @@ paths: type: object nullable: true properties: - wait_timer: *624 + wait_timer: *627 prevent_self_review: type: boolean example: false @@ -85557,13 +86353,13 @@ paths: items: type: object properties: - type: *621 + type: *624 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *625 + deployment_branch_policy: *628 additionalProperties: false examples: default: @@ -85583,9 +86379,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *626 + default: *629 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85609,9 +86405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 responses: '204': description: Default response @@ -85636,9 +86432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *17 - *19 responses: @@ -85656,7 +86452,7 @@ paths: example: 2 branch_policies: type: array - items: &627 + items: &630 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85713,9 +86509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: true content: @@ -85761,9 +86557,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - example-wildcard: &628 + example-wildcard: &631 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85805,10 +86601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - &629 + - *465 + - *466 + - *626 + - &632 name: branch_policy_id in: path required: true @@ -85820,9 +86616,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *628 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85841,10 +86637,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - *629 + - *465 + - *466 + - *626 + - *632 requestBody: required: true content: @@ -85872,9 +86668,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *628 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85893,10 +86689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - *629 + - *465 + - *466 + - *626 + - *632 responses: '204': description: Response @@ -85921,9 +86717,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 responses: '200': description: List of deployment protection rules @@ -85939,7 +86735,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &630 + items: &633 title: Deployment protection rule description: Deployment protection rule type: object @@ -85958,7 +86754,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &631 + app: &634 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86057,9 +86853,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 requestBody: content: application/json: @@ -86080,9 +86876,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *630 + schema: *633 examples: - default: &632 + default: &635 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86117,9 +86913,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 - *19 - *17 responses: @@ -86138,7 +86934,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *631 + items: *634 examples: default: value: @@ -86173,10 +86969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *462 - - *463 - - *623 - - &633 + - *465 + - *466 + - *626 + - &636 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86188,9 +86984,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *632 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86211,10 +87007,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: - - *623 - - *463 - - *462 - - *633 + - *626 + - *466 + - *465 + - *636 responses: '204': description: Response @@ -86240,9 +87036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *17 - *19 responses: @@ -86260,9 +87056,9 @@ paths: type: integer secrets: type: array - items: *493 + items: *496 examples: - default: *494 + default: *497 headers: Link: *47 x-github: @@ -86287,17 +87083,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86319,18 +87115,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *634 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86352,9 +87148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 requestBody: required: true @@ -86412,9 +87208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 responses: '204': @@ -86440,10 +87236,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *462 - - *463 - - *623 - - *480 + - *465 + - *466 + - *626 + - *483 - *19 responses: '200': @@ -86460,9 +87256,9 @@ paths: type: integer variables: type: array - items: *497 + items: *500 examples: - default: *498 + default: *501 headers: Link: *47 x-github: @@ -86485,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: true content: @@ -86539,18 +87335,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *301 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86571,10 +87367,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 - - *623 + - *626 requestBody: required: true content: @@ -86616,10 +87412,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 - - *623 + - *626 responses: '204': description: Response @@ -86641,8 +87437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -86710,8 +87506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *462 - - *463 + - *465 + - *466 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86870,8 +87666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -86903,9 +87699,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 '400': *14 '422': *15 '403': *29 @@ -86926,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -86987,7 +87783,7 @@ paths: schema: oneOf: - *263 - - *636 + - *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87012,8 +87808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *462 - - *463 + - *465 + - *466 - name: file_sha in: path required: true @@ -87112,8 +87908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87222,7 +88018,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &640 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87436,15 +88232,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 responses: '200': description: Response content: application/json: - schema: *637 + schema: *640 examples: default: value: @@ -87500,9 +88296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *462 - - *463 - - &638 + - *465 + - *466 + - &641 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. @@ -87519,7 +88315,7 @@ paths: application/json: schema: type: array - items: &639 + items: &642 title: Git Reference description: Git references within a repository type: object @@ -87594,17 +88390,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 responses: '200': description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: &640 + default: &643 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87633,8 +88429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87663,9 +88459,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87691,9 +88487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 requestBody: required: true content: @@ -87722,9 +88518,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 '422': *15 '409': *119 x-github: @@ -87742,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 responses: '204': description: Response @@ -87799,8 +88595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87867,7 +88663,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &645 title: Git Tag description: Metadata for a Git tag type: object @@ -87918,7 +88714,7 @@ paths: - sha - type - url - verification: *641 + verification: *644 required: - sha - url @@ -87928,7 +88724,7 @@ paths: - tag - message examples: - default: &643 + default: &646 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88001,8 +88797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *462 - - *463 + - *465 + - *466 - name: tag_sha in: path required: true @@ -88013,9 +88809,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *643 + default: *646 '404': *6 '409': *119 x-github: @@ -88039,8 +88835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -88113,7 +88909,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &647 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88209,8 +89005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *462 - - *463 + - *465 + - *466 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88233,7 +89029,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *647 examples: default-response: summary: Default response @@ -88292,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -88303,7 +89099,7 @@ paths: application/json: schema: type: array - items: &645 + items: &648 title: Webhook description: Webhooks for repositories. type: object @@ -88357,7 +89153,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &907 + last_response: &909 title: Hook Response type: object properties: @@ -88431,8 +89227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -88484,9 +89280,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: &646 + default: &649 value: type: Repository id: 12345678 @@ -88534,17 +89330,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '200': description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *646 + default: *649 '404': *6 x-github: githubCloudOnly: false @@ -88564,9 +89360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 requestBody: required: true content: @@ -88611,9 +89407,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *646 + default: *649 '422': *15 '404': *6 x-github: @@ -88634,9 +89430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88660,9 +89456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '200': description: Response @@ -88689,9 +89485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 requestBody: required: false content: @@ -88735,11 +89531,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *17 - - *353 + - *355 responses: '200': description: Response @@ -88747,9 +89543,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 '400': *14 '422': *15 x-github: @@ -88768,18 +89564,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *16 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '400': *14 '422': *15 x-github: @@ -88798,9 +89594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *16 responses: '202': *39 @@ -88823,9 +89619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88850,9 +89646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88875,8 +89671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response if immutable releases are enabled @@ -88922,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '409': *119 @@ -88943,8 +89739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '409': *119 @@ -89001,14 +89797,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &647 + schema: &650 title: Import description: A repository import from an external source. type: object @@ -89107,7 +89903,7 @@ paths: - html_url - authors_url examples: - default: &650 + default: &653 value: vcs: subversion use_lfs: true @@ -89123,7 +89919,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': &648 + '503': &651 description: Unavailable due to service under maintenance. content: application/json: @@ -89152,8 +89948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -89201,7 +89997,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -89226,7 +90022,7 @@ paths: type: string '422': *15 '404': *6 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89254,8 +90050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -89304,7 +90100,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: example-1: summary: Example 1 @@ -89352,7 +90148,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': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89375,12 +90171,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89406,9 +90202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *462 - - *463 - - &833 + - *465 + - *466 + - &835 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89422,7 +90218,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Porter Author description: Porter Author type: object @@ -89476,7 +90272,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': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89501,8 +90297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *462 - - *463 + - *465 + - *466 - name: author_id in: path required: true @@ -89532,7 +90328,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: default: value: @@ -89545,7 +90341,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89569,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89611,7 +90407,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89639,8 +90435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -89667,11 +90463,11 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: - default: *650 + default: *653 '422': *15 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89694,8 +90490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89703,8 +90499,8 @@ paths: application/json: schema: *22 examples: - default: *369 - '301': *468 + default: *371 + '301': *471 '404': *6 x-github: githubCloudOnly: false @@ -89724,8 +90520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89733,12 +90529,12 @@ paths: application/json: schema: anyOf: - - *371 + - *373 - type: object properties: {} additionalProperties: false examples: - default: &652 + default: &655 value: limit: collaborators_only origin: repository @@ -89763,13 +90559,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *651 + schema: *654 examples: default: summary: Example request body @@ -89781,9 +90577,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *652 + default: *655 '409': description: Response x-github: @@ -89805,8 +90601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -89829,8 +90625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -89840,9 +90636,9 @@ paths: application/json: schema: type: array - items: *653 + items: *656 examples: - default: &826 + default: &828 value: - id: 1 repository: @@ -89973,9 +90769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *462 - - *463 - - *375 + - *465 + - *466 + - *377 requestBody: required: false content: @@ -90004,7 +90800,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: default: value: @@ -90135,9 +90931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *462 - - *463 - - *375 + - *465 + - *466 + - *377 responses: '204': description: Response @@ -90168,8 +90964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *462 - - *463 + - *465 + - *466 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -90217,7 +91013,7 @@ paths: required: false schema: type: string - - *379 + - *381 - name: sort description: What to sort results by. in: query @@ -90242,7 +91038,7 @@ paths: type: array items: *225 examples: - default: &665 + default: &668 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90391,7 +91187,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *468 + '301': *471 '422': *15 '404': *6 x-github: @@ -90420,8 +91216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -90505,7 +91301,7 @@ paths: application/json: schema: *225 examples: - default: &662 + default: &665 value: id: 1 node_id: MDU6SXNzdWUx @@ -90662,7 +91458,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *654 + '410': *657 x-github: triggersNotification: true githubCloudOnly: false @@ -90690,8 +91486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *249 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90712,9 +91508,9 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: &664 + default: &667 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90772,17 +91568,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: &656 + default: &659 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90837,8 +91633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -90861,9 +91657,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: *656 + default: *659 '422': *15 x-github: githubCloudOnly: false @@ -90881,8 +91677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -90911,15 +91707,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *655 + schema: *658 examples: default: value: @@ -90975,7 +91771,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -90992,8 +91788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -91001,7 +91797,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 '503': *196 x-github: githubCloudOnly: false @@ -91019,8 +91815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91047,9 +91843,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -91070,8 +91866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -91104,16 +91900,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -91135,10 +91931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - *658 + - *661 responses: '204': description: Response @@ -91158,8 +91954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -91169,7 +91965,7 @@ paths: application/json: schema: type: array - items: &661 + items: &664 title: Issue Event description: Issue Event type: object @@ -91212,8 +92008,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *659 - required: *660 + properties: *662 + required: *663 nullable: true label: title: Issue Event Label @@ -91521,8 +92317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *462 - - *463 + - *465 + - *466 - name: event_id in: path required: true @@ -91533,7 +92329,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *664 examples: default: value: @@ -91726,7 +92522,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *654 + '410': *657 '403': *29 x-github: githubCloudOnly: false @@ -91760,9 +92556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *462 - - *463 - - &663 + - *465 + - *466 + - &666 name: issue_number description: The number that identifies the issue. in: path @@ -91787,7 +92583,7 @@ paths: examples: default: summary: Issue - value: *662 + value: *665 pinned_comment: summary: Issue with pinned comment value: @@ -91986,9 +92782,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 '304': *37 x-github: githubCloudOnly: false @@ -92013,9 +92809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -92121,13 +92917,13 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 '422': *15 '503': *196 '403': *29 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92145,9 +92941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -92175,7 +92971,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92191,9 +92987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: content: application/json: @@ -92220,7 +93016,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92242,9 +93038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: assignee in: path required: true @@ -92284,9 +93080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *232 - *17 - *19 @@ -92297,13 +93093,13 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: *664 + default: *667 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +93128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -92356,16 +93152,16 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: *656 + default: *659 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -92393,9 +93189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92407,12 +93203,12 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92440,9 +93236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -92466,15 +93262,15 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *468 + '301': *471 '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -92505,9 +93301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92521,13 +93317,13 @@ paths: application/json: schema: *225 examples: - default: *662 - '301': *468 + default: *665 + '301': *471 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 x-github: triggersNotification: true githubCloudOnly: false @@ -92553,9 +93349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92567,12 +93363,12 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92589,9 +93385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92605,7 +93401,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &667 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92659,7 +93455,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92795,7 +93591,7 @@ paths: - performed_via_github_app - assignee - assigner - - &669 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92846,7 +93642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92897,7 +93693,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92951,7 +93747,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92998,7 +93794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93045,7 +93841,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93105,7 +93901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -93153,7 +93949,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93219,7 +94015,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93285,7 +94081,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93351,7 +94147,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93442,7 +94238,7 @@ paths: color: red headers: Link: *47 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93459,9 +94255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -93473,7 +94269,7 @@ paths: type: array items: *224 examples: - default: &666 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93491,9 +94287,9 @@ paths: default: false headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93509,9 +94305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93556,10 +94352,10 @@ paths: type: array items: *224 examples: - default: *666 - '301': *468 + default: *669 + '301': *471 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -93576,9 +94372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93640,10 +94436,10 @@ paths: type: array items: *224 examples: - default: *666 - '301': *468 + default: *669 + '301': *471 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -93660,15 +94456,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '204': description: Response - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93687,9 +94483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: name in: path required: true @@ -93713,9 +94509,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93735,9 +94531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93765,7 +94561,7 @@ paths: '204': description: Response '403': *29 - '410': *654 + '410': *657 '404': *6 '422': *15 x-github: @@ -93783,9 +94579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '204': description: Response @@ -93815,9 +94611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '200': description: Response @@ -93825,10 +94621,10 @@ paths: application/json: schema: *225 examples: - default: *662 - '301': *468 + default: *665 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93845,9 +94641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - 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. @@ -93873,13 +94669,13 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93897,9 +94693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -93931,16 +94727,16 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -93962,10 +94758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *462 - - *463 - - *663 - - *658 + - *465 + - *466 + - *666 + - *661 responses: '204': description: Response @@ -93994,9 +94790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94020,7 +94816,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94053,9 +94849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -94067,11 +94863,11 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94099,9 +94895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94130,14 +94926,14 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -94157,9 +94953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94192,7 +94988,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 '403': *29 '404': *6 '422': *7 @@ -94214,9 +95010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -94231,9 +95027,6 @@ paths: description: Timeline Event type: object anyOf: - - *667 - - *668 - - *669 - *670 - *671 - *672 @@ -94244,6 +95037,9 @@ paths: - *677 - *678 - *679 + - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94304,8 +95100,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true required: - event @@ -94560,7 +95356,7 @@ paths: type: string comments: type: array - items: &703 + items: &706 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94775,7 +95571,7 @@ paths: type: string comments: type: array - items: *576 + items: *579 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95064,7 +95860,7 @@ paths: headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95081,8 +95877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -95092,7 +95888,7 @@ paths: application/json: schema: type: array - items: &682 + items: &685 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95158,8 +95954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95195,9 +95991,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *685 examples: - default: &683 + default: &686 value: id: 1 key: ssh-rsa AAA... @@ -95231,9 +96027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *462 - - *463 - - &684 + - *465 + - *466 + - &687 name: key_id description: The unique identifier of the key. in: path @@ -95245,9 +96041,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *685 examples: - default: *683 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -95265,9 +96061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *462 - - *463 - - *684 + - *465 + - *466 + - *687 responses: '204': description: Response @@ -95287,8 +96083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -95300,7 +96096,7 @@ paths: type: array items: *224 examples: - default: *666 + default: *669 headers: Link: *47 '404': *6 @@ -95321,8 +96117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95360,7 +96156,7 @@ paths: application/json: schema: *224 examples: - default: &685 + default: &688 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95392,8 +96188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95406,7 +96202,7 @@ paths: application/json: schema: *224 examples: - default: *685 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -95423,8 +96219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95489,8 +96285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95516,8 +96312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -95553,8 +96349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '202': *39 '403': @@ -95582,8 +96378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -95609,9 +96405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *462 - - *463 - - *549 + - *465 + - *466 + - *552 responses: '200': description: Response @@ -95756,8 +96552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95822,8 +96618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95857,9 +96653,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *579 + schema: *582 examples: - default: *686 + default: *689 '204': description: Response when already merged '404': @@ -95884,8 +96680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *462 - - *463 + - *465 + - *466 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95926,12 +96722,12 @@ paths: application/json: schema: type: array - items: &687 + items: &690 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 examples: default: value: @@ -95987,8 +96783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96028,9 +96824,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: &688 + default: &691 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -96089,9 +96885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *462 - - *463 - - &689 + - *465 + - *466 + - &692 name: milestone_number description: The number that identifies the milestone. in: path @@ -96103,9 +96899,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 '404': *6 x-github: githubCloudOnly: false @@ -96122,9 +96918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 requestBody: required: false content: @@ -96162,9 +96958,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96180,9 +96976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 responses: '204': description: Response @@ -96203,9 +96999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 - *17 - *19 responses: @@ -96217,7 +97013,7 @@ paths: type: array items: *224 examples: - default: *666 + default: *669 headers: Link: *47 x-github: @@ -96236,12 +97032,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *462 - - *463 - - *690 - - *691 + - *465 + - *466 + - *693 + - *694 - *232 - - *692 + - *695 - *17 - *19 responses: @@ -96253,7 +97049,7 @@ paths: type: array items: *252 examples: - default: *693 + default: *696 headers: Link: *47 x-github: @@ -96277,8 +97073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -96336,14 +97132,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &694 + schema: &697 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96468,7 +97264,7 @@ paths: - custom_404 - public examples: - default: &695 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96509,8 +97305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96564,9 +97360,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '422': *15 '409': *119 x-github: @@ -96589,8 +97385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96697,8 +97493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -96724,8 +97520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -96735,7 +97531,7 @@ paths: application/json: schema: type: array - items: &696 + items: &699 title: Page Build description: Page Build type: object @@ -96829,8 +97625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -96875,16 +97671,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: &697 + default: &700 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96932,8 +97728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *462 - - *463 + - *465 + - *466 - name: build_id in: path required: true @@ -96944,9 +97740,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *697 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96966,8 +97762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97072,9 +97868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *462 - - *463 - - &698 + - *465 + - *466 + - &701 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97132,9 +97928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *462 - - *463 - - *698 + - *465 + - *466 + - *701 responses: '204': *155 '404': *6 @@ -97161,8 +97957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -97420,8 +98216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Private vulnerability reporting status @@ -97458,8 +98254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '422': *14 @@ -97480,8 +98276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '422': *14 @@ -97503,8 +98299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -97514,7 +98310,7 @@ paths: type: array items: *156 examples: - default: *699 + default: *702 '403': *29 '404': *6 x-github: @@ -97536,8 +98332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97553,7 +98349,7 @@ paths: required: - properties examples: - default: *700 + default: *703 responses: '204': description: No Content when custom property values are successfully created @@ -97591,8 +98387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97652,9 +98448,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *701 + default: *704 headers: Link: *47 '304': *37 @@ -97686,8 +98482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97752,7 +98548,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &708 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97863,8 +98659,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true active_lock_reason: type: string @@ -97909,7 +98705,7 @@ paths: nullable: true requested_teams: type: array - items: *447 + items: *449 nullable: true head: type: object @@ -97948,14 +98744,14 @@ paths: _links: type: object properties: - comments: *413 - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + comments: *415 + commits: *415 + statuses: *415 + html: *415 + issue: *415 + review_comments: *415 + review_comment: *415 + self: *415 required: - comments - commits @@ -97966,7 +98762,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *702 + auto_merge: *705 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -98058,7 +98854,7 @@ paths: - merged_by - review_comments examples: - default: &706 + default: &709 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98585,8 +99381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: sort in: query required: false @@ -98615,9 +99411,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &708 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98694,17 +99490,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: &704 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98779,8 +99575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -98803,9 +99599,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: *704 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98821,8 +99617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -98844,8 +99640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98872,9 +99668,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -98895,8 +99691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -98929,16 +99725,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -98960,10 +99756,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - *658 + - *661 responses: '204': description: Response @@ -99006,9 +99802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *462 - - *463 - - &707 + - *465 + - *466 + - &710 name: pull_number description: The number that identifies the pull request. in: path @@ -99021,9 +99817,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '304': *37 '404': *6 '406': @@ -99058,9 +99854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99102,9 +99898,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '422': *15 '403': *29 x-github: @@ -99126,9 +99922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -99188,17 +99984,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -99228,9 +100024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *249 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -99251,9 +100047,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *708 + default: *711 headers: Link: *47 x-github: @@ -99286,9 +100082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -99393,7 +100189,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: example-for-a-multi-line-comment: value: @@ -99481,9 +100277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *241 requestBody: required: true @@ -99506,7 +100302,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: default: value: @@ -99592,9 +100388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -99604,9 +100400,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: *709 + default: *712 headers: Link: *47 x-github: @@ -99636,9 +100432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -99648,7 +100444,7 @@ paths: application/json: schema: type: array - items: *592 + items: *595 examples: default: value: @@ -99686,9 +100482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 responses: '204': description: Response if pull request has been merged @@ -99711,9 +100507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99824,9 +100620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 responses: '200': description: Response @@ -99901,9 +100697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99940,7 +100736,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -100476,9 +101272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -100512,7 +101308,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -101017,9 +101813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -101029,7 +101825,7 @@ paths: application/json: schema: type: array - items: &710 + items: &713 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101180,9 +101976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -101268,9 +102064,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: &712 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101333,10 +102129,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - &711 + - *465 + - *466 + - *710 + - &714 name: review_id description: The unique identifier of the review. in: path @@ -101348,9 +102144,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: &713 + default: &716 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101409,10 +102205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101435,7 +102231,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: default: value: @@ -101497,18 +102293,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 responses: '200': description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: *712 + default: *715 '422': *7 '404': *6 x-github: @@ -101535,10 +102331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 - *17 - *19 responses: @@ -101621,9 +102417,9 @@ paths: _links: type: object properties: - self: *413 - html: *413 - pull_request: *413 + self: *415 + html: *415 + pull_request: *415 required: - self - html @@ -101773,10 +102569,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101804,7 +102600,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: default: value: @@ -101867,10 +102663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101905,9 +102701,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: *713 + default: *716 '404': *6 '422': *7 '403': *29 @@ -101929,9 +102725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -101994,8 +102790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102008,9 +102804,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: - default: &715 + default: &718 value: type: file encoding: base64 @@ -102052,8 +102848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *462 - - *463 + - *465 + - *466 - name: dir description: The alternate path to look for a README file in: path @@ -102073,9 +102869,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: - default: *715 + default: *718 '404': *6 '422': *15 x-github: @@ -102097,8 +102893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -102108,7 +102904,7 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: default: value: @@ -102202,8 +102998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -102279,9 +103075,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: &720 + default: &723 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102386,9 +103182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *462 - - *463 - - &718 + - *465 + - *466 + - &721 name: asset_id description: The unique identifier of the asset. in: path @@ -102400,9 +103196,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: - default: &719 + default: &722 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 @@ -102437,7 +103233,7 @@ paths: type: User site_admin: false '404': *6 - '302': *594 + '302': *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102453,9 +103249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *462 - - *463 - - *718 + - *465 + - *466 + - *721 requestBody: required: false content: @@ -102483,9 +103279,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: - default: *719 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102501,9 +103297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *462 - - *463 - - *718 + - *465 + - *466 + - *721 responses: '204': description: Response @@ -102527,8 +103323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -102613,16 +103409,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102639,8 +103435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *462 - - *463 + - *465 + - *466 - name: tag description: tag parameter in: path @@ -102653,9 +103449,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -102677,9 +103473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *462 - - *463 - - &721 + - *465 + - *466 + - &724 name: release_id description: The unique identifier of the release. in: path @@ -102693,9 +103489,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: *716 + schema: *719 examples: - default: *720 + default: *723 '401': description: Unauthorized x-github: @@ -102713,9 +103509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 requestBody: required: false content: @@ -102779,9 +103575,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 '404': description: Not Found if the discussion category name is invalid content: @@ -102802,9 +103598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 responses: '204': description: Response @@ -102824,9 +103620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - *17 - *19 responses: @@ -102836,7 +103632,7 @@ paths: application/json: schema: type: array - items: *717 + items: *720 examples: default: value: @@ -102918,9 +103714,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - name: name in: query required: true @@ -102946,7 +103742,7 @@ paths: description: Response for successful upload content: application/json: - schema: *717 + schema: *720 examples: response-for-successful-upload: value: @@ -103001,9 +103797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - 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. @@ -103027,9 +103823,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -103050,9 +103846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 requestBody: required: true content: @@ -103082,16 +103878,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -103113,10 +103909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *462 - - *463 - - *721 - - *658 + - *465 + - *466 + - *724 + - *661 responses: '204': description: Response @@ -103140,9 +103936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 - *17 - *19 responses: @@ -103159,7 +103955,7 @@ paths: oneOf: - allOf: - *170 - - &722 + - &725 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103180,67 +103976,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *722 + - *725 - allOf: - *172 - - *722 + - *725 - allOf: - *173 - - *722 + - *725 - allOf: - - *723 - - *722 + - *726 + - *725 - allOf: - *174 - - *722 + - *725 - allOf: - *175 - - *722 + - *725 - allOf: - *176 - - *722 + - *725 - allOf: - *177 - - *722 + - *725 - allOf: - *178 - - *722 + - *725 - allOf: - *179 - - *722 + - *725 - allOf: - *180 - - *722 + - *725 - allOf: - *181 - - *722 + - *725 - allOf: - *182 - - *722 + - *725 - allOf: - *183 - - *722 + - *725 - allOf: - *184 - - *722 + - *725 - allOf: - *185 - - *722 + - *725 - allOf: - *186 - - *722 + - *725 - allOf: - *187 - - *722 + - *725 - allOf: - *188 - - *722 + - *725 - allOf: - *189 - - *722 + - *725 - allOf: - *190 - - *722 + - *725 examples: default: value: @@ -103279,8 +104075,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - name: includes_parents @@ -103291,7 +104087,7 @@ paths: schema: type: boolean default: true - - *724 + - *727 responses: '200': description: Response @@ -103346,8 +104142,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 requestBody: description: Request body required: true @@ -103376,7 +104172,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *725 + items: *728 required: - name - enforcement @@ -103409,7 +104205,7 @@ paths: application/json: schema: *191 examples: - default: &734 + default: &737 value: id: 42 name: super cool ruleset @@ -103442,6 +104238,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *40 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -103456,12 +104253,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *462 - - *463 - - *726 + - *465 + - *466 + - *729 - *105 - - *727 - - *728 + - *730 + - *731 - *17 - *19 responses: @@ -103469,9 +104266,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *732 examples: - default: *730 + default: *733 '404': *6 '500': *40 x-github: @@ -103492,17 +104289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *462 - - *463 - - *731 + - *465 + - *466 + - *734 responses: '200': description: Response content: application/json: - schema: *732 + schema: *735 examples: - default: *733 + default: *736 '404': *6 '500': *40 x-github: @@ -103530,8 +104327,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103553,7 +104350,7 @@ paths: application/json: schema: *191 examples: - default: *734 + default: *737 '404': *6 '500': *40 put: @@ -103571,8 +104368,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103606,7 +104403,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *725 + items: *728 examples: default: value: @@ -103636,8 +104433,9 @@ paths: application/json: schema: *191 examples: - default: *734 + default: *737 '404': *6 + '422': *15 '500': *40 delete: summary: Delete a repository ruleset @@ -103654,8 +104452,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103678,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - name: ruleset_id @@ -103697,7 +104495,7 @@ paths: type: array items: *195 examples: - default: *431 + default: *433 '404': *6 '500': *40 x-github: @@ -103716,8 +104514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103735,7 +104533,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: default: value: @@ -103790,22 +104588,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *462 - - *463 - - *433 - - *434 + - *465 + - *466 - *435 - *436 - *437 + - *438 + - *439 - *110 - *19 - *17 - - *735 - - *736 - - *438 - - *439 + - *738 + - *739 - *440 - *441 + - *442 + - *443 responses: '200': description: Response @@ -103813,7 +104611,7 @@ paths: application/json: schema: type: array - items: &740 + items: &743 type: object properties: number: *128 @@ -103832,8 +104630,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *737 - resolution: *738 + state: *740 + resolution: *741 resolved_at: type: string format: date-time @@ -103929,7 +104727,7 @@ paths: pull request. ' - oneOf: *739 + oneOf: *742 nullable: true has_more_locations: type: boolean @@ -104078,16 +104876,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 - - *441 + - *465 + - *466 + - *546 + - *443 responses: '200': description: Response content: application/json: - schema: *740 + schema: *743 examples: default: value: @@ -104141,9 +104939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: true content: @@ -104151,8 +104949,8 @@ paths: schema: type: object properties: - state: *737 - resolution: *738 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104186,7 +104984,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *743 examples: default: value: @@ -104281,9 +105079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 - *19 - *17 responses: @@ -104294,7 +105092,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &929 + items: &931 type: object properties: type: @@ -104320,9 +105118,6 @@ paths: example: commit details: oneOf: - - *741 - - *742 - - *743 - *744 - *745 - *746 @@ -104333,6 +105128,9 @@ paths: - *751 - *752 - *753 + - *754 + - *755 + - *756 examples: default: value: @@ -104418,8 +105216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -104427,14 +105225,14 @@ paths: schema: type: object properties: - reason: &755 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *754 + placeholder_id: *757 required: - reason - placeholder_id @@ -104451,7 +105249,7 @@ paths: schema: type: object properties: - reason: *755 + reason: *758 expire_at: type: string format: date-time @@ -104497,8 +105295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -104513,7 +105311,7 @@ paths: properties: incremental_scans: type: array - items: &756 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104539,15 +105337,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *756 + items: *759 backfill_scans: type: array - items: *756 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *756 + - *759 - type: object properties: pattern_name: @@ -104617,8 +105415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *462 - - *463 + - *465 + - *466 - *110 - name: sort description: The property to sort the results by. @@ -104662,9 +105460,9 @@ paths: application/json: schema: type: array - items: *757 + items: *760 examples: - default: *758 + default: *761 '400': *14 '404': *6 x-github: @@ -104687,8 +105485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -104761,7 +105559,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 required: - login - type @@ -104848,9 +105646,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: &760 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105083,8 +105881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -105188,7 +105986,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: default: value: @@ -105335,17 +106133,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '200': description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: *760 + default: *763 '403': *29 '404': *6 x-github: @@ -105369,9 +106167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 requestBody: required: true content: @@ -105444,7 +106242,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 required: - login - type @@ -105530,10 +106328,10 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: *760 - add_credit: *760 + default: *763 + add_credit: *763 '403': *29 '404': *6 '422': @@ -105571,9 +106369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '202': *39 '400': *14 @@ -105600,17 +106398,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '202': description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 '400': *14 '422': *15 '403': *29 @@ -105636,8 +106434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -105736,8 +106534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105746,7 +106544,7 @@ paths: application/json: schema: type: array - items: &761 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105779,8 +106577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -105856,8 +106654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -105953,8 +106751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106108,8 +106906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106119,7 +106917,7 @@ paths: application/json: schema: type: array - items: *761 + items: *764 examples: default: value: @@ -106152,8 +106950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *462 - - *463 + - *465 + - *466 - name: sha in: path required: true @@ -106207,7 +107005,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *765 examples: default: value: @@ -106261,8 +107059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106294,14 +107092,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &763 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106369,8 +107167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -106396,7 +107194,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *766 examples: default: value: @@ -106423,8 +107221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -106444,8 +107242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106507,160 +107305,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - *462 - - *463 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &764 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - *462 - - *463 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: *764 - examples: - default: - value: - enabled: true - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - *462 - - *463 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -106678,8 +107322,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *462 - - *463 + - *465 + - *466 - name: ref in: path required: true @@ -106715,8 +107359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106728,7 +107372,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -106748,8 +107392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 responses: @@ -106757,7 +107401,7 @@ paths: description: Response content: application/json: - schema: &765 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106769,7 +107413,7 @@ paths: required: - names examples: - default: &766 + default: &768 value: names: - octocat @@ -106792,8 +107436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -106824,9 +107468,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: - default: *766 + default: *768 '404': *6 '422': *7 x-github: @@ -106847,9 +107491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *462 - - *463 - - &767 + - *465 + - *466 + - &769 name: per description: The time frame to display results for. in: query @@ -106878,7 +107522,7 @@ paths: example: 128 clones: type: array - items: &768 + items: &770 title: Traffic type: object properties: @@ -106965,8 +107609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -107056,8 +107700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -107117,9 +107761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *462 - - *463 - - *767 + - *465 + - *466 + - *769 responses: '200': description: Response @@ -107138,7 +107782,7 @@ paths: example: 3782 views: type: array - items: *768 + items: *770 required: - uniques - count @@ -107215,8 +107859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -107490,8 +108134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107514,8 +108158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -107537,8 +108181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -107564,8 +108208,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *462 - - *463 + - *465 + - *466 - name: ref in: path required: true @@ -107657,9 +108301,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107810,7 +108454,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &776 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107819,7 +108463,7 @@ paths: schema: type: string example: members - - &781 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107830,7 +108474,7 @@ paths: default: 1 format: int32 example: 1 - - &782 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107872,7 +108516,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &771 + items: &773 allOf: - type: object required: @@ -107947,7 +108591,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: &783 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -108007,30 +108651,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &772 + '400': &774 description: Bad request content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '401': *770 - '403': &773 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &774 + '429': &776 description: Too many requests content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '500': &775 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108054,7 +108698,7 @@ paths: required: true content: application/json: - schema: &779 + schema: &781 type: object required: - schemas @@ -108114,9 +108758,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *771 + schema: *773 examples: - group: &777 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108135,13 +108779,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': *772 - '401': *770 - '403': *773 - '409': &780 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108158,7 +108802,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: - - &778 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -108166,22 +108810,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *776 + - *778 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *771 + schema: *773 examples: - default: *777 - '400': *772 - '401': *770 - '403': *773 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108200,13 +108844,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: *779 + schema: *781 examples: group: summary: Group @@ -108232,17 +108876,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - group: *777 - groupWithMembers: *777 - '400': *772 - '401': *770 - '403': *773 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108266,13 +108910,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: &790 + schema: &792 type: object required: - Operations @@ -108332,17 +108976,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - updateGroup: *777 - addMembers: *777 - '400': *772 - '401': *770 - '403': *773 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108358,17 +109002,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: - - *778 + - *780 - *41 responses: '204': description: Group was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108402,8 +109046,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *781 - - *782 + - *783 + - *784 - *41 responses: '200': @@ -108436,7 +109080,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &785 + items: &787 allOf: - type: object required: @@ -108515,7 +109159,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &784 + roles: &786 type: array description: The roles assigned to the user. items: @@ -108571,7 +109215,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *783 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -108608,11 +109252,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *772 - '401': *770 - '403': *773 - '429': *774 - '500': *775 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108636,7 +109280,7 @@ paths: required: true content: application/json: - schema: &788 + schema: &790 type: object required: - schemas @@ -108718,9 +109362,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *784 + roles: *786 examples: - user: &789 + user: &791 summary: User value: schemas: @@ -108767,9 +109411,9 @@ paths: description: User has been created content: application/scim+json: - schema: *785 + schema: *787 examples: - user: &786 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108795,13 +109439,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: *786 - '400': *772 - '401': *770 - '403': *773 - '409': *780 - '429': *774 - '500': *775 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108818,7 +109462,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: - - &787 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108831,15 +109475,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *785 + schema: *787 examples: - default: *786 - '400': *772 - '401': *770 - '403': *773 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108853,7 +109497,36 @@ paths: You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > + > ``` + >{ + > "schemas": [ + > "urn:ietf:params:scim:schemas:core:2.0:User" + > ], + > "externalId": "E012345", + > "active": false, + > "userName": "E012345", + > "name": { + > "familyName": "Octocat", + > "givenName": "Mona", + > "middleName": "Lisa" + > }, + > "displayName": "Mona Lisa", + > "emails": [ + > { + > "value": "mlisa@example.com", + > "type": "work", + > "primary": true + > } + > ], + > "roles": [ + > { + > "value": "User" + > } + > ] + >} + > ``` operationId: enterprise-admin/set-information-for-provisioned-enterprise-user tags: - enterprise-admin @@ -108861,30 +109534,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *788 + schema: *790 examples: - user: *789 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - user: *786 - '400': *772 - '401': *770 - '403': *773 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108901,15 +109574,21 @@ paths: > Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will be ineffective. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > > ``` > { - > "Operations":[{ - > "op":"replace", - > "value":{ - > "active":false + > "schemas": [ + > "urn:ietf:params:scim:api:messages:2.0:PatchOp" + > ], + > "Operations": [ + > { + > "op": "replace", + > "value": { + > "active": false + > } > } - > }] + > ] > } > ``` operationId: enterprise-admin/update-attribute-for-enterprise-user @@ -108919,13 +109598,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108965,18 +109644,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - userMultiValuedProperties: *786 - userSingleValuedProperties: *786 - disableUser: *786 - '400': *772 - '401': *770 - '403': *773 + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108996,17 +109675,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: - - *787 + - *789 - *41 responses: '204': description: User was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109093,7 +109772,7 @@ paths: example: 1 Resources: type: array - items: &791 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -109324,22 +110003,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': &792 + '404': &794 description: Resource not found content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '403': &793 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 - '429': *774 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -109365,9 +110044,9 @@ paths: description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: &794 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109390,17 +110069,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': *792 - '403': *793 - '500': *775 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 + schema: *771 + '400': *774 requestBody: required: true content: @@ -109498,17 +110177,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 - '404': *792 - '403': *793 + default: *796 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -109532,18 +110211,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 + '404': *794 + '403': *795 requestBody: required: true content: @@ -109656,19 +110335,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 - '400': *772 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -109759,12 +110438,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *787 + - *789 responses: '204': description: Response - '404': *792 - '403': *793 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -109897,7 +110576,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &795 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -110060,7 +110739,7 @@ paths: enum: - author-date - committer-date - - &796 + - &798 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 @@ -110131,7 +110810,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true comment_count: type: integer @@ -110151,7 +110830,7 @@ paths: url: type: string format: uri - verification: *641 + verification: *644 required: - author - committer @@ -110170,7 +110849,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true parents: type: array @@ -110188,7 +110867,7 @@ paths: type: number node_id: type: string - text_matches: *795 + text_matches: *797 required: - sha - node_id @@ -110381,7 +111060,7 @@ paths: - interactions - created - updated - - *796 + - *798 - *17 - *19 - name: advanced_search @@ -110478,11 +111157,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: type: string state_reason: @@ -110499,8 +111178,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true comments: type: integer @@ -110514,7 +111193,7 @@ paths: type: string format: date-time nullable: true - text_matches: *795 + text_matches: *797 pull_request: type: object properties: @@ -110558,7 +111237,7 @@ paths: timeline_url: type: string format: uri - type: *376 + type: *378 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110747,7 +111426,7 @@ paths: enum: - created - updated - - *796 + - *798 - *17 - *19 responses: @@ -110791,7 +111470,7 @@ paths: nullable: true score: type: number - text_matches: *795 + text_matches: *797 required: - id - node_id @@ -110877,7 +111556,7 @@ paths: - forks - help-wanted-issues - updated - - *796 + - *798 - *17 - *19 responses: @@ -111125,7 +111804,7 @@ paths: - admin - pull - push - text_matches: *795 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -111426,7 +112105,7 @@ paths: type: string format: uri nullable: true - text_matches: *795 + text_matches: *797 related: type: array nullable: true @@ -111619,7 +112298,7 @@ paths: - followers - repositories - joined - - *796 + - *798 - *17 - *19 responses: @@ -111723,7 +112402,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *795 + text_matches: *797 blog: type: string nullable: true @@ -111802,7 +112481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &800 + - &802 name: team_id description: The unique identifier of the team. in: path @@ -111814,9 +112493,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 x-github: githubCloudOnly: false @@ -111843,7 +112522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -111906,16 +112585,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 '422': *15 '403': *29 @@ -111943,7 +112622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *800 + - *802 responses: '204': description: Response @@ -111972,7 +112651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111982,9 +112661,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 x-github: @@ -112010,7 +112689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *800 + - *802 - name: role description: Filters members returned by their role in the team. in: query @@ -112061,7 +112740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112098,7 +112777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112138,7 +112817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112175,16 +112854,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *800 + - *802 - *143 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-user-is-a-team-maintainer: *801 + response-if-user-is-a-team-maintainer: *803 '404': *6 x-github: githubCloudOnly: false @@ -112217,7 +112896,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: - - *800 + - *802 - *143 requestBody: required: false @@ -112243,9 +112922,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: *802 + response-if-users-membership-with-team-is-now-pending: *804 '403': description: Forbidden if team synchronization is set up '422': @@ -112279,7 +112958,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: - - *800 + - *802 - *143 responses: '204': @@ -112307,7 +112986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -112319,7 +112998,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '404': *6 @@ -112349,15 +113028,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *803 + schema: *805 examples: alternative-response-with-extra-repository-information: value: @@ -112508,9 +113187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 requestBody: required: false content: @@ -112560,9 +113239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 responses: '204': description: Response @@ -112591,15 +113270,15 @@ 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: - - *800 + - *802 responses: '200': description: Response content: application/json: - schema: *464 + schema: *467 examples: - default: *465 + default: *468 '403': *29 '404': *6 x-github: @@ -112626,7 +113305,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: - - *800 + - *802 requestBody: required: true content: @@ -112683,7 +113362,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: default: value: @@ -112714,7 +113393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -112726,7 +113405,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: *804 + response-if-child-teams-exist: *806 headers: Link: *47 '404': *6 @@ -112759,7 +113438,7 @@ paths: application/json: schema: oneOf: - - &806 + - &808 title: Private User description: Private User type: object @@ -112962,7 +113641,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *805 + - *807 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113115,7 +113794,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *808 examples: default: value: @@ -113318,9 +113997,9 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 '304': *37 '500': *40 '401': *25 @@ -113459,17 +114138,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -113513,7 +114192,7 @@ paths: type: integer secrets: type: array - items: &807 + items: &809 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113553,7 +114232,7 @@ paths: - visibility - selected_repositories_url examples: - default: *569 + default: *572 headers: Link: *47 x-github: @@ -113629,7 +114308,7 @@ paths: description: Response content: application/json: - schema: *807 + schema: *809 examples: default: value: @@ -113775,7 +114454,7 @@ paths: type: array items: *288 examples: - default: *808 + default: *810 '401': *25 '403': *29 '404': *6 @@ -113919,15 +114598,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '304': *37 '500': *40 '401': *25 @@ -113953,7 +114632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 requestBody: required: false content: @@ -113983,9 +114662,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -114007,7 +114686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '202': *39 '304': *37 @@ -114036,13 +114715,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '202': description: Response content: application/json: - schema: &809 + schema: &811 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114083,7 +114762,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &810 + default: &812 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114115,7 +114794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *383 + - *385 - name: export_id in: path required: true @@ -114128,9 +114807,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *811 examples: - default: *810 + default: *812 '404': *6 x-github: githubCloudOnly: false @@ -114151,7 +114830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *383 + - *385 responses: '200': description: Response @@ -114167,9 +114846,9 @@ paths: type: integer machines: type: array - items: *811 + items: *813 examples: - default: *812 + default: *814 '304': *37 '500': *40 '401': *25 @@ -114198,7 +114877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *383 + - *385 requestBody: required: true content: @@ -114248,13 +114927,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *467 + repository: *470 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *567 - required: *568 + properties: *570 + required: *571 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115028,15 +115707,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '304': *37 '500': *40 '400': *14 @@ -115068,15 +115747,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '500': *40 '401': *25 '403': *29 @@ -115106,9 +115785,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: &823 + default: &825 value: - id: 197 name: hello_docker @@ -115209,7 +115888,7 @@ paths: application/json: schema: type: array - items: &813 + items: &815 title: Email description: Email type: object @@ -115274,9 +115953,9 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: - default: &825 + default: &827 value: - email: octocat@github.com verified: true @@ -115351,7 +116030,7 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: default: value: @@ -115607,7 +116286,7 @@ paths: application/json: schema: type: array - items: &814 + items: &816 title: GPG Key description: A unique encryption key type: object @@ -115738,7 +116417,7 @@ paths: - subkeys - revoked examples: - default: &841 + default: &843 value: - id: 3 name: Octocat's GPG Key @@ -115823,9 +116502,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *816 examples: - default: &815 + default: &817 value: id: 3 name: Octocat's GPG Key @@ -115882,7 +116561,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: - - &816 + - &818 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115894,9 +116573,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *816 examples: - default: *815 + default: *817 '404': *6 '304': *37 '403': *29 @@ -115919,7 +116598,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: - - *816 + - *818 responses: '204': description: Response @@ -116197,12 +116876,12 @@ paths: application/json: schema: anyOf: - - *371 + - *373 - type: object properties: {} additionalProperties: false examples: - default: *372 + default: *374 '204': description: Response when there are no restrictions x-github: @@ -116226,7 +116905,7 @@ paths: required: true content: application/json: - schema: *651 + schema: *654 examples: default: value: @@ -116237,7 +116916,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: default: value: @@ -116318,7 +116997,7 @@ paths: - closed - all default: open - - *379 + - *381 - name: sort description: What to sort results by. in: query @@ -116343,7 +117022,7 @@ paths: type: array items: *225 examples: - default: *380 + default: *382 headers: Link: *47 '404': *6 @@ -116376,7 +117055,7 @@ paths: application/json: schema: type: array - items: &817 + items: &819 title: Key description: Key type: object @@ -116477,9 +117156,9 @@ paths: description: Response content: application/json: - schema: *817 + schema: *819 examples: - default: &818 + default: &820 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116512,15 +117191,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: - - *684 + - *687 responses: '200': description: Response content: application/json: - schema: *817 + schema: *819 examples: - default: *818 + default: *820 '404': *6 '304': *37 '403': *29 @@ -116543,7 +117222,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: - - *684 + - *687 responses: '204': description: Response @@ -116576,7 +117255,7 @@ paths: application/json: schema: type: array - items: &819 + items: &821 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116644,7 +117323,7 @@ paths: - account - plan examples: - default: &820 + default: &822 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116706,9 +117385,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: *820 + default: *822 headers: Link: *47 '304': *37 @@ -116748,7 +117427,7 @@ paths: application/json: schema: type: array - items: *384 + items: *386 examples: default: value: @@ -116862,7 +117541,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -116949,7 +117628,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -117021,7 +117700,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -117274,7 +117953,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -117454,7 +118133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *387 + - *389 - name: exclude in: query required: false @@ -117467,7 +118146,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -117661,7 +118340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *387 + - *389 responses: '302': description: Response @@ -117687,7 +118366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *387 + - *389 responses: '204': description: Response @@ -117716,8 +118395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *387 - - *821 + - *389 + - *823 responses: '204': description: Response @@ -117741,7 +118420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *387 + - *389 - *17 - *19 responses: @@ -117753,7 +118432,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '404': *6 @@ -117832,7 +118511,7 @@ paths: - docker - nuget - container - - *822 + - *824 - *19 - *17 responses: @@ -117842,10 +118521,10 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 - '400': *824 + default: *825 + '400': *826 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117865,16 +118544,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &842 + default: &844 value: id: 40201 name: octo-name @@ -117987,8 +118666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 responses: '204': description: Response @@ -118018,8 +118697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 - name: token description: package token schema: @@ -118051,8 +118730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 - *19 - *17 - name: state @@ -118072,7 +118751,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -118121,15 +118800,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -118165,9 +118844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '204': description: Response @@ -118197,9 +118876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '204': description: Response @@ -118236,9 +118915,9 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: - default: *825 + default: *827 headers: Link: *47 '304': *37 @@ -118351,7 +119030,7 @@ paths: type: array items: *78 examples: - default: &832 + default: &834 summary: Default response value: - id: 1296269 @@ -118655,9 +119334,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118695,9 +119374,9 @@ paths: application/json: schema: type: array - items: *653 + items: *656 examples: - default: *826 + default: *828 headers: Link: *47 '304': *37 @@ -118720,7 +119399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *375 + - *377 responses: '204': description: Response @@ -118743,7 +119422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *375 + - *377 responses: '204': description: Response @@ -118776,7 +119455,7 @@ paths: application/json: schema: type: array - items: &827 + items: &829 title: Social account description: Social media account type: object @@ -118791,7 +119470,7 @@ paths: - provider - url examples: - default: &828 + default: &830 value: - provider: twitter url: https://twitter.com/github @@ -118853,9 +119532,9 @@ paths: application/json: schema: type: array - items: *827 + items: *829 examples: - default: *828 + default: *830 '422': *15 '304': *37 '404': *6 @@ -118942,7 +119621,7 @@ paths: application/json: schema: type: array - items: &829 + items: &831 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118962,7 +119641,7 @@ paths: - title - created_at examples: - default: &856 + default: &858 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119026,9 +119705,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *831 examples: - default: &830 + default: &832 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119058,7 +119737,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: - - &831 + - &833 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119070,9 +119749,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *831 examples: - default: *830 + default: *832 '404': *6 '304': *37 '403': *29 @@ -119095,7 +119774,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: - - *831 + - *833 responses: '204': description: Response @@ -119124,7 +119803,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: - - &857 + - &859 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 @@ -119149,11 +119828,11 @@ paths: type: array items: *78 examples: - default-response: *832 + default-response: *834 application/vnd.github.v3.star+json: schema: type: array - items: &858 + items: &860 title: Starred Repository description: Starred Repository type: object @@ -119309,8 +119988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response if this repository is starred by you @@ -119338,8 +120017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -119363,8 +120042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -119399,7 +120078,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '304': *37 @@ -119436,7 +120115,7 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: default: value: @@ -119522,10 +120201,10 @@ paths: application/json: schema: oneOf: - - *806 - - *805 + - *808 + - *807 examples: - default-response: &836 + default-response: &838 summary: Default response value: login: octocat @@ -119560,7 +120239,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &837 + response-with-git-hub-plan-information: &839 summary: Response with GitHub plan information value: login: octocat @@ -119617,14 +120296,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &834 + - &836 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *410 + - *412 requestBody: required: true description: Details of the draft item to create in the project. @@ -119658,9 +120337,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - draft_issue: *417 + draft_issue: *419 '304': *37 '403': *29 '401': *25 @@ -119683,7 +120362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *833 + - *835 - *17 responses: '200': @@ -119718,8 +120397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *834 - - *410 + - *836 + - *412 requestBody: required: true content: @@ -119790,17 +120469,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *835 + schema: *837 examples: table_view: summary: Response for creating a table view - value: *421 + value: *423 board_view: summary: Response for creating a board view with filter - value: *421 + value: *423 roadmap_view: summary: Response for creating a roadmap view - value: *421 + value: *423 '304': *37 '403': *29 '401': *25 @@ -119842,11 +120521,11 @@ paths: application/json: schema: oneOf: - - *806 - - *805 + - *808 + - *807 examples: - default-response: *836 - response-with-git-hub-plan-information: *837 + default-response: *838 + response-with-git-hub-plan-information: *839 '404': *6 x-github: githubCloudOnly: false @@ -119896,8 +120575,8 @@ paths: required: - subject_digests examples: - default: *838 - withPredicateType: *839 + default: *840 + withPredicateType: *841 responses: '200': description: Response @@ -119950,7 +120629,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *840 + default: *842 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120155,7 +120834,7 @@ paths: initiator: type: string examples: - default: *509 + default: *512 '201': description: Response content: @@ -120194,9 +120873,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 + default: *825 '403': *29 '401': *25 x-github: @@ -120580,9 +121259,9 @@ paths: application/json: schema: type: array - items: *814 + items: *816 examples: - default: *841 + default: *843 headers: Link: *47 x-github: @@ -120686,7 +121365,7 @@ paths: application/json: schema: *22 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120810,7 +121489,7 @@ paths: - docker - nuget - container - - *822 + - *824 - *143 - *19 - *17 @@ -120821,12 +121500,12 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 + default: *825 '403': *29 '401': *25 - '400': *824 + '400': *826 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120846,17 +121525,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *842 + default: *844 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120877,8 +121556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '204': @@ -120911,8 +121590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 - name: token description: package token @@ -120945,8 +121624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '200': @@ -120955,7 +121634,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -121013,16 +121692,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 - *143 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -121057,10 +121736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *394 - - *395 - - *143 + - *396 - *397 + - *143 + - *399 responses: '204': description: Response @@ -121092,10 +121771,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *394 - - *395 - - *143 + - *396 - *397 + - *143 + - *399 responses: '204': description: Response @@ -121136,9 +121815,9 @@ paths: application/json: schema: type: array - items: *408 + items: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -121160,16 +121839,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *410 + - *412 - *143 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -121191,7 +121870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *410 + - *412 - *143 - *17 - *108 @@ -121203,9 +121882,9 @@ paths: application/json: schema: type: array - items: *414 + items: *416 examples: - default: *843 + default: *845 headers: Link: *47 '304': *37 @@ -121227,7 +121906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *143 - - *410 + - *412 requestBody: required: true content: @@ -121265,7 +121944,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *844 + items: *846 required: - name - data_type @@ -121281,7 +121960,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *845 + iteration_configuration: *847 required: - name - data_type @@ -121303,20 +121982,20 @@ paths: value: name: Due date data_type: date - single_select_field: *846 - iteration_field: *847 + single_select_field: *848 + iteration_field: *849 responses: '201': description: Response content: application/json: - schema: *414 + schema: *416 examples: - text_field: *848 - number_field: *849 - date_field: *850 - single_select_field: *851 - iteration_field: *852 + text_field: *850 + number_field: *851 + date_field: *852 + single_select_field: *853 + iteration_field: *854 '304': *37 '403': *29 '401': *25 @@ -121337,17 +122016,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *410 - - *853 + - *412 + - *855 - *143 responses: '200': description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *854 + default: *856 headers: Link: *47 '304': *37 @@ -121370,7 +122049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *410 + - *412 - *143 - *108 - *109 @@ -121403,9 +122082,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121427,7 +122106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *143 - - *410 + - *412 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -121497,22 +122176,22 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *417 + value: *419 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *417 + value: *419 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *417 + value: *419 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *417 + value: *419 '304': *37 '403': *29 '401': *25 @@ -121532,9 +122211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *410 + - *412 - *143 - - *420 + - *422 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121554,9 +122233,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121577,9 +122256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *410 + - *412 - *143 - - *420 + - *422 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121649,13 +122328,13 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - text_field: *419 - number_field: *419 - date_field: *419 - single_select_field: *419 - iteration_field: *419 + text_field: *421 + number_field: *421 + date_field: *421 + single_select_field: *421 + iteration_field: *421 '401': *25 '403': *29 '404': *6 @@ -121675,9 +122354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *410 + - *412 - *143 - - *420 + - *422 responses: '204': description: Response @@ -121699,9 +122378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *410 + - *412 - *143 - - *855 + - *857 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121727,9 +122406,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121950,7 +122629,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -121980,9 +122659,9 @@ paths: application/json: schema: type: array - items: *827 + items: *829 examples: - default: *828 + default: *830 headers: Link: *47 x-github: @@ -122012,9 +122691,9 @@ paths: application/json: schema: type: array - items: *829 + items: *831 examples: - default: *856 + default: *858 headers: Link: *47 x-github: @@ -122039,7 +122718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *857 + - *859 - *110 - *17 - *19 @@ -122051,11 +122730,11 @@ paths: schema: anyOf: - type: array - items: *858 + items: *860 - type: array items: *78 examples: - default-response: *832 + default-response: *834 headers: Link: *47 x-github: @@ -122086,7 +122765,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -122214,7 +122893,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &859 + enterprise: &861 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122272,7 +122951,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &860 + installation: &862 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122291,7 +122970,7 @@ x-webhooks: required: - id - node_id - organization: &861 + organization: &863 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122351,13 +123030,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &862 + repository: &864 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: &901 + properties: &903 id: description: Unique identifier of the repository example: 42 @@ -123052,7 +123731,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &902 + required: &904 - archive_url - assignees_url - blobs_url @@ -123203,10 +123882,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -123282,11 +123961,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: &863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: &865 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) @@ -123509,11 +124188,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: *865 sender: *4 required: - action @@ -123696,11 +124375,11 @@ x-webhooks: - everyone required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: *865 sender: *4 required: - action @@ -123773,7 +124452,7 @@ x-webhooks: required: true content: application/json: - schema: &885 + schema: &887 title: Exemption request cancellation event type: object properties: @@ -123781,11 +124460,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: &864 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: &866 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124054,7 +124733,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &865 + items: &867 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124125,6 +124804,261 @@ x-webhooks: externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &888 + title: Exemption request completed event + type: object + properties: + action: + type: string + enum: + - completed + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + sender: *4 + required: + - action + - exemption_request + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-created: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A secret scanning push protection bypass request was created. + operationId: exemption-request-secret-scanning/created + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &885 + title: Exemption request created event + type: object + properties: + action: + type: string + enum: + - created + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + sender: *4 + required: + - action + - exemption_request + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-response-dismissed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A secret scanning push protection bypass response was dismissed. + operationId: exemption-request-secret-scanning/response-dismissed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &889 + title: Exemption response dismissed event + type: object + properties: + action: + type: string + enum: + - response_dismissed + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + exemption_response: *867 + sender: *4 + required: + - action + - exemption_request + - exemption_response + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-response-submitted: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A response either approving or rejecting the secret scanning push + protection bypass request was submitted. + operationId: exemption-request-secret-scanning/response-submitted + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: - name: User-Agent in: header example: GitHub-Hookshot/123abc @@ -124165,261 +125099,6 @@ x-webhooks: content: application/json: schema: &886 - title: Exemption request completed event - type: object - properties: - action: - type: string - enum: - - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - sender: *4 - required: - - action - - exemption_request - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-created: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A secret scanning push protection bypass request was created. - operationId: exemption-request-secret-scanning/created - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &883 - title: Exemption request created event - type: object - properties: - action: - type: string - enum: - - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - sender: *4 - required: - - action - - exemption_request - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-response-dismissed: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A secret scanning push protection bypass response was dismissed. - operationId: exemption-request-secret-scanning/response-dismissed - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &887 - title: Exemption response dismissed event - type: object - properties: - action: - type: string - enum: - - response_dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 - sender: *4 - required: - - action - - exemption_request - - exemption_response - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-response-submitted: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A response either approving or rejecting the secret scanning push - protection bypass request was submitted. - operationId: exemption-request-secret-scanning/response-submitted - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &884 title: Exemption response submitted event type: object properties: @@ -124427,12 +125106,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + exemption_response: *867 sender: *4 required: - action @@ -124516,7 +125195,7 @@ x-webhooks: type: string enum: - completed - check_run: &867 + check_run: &869 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124607,7 +125286,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *866 + deployment: *868 details_url: example: https://example.com type: string @@ -124692,10 +125371,10 @@ x-webhooks: - output - app - pull_requests - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -125086,11 +125765,11 @@ x-webhooks: type: string enum: - created - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -125484,11 +126163,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 requested_action: description: The action requested by the user. type: object @@ -125891,11 +126570,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -126865,10 +127544,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -127557,10 +128236,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -128243,10 +128922,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -128412,7 +129091,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128557,20 +129236,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &868 + commit_oid: &870 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: *859 - installation: *860 - organization: *861 - ref: &869 + enterprise: *861 + installation: *862 + organization: *863 + ref: &871 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: *862 + repository: *864 sender: *4 required: - action @@ -128735,7 +129414,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128965,12 +129644,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129065,7 +129744,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129236,12 +129915,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129407,7 +130086,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129573,12 +130252,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129677,7 +130356,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129852,16 +130531,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 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: *862 + repository: *864 sender: *4 required: - action @@ -129958,7 +130637,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130098,12 +130777,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -130269,7 +130948,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130414,10 +131093,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -130672,10 +131351,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -130755,18 +131434,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *861 - pusher_type: &870 + organization: *863 + pusher_type: &872 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &871 + ref: &873 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130776,7 +131455,7 @@ x-webhooks: enum: - tag - branch - repository: *862 + repository: *864 sender: *4 required: - ref @@ -130859,9 +131538,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -130946,9 +131625,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131026,9 +131705,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131106,9 +131785,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131185,10 +131864,10 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - repository: *862 - organization: *861 + enterprise: *861 + installation: *862 + repository: *864 + organization: *863 sender: *4 new_property_values: type: array @@ -131273,18 +131952,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - pusher_type: *870 - ref: *871 + enterprise: *861 + installation: *862 + organization: *863 + pusher_type: *872 + ref: *873 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *862 + repository: *864 sender: *4 required: - ref @@ -131329,7 +132008,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131364,11 +132043,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131413,7 +132092,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131448,11 +132127,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131498,7 +132177,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131533,11 +132212,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131583,7 +132262,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131618,11 +132297,11 @@ x-webhooks: type: string enum: - created - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131666,7 +132345,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131701,11 +132380,11 @@ x-webhooks: type: string enum: - dismissed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131749,7 +132428,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131784,11 +132463,11 @@ x-webhooks: type: string enum: - fixed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131833,7 +132512,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131868,11 +132547,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131916,7 +132595,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131951,11 +132630,11 @@ x-webhooks: type: string enum: - reopened - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -132032,9 +132711,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - key: &872 + enterprise: *861 + installation: *862 + key: &874 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132070,8 +132749,8 @@ x-webhooks: - verified - created_at - read_only - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -132148,11 +132827,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - key: *872 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + key: *874 + organization: *863 + repository: *864 sender: *4 required: - action @@ -132708,12 +133387,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: &878 + workflow: &880 title: Workflow type: object nullable: true @@ -133454,15 +134133,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *873 - required: *874 + properties: *875 + required: *876 nullable: true pull_requests: type: array - items: *705 - repository: *862 - organization: *861 - installation: *860 + items: *708 + repository: *864 + organization: *863 + installation: *862 sender: *4 responses: '200': @@ -133533,7 +134212,7 @@ x-webhooks: type: string enum: - approved - approver: &875 + approver: &877 type: object properties: avatar_url: @@ -133576,11 +134255,11 @@ x-webhooks: type: string comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: &876 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + reviewers: &878 type: array items: type: object @@ -133659,7 +134338,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &879 type: object properties: conclusion: @@ -134390,18 +135069,18 @@ x-webhooks: type: string enum: - rejected - approver: *875 + approver: *877 comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: *876 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + reviewers: *878 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *879 workflow_job_runs: type: array items: @@ -135105,13 +135784,13 @@ x-webhooks: type: string enum: - requested - enterprise: *859 + enterprise: *861 environment: type: string - installation: *860 - organization: *861 - repository: *862 - requestor: &888 + installation: *862 + organization: *863 + repository: *864 + requestor: &890 title: User type: object nullable: true @@ -137000,12 +137679,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Deployment Workflow Run type: object @@ -137685,7 +138364,7 @@ x-webhooks: type: string enum: - answered - answer: &881 + answer: &883 type: object properties: author_association: @@ -137842,11 +138521,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -137973,11 +138652,11 @@ x-webhooks: - from required: - category - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138060,11 +138739,11 @@ x-webhooks: type: string enum: - closed - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138146,7 +138825,7 @@ x-webhooks: type: string enum: - created - comment: &880 + comment: &882 type: object properties: author_association: @@ -138303,11 +138982,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138390,12 +139069,12 @@ x-webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *882 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138490,12 +139169,12 @@ x-webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *882 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138579,11 +139258,11 @@ x-webhooks: type: string enum: - created - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138665,11 +139344,11 @@ x-webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138769,11 +139448,11 @@ x-webhooks: type: string required: - from - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138855,10 +139534,10 @@ x-webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *859 - installation: *860 - label: &882 + discussion: *881 + enterprise: *861 + installation: *862 + label: &884 title: Label type: object properties: @@ -138890,8 +139569,8 @@ x-webhooks: - color - default - description - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138974,11 +139653,11 @@ x-webhooks: type: string enum: - locked - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139060,11 +139739,11 @@ x-webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139146,11 +139825,11 @@ x-webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139235,16 +139914,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *862 + new_discussion: *881 + new_repository: *864 required: - new_discussion - new_repository - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139327,10 +140006,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *861 - repository: *862 + discussion: *881 + old_answer: *883 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139412,12 +140091,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139500,11 +140179,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139586,11 +140265,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139659,7 +140338,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139722,7 +140401,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139785,7 +140464,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139848,7 +140527,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139911,7 +140590,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139977,7 +140656,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140043,7 +140722,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140109,7 +140788,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140175,7 +140854,7 @@ x-webhooks: required: true content: application/json: - schema: *887 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140241,7 +140920,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140306,7 +140985,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140371,7 +141050,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140436,7 +141115,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140501,7 +141180,7 @@ x-webhooks: required: true content: application/json: - schema: *887 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140567,7 +141246,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140634,7 +141313,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *859 + enterprise: *861 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141294,9 +141973,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - forkee @@ -141442,9 +142121,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pages: description: The pages that were updated. type: array @@ -141481,7 +142160,7 @@ x-webhooks: - action - sha - html_url - repository: *862 + repository: *864 sender: *4 required: - pages @@ -141557,10 +142236,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: &889 + organization: *863 + repositories: &891 description: An array of repository objects that the installation can access. type: array @@ -141586,8 +142265,8 @@ x-webhooks: - name - full_name - private - repository: *862 - requester: *888 + repository: *864 + requester: *890 sender: *4 required: - action @@ -141662,11 +142341,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -141742,11 +142421,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -141822,10 +142501,10 @@ x-webhooks: type: string enum: - added - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories_added: &890 + organization: *863 + repositories_added: &892 description: An array of repository objects, which were added to the installation. type: array @@ -141871,15 +142550,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *862 - repository_selection: &891 + repository: *864 + repository_selection: &893 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *888 + requester: *890 sender: *4 required: - action @@ -141958,10 +142637,10 @@ x-webhooks: type: string enum: - removed - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories_added: *890 + organization: *863 + repositories_added: *892 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141988,9 +142667,9 @@ x-webhooks: - name - full_name - private - repository: *862 - repository_selection: *891 - requester: *888 + repository: *864 + repository_selection: *893 + requester: *890 sender: *4 required: - action @@ -142069,11 +142748,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -142252,10 +142931,10 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 target_type: type: string @@ -142334,11 +143013,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -142512,8 +143191,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true user: title: User @@ -142598,8 +143277,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143388,8 +144067,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143405,7 +144084,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -143738,8 +144417,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -143819,7 +144498,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &894 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143976,8 +144655,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true required: - url @@ -143992,8 +144671,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144778,8 +145457,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144795,7 +145474,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -145130,8 +145809,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -145211,7 +145890,7 @@ x-webhooks: type: string enum: - edited - changes: &921 + changes: &923 description: The changes to the comment. type: object properties: @@ -145223,9 +145902,9 @@ x-webhooks: type: string required: - from - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146013,8 +146692,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146030,7 +146709,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -146363,8 +147042,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -146445,9 +147124,9 @@ x-webhooks: type: string enum: - pinned - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147237,8 +147916,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147254,7 +147933,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -147589,8 +148268,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -147670,9 +148349,9 @@ x-webhooks: type: string enum: - unpinned - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148462,8 +149141,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148479,7 +149158,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -148814,8 +149493,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -148904,9 +149583,9 @@ x-webhooks: type: number blocking_issue: *225 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -148995,9 +149674,9 @@ x-webhooks: type: number blocking_issue: *225 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149085,9 +149764,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149176,9 +149855,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149258,10 +149937,10 @@ x-webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *859 - installation: *860 - issue: &895 + assignee: *890 + enterprise: *861 + installation: *862 + issue: &897 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150053,11 +150732,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150073,7 +150752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -150174,8 +150853,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -150255,8 +150934,8 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151053,11 +151732,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151073,7 +151752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -151309,8 +151988,8 @@ x-webhooks: required: - state - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -151389,8 +152068,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152178,11 +152857,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152198,7 +152877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -152298,8 +152977,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -152378,8 +153057,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153189,11 +153868,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153209,7 +153888,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -153288,7 +153967,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &893 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153426,8 +154105,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -153526,8 +154205,8 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154319,11 +154998,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154336,7 +155015,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -154440,9 +155119,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *861 - repository: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -154522,8 +155201,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155314,11 +155993,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155331,7 +156010,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -155435,9 +156114,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *861 - repository: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -155517,8 +156196,8 @@ x-webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156333,11 +157012,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156350,7 +157029,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -156431,8 +157110,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -156511,8 +157190,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157321,11 +158000,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157341,7 +158020,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -157419,9 +158098,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *893 - organization: *861 - repository: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -158284,11 +158963,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158389,7 +159068,7 @@ x-webhooks: required: - login - id - type: *376 + type: *378 required: - id - number @@ -158869,8 +159548,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159654,11 +160333,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159674,7 +160353,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -159782,8 +160461,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -159863,9 +160542,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *859 - installation: *860 - issue: &894 + enterprise: *861 + installation: *862 + issue: &896 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160651,11 +161330,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160671,7 +161350,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -160771,8 +161450,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -160851,8 +161530,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161665,11 +162344,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161763,9 +162442,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *376 - organization: *861 - repository: *862 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -162634,11 +163313,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162654,7 +163333,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -163233,11 +163912,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *859 - installation: *860 - issue: *894 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *896 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163317,12 +163996,12 @@ x-webhooks: type: string enum: - typed - enterprise: *859 - installation: *860 - issue: *895 - type: *376 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163403,7 +164082,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &924 + assignee: &926 title: User type: object nullable: true @@ -163473,11 +164152,11 @@ x-webhooks: required: - login - id - enterprise: *859 - installation: *860 - issue: *895 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163556,12 +164235,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - issue: *895 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163641,8 +164320,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164455,11 +165134,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164475,7 +165154,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -164553,8 +165232,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164634,11 +165313,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *859 - installation: *860 - issue: *894 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *896 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164717,12 +165396,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *859 - installation: *860 - issue: *895 - type: *376 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164802,11 +165481,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164884,11 +165563,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164998,11 +165677,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -165084,9 +165763,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: &896 + enterprise: *861 + installation: *862 + marketplace_purchase: &898 title: Marketplace Purchase type: object required: @@ -165169,8 +165848,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: &897 + organization: *863 + previous_marketplace_purchase: &899 title: Marketplace Purchase type: object properties: @@ -165250,7 +165929,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165330,10 +166009,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165416,7 +166095,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165498,10 +166177,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165583,7 +166262,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165664,8 +166343,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 marketplace_purchase: title: Marketplace Purchase type: object @@ -165747,9 +166426,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: *897 - repository: *862 + organization: *863 + previous_marketplace_purchase: *899 + repository: *864 sender: *4 required: - action @@ -165829,12 +166508,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 - previous_marketplace_purchase: *897 - repository: *862 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 + previous_marketplace_purchase: *899 + repository: *864 sender: *4 required: - action @@ -165936,11 +166615,11 @@ x-webhooks: type: string required: - to - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166040,11 +166719,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166123,11 +166802,11 @@ x-webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166205,11 +166884,11 @@ x-webhooks: type: string enum: - added - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166285,7 +166964,7 @@ x-webhooks: required: - login - id - team: &898 + team: &900 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166508,11 +167187,11 @@ x-webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166589,7 +167268,7 @@ x-webhooks: required: - login - id - team: *898 + team: *900 required: - action - scope @@ -166671,8 +167350,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *860 - merge_group: &900 + installation: *862 + merge_group: &902 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166691,15 +167370,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *899 + head_commit: *901 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166785,10 +167464,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *860 - merge_group: *900 - organization: *861 - repository: *862 + installation: *862 + merge_group: *902 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166861,7 +167540,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *861 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166970,16 +167649,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *860 - organization: *861 + installation: *862 + organization: *863 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -167060,11 +167739,11 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167143,9 +167822,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - milestone: &903 + enterprise: *861 + installation: *862 + milestone: &905 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167282,8 +167961,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167362,11 +168041,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167476,11 +168155,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167560,11 +168239,11 @@ x-webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - milestone: *903 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *905 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167643,11 +168322,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *888 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *890 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167726,11 +168405,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *888 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *890 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167806,7 +168485,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *859 + enterprise: *861 sender: *4 required: - action @@ -167886,8 +168565,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 sender: *4 required: - action @@ -167960,8 +168639,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 sender: *4 required: - action @@ -168033,9 +168712,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 new_property_values: type: array @@ -168123,9 +168802,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - membership: &904 + enterprise: *861 + installation: *862 + membership: &906 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -168232,8 +168911,8 @@ x-webhooks: - role - organization_url - user - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168311,11 +168990,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168394,8 +169073,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168511,10 +169190,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 - user: *888 + user: *890 required: - action - invitation @@ -168592,11 +169271,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168683,11 +169362,11 @@ x-webhooks: properties: from: type: string - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168765,9 +169444,9 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 package: description: Information about the package. type: object @@ -169266,7 +169945,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &905 + items: &907 title: Ruby Gems metadata type: object properties: @@ -169361,7 +170040,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -169438,9 +170117,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 package: description: Information about the package. type: object @@ -169793,7 +170472,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *905 + items: *907 source_url: type: string format: uri @@ -169863,7 +170542,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -170039,12 +170718,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *859 + enterprise: *861 id: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - id @@ -170121,7 +170800,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &906 + personal_access_token_request: &908 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170267,10 +170946,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *859 - organization: *861 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170347,11 +171026,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *906 - enterprise: *859 - organization: *861 + personal_access_token_request: *908 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170427,11 +171106,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *906 - enterprise: *859 - organization: *861 + personal_access_token_request: *908 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170506,11 +171185,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *906 - organization: *861 - enterprise: *859 + personal_access_token_request: *908 + organization: *863 + enterprise: *861 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170615,7 +171294,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *907 + last_response: *909 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170647,8 +171326,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 zen: description: Random string of GitHub zen. @@ -170893,10 +171572,10 @@ x-webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: &908 + enterprise: *861 + installation: *862 + organization: *863 + project_card: &910 title: Project Card type: object properties: @@ -171015,7 +171694,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -171096,11 +171775,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_card: *908 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_card: *910 + repository: *864 sender: *4 required: - action @@ -171180,9 +171859,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 project_card: title: Project Card type: object @@ -171310,8 +171989,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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -171405,11 +172084,11 @@ x-webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: *908 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_card: *910 + repository: *864 sender: *4 required: - action @@ -171503,9 +172182,9 @@ x-webhooks: - from required: - column_id - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 project_card: allOf: - title: Project Card @@ -171695,7 +172374,7 @@ x-webhooks: type: string required: - after_id - repository: *862 + repository: *864 sender: *4 required: - action @@ -171775,10 +172454,10 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - organization: *861 - project: &910 + enterprise: *861 + installation: *862 + organization: *863 + project: &912 title: Project type: object properties: @@ -171902,7 +172581,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -171982,10 +172661,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_column: &909 + enterprise: *861 + installation: *862 + organization: *863 + project_column: &911 title: Project Column type: object properties: @@ -172024,7 +172703,7 @@ x-webhooks: - name - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -172103,18 +172782,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -172204,11 +172883,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 + repository: *864 sender: *4 required: - action @@ -172288,11 +172967,11 @@ x-webhooks: type: string enum: - moved - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 + repository: *864 sender: *4 required: - action @@ -172372,11 +173051,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172456,18 +173135,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project: *910 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -172569,11 +173248,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172652,11 +173331,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172737,9 +173416,9 @@ x-webhooks: type: string enum: - closed - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -172820,9 +173499,9 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -172903,9 +173582,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173022,9 +173701,9 @@ x-webhooks: type: string to: type: string - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173107,7 +173786,7 @@ x-webhooks: type: string enum: - archived - changes: &914 + changes: &916 type: object properties: archived_at: @@ -173121,9 +173800,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *860 - organization: *861 - projects_v2_item: &911 + installation: *862 + organization: *863 + projects_v2_item: &913 title: Projects v2 Item description: An item belonging to a project type: object @@ -173141,7 +173820,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *415 + content_type: *417 creator: *4 created_at: type: string @@ -173258,9 +173937,9 @@ x-webhooks: nullable: true to: type: string - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173342,9 +174021,9 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173425,9 +174104,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173533,7 +174212,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &912 + - &914 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173555,7 +174234,7 @@ x-webhooks: required: - id - name - - &913 + - &915 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173589,8 +174268,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *912 - - *913 + - *914 + - *915 required: - field_value - type: object @@ -173606,9 +174285,9 @@ x-webhooks: nullable: true required: - body - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173703,9 +174382,9 @@ x-webhooks: to: type: string nullable: true - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173788,10 +174467,10 @@ x-webhooks: type: string enum: - restored - changes: *914 - installation: *860 - organization: *861 - projects_v2_item: *911 + changes: *916 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173873,9 +174552,9 @@ x-webhooks: type: string enum: - reopened - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173956,14 +174635,14 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_status_update: &917 + installation: *862 + organization: *863 + projects_v2_status_update: &919 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *915 - required: *916 + properties: *917 + required: *918 sender: *4 required: - action @@ -174044,9 +174723,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_status_update: *917 + installation: *862 + organization: *863 + projects_v2_status_update: *919 sender: *4 required: - action @@ -174182,9 +174861,9 @@ x-webhooks: type: string format: date nullable: true - installation: *860 - organization: *861 - projects_v2_status_update: *917 + installation: *862 + organization: *863 + projects_v2_status_update: *919 sender: *4 required: - action @@ -174255,10 +174934,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - repository @@ -174335,13 +175014,13 @@ x-webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *859 - installation: *860 - number: &918 + assignee: *890 + enterprise: *861 + installation: *862 + number: &920 description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -176646,7 +177325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -176728,11 +177407,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -179032,7 +179711,7 @@ x-webhooks: - draft reason: type: string - repository: *862 + repository: *864 sender: *4 required: - action @@ -179114,11 +179793,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -181418,7 +182097,7 @@ x-webhooks: - draft reason: type: string - repository: *862 + repository: *864 sender: *4 required: - action @@ -181500,13 +182179,13 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: &919 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: &921 allOf: - - *705 + - *708 - type: object properties: allow_auto_merge: @@ -181568,7 +182247,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *862 + repository: *864 sender: *4 required: - action @@ -181649,12 +182328,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -181734,11 +182413,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *859 - milestone: *687 - number: *918 - organization: *861 - pull_request: &920 + enterprise: *861 + milestone: *690 + number: *920 + organization: *863 + pull_request: &922 title: Pull Request type: object properties: @@ -184023,7 +184702,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -184102,11 +184781,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -186410,7 +187089,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *862 + repository: *864 sender: *4 required: - action @@ -186534,12 +187213,12 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -186619,11 +187298,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -188912,7 +189591,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -188992,11 +189671,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 - label: *882 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + label: *884 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -191300,7 +191979,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -191381,10 +192060,10 @@ x-webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -193686,7 +194365,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -193766,12 +194445,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *859 - milestone: *687 - number: *918 - organization: *861 - pull_request: *920 - repository: *862 + enterprise: *861 + milestone: *690 + number: *920 + organization: *863 + pull_request: *922 + repository: *864 sender: *4 required: - action @@ -193850,12 +194529,12 @@ x-webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -193936,12 +194615,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -194021,12 +194700,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -194392,9 +195071,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -196586,7 +197265,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -196666,7 +197345,7 @@ x-webhooks: type: string enum: - deleted - comment: &922 + comment: &924 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. @@ -196951,9 +197630,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -199133,7 +199812,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -199213,11 +199892,11 @@ x-webhooks: type: string enum: - edited - changes: *921 - comment: *922 - enterprise: *859 - installation: *860 - organization: *861 + changes: *923 + comment: *924 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -201400,7 +202079,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -201481,9 +202160,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -203678,7 +204357,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 review: description: The review that was affected. type: object @@ -203925,9 +204604,9 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -205981,8 +206660,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: &923 + repository: *864 + review: &925 description: The review that was affected. type: object properties: @@ -206215,12 +206894,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -208525,7 +209204,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_reviewer: title: User type: object @@ -208609,12 +209288,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -210926,7 +211605,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211118,12 +211797,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -213430,7 +214109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_reviewer: title: User type: object @@ -213515,12 +214194,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -215818,7 +216497,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215999,9 +216678,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -218198,8 +218877,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: *923 + repository: *864 + review: *925 sender: *4 required: - action @@ -218279,9 +218958,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -220373,7 +221052,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 sender: *4 thread: type: object @@ -220760,9 +221439,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -222840,7 +223519,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 sender: *4 thread: type: object @@ -223230,10 +223909,10 @@ x-webhooks: type: string before: type: string - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -225526,7 +226205,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -225608,11 +226287,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *924 - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + assignee: *926 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -227917,7 +228596,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -227996,11 +228675,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - label: *882 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + label: *884 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -230295,7 +230974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -230376,10 +231055,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -232666,7 +233345,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -232866,7 +233545,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *859 + enterprise: *861 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232958,8 +233637,8 @@ x-webhooks: - url - author - committer - installation: *860 - organization: *861 + installation: *862 + organization: *863 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233545,9 +234224,9 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 registry_package: type: object properties: @@ -233993,7 +234672,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *905 + items: *907 summary: type: string tag_name: @@ -234047,7 +234726,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -234125,9 +234804,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 registry_package: type: object properties: @@ -234435,7 +235114,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *905 + items: *907 summary: type: string tag_name: @@ -234484,7 +235163,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -234561,10 +235240,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - release: &925 + enterprise: *861 + installation: *862 + organization: *863 + release: &927 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -234882,7 +235561,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *862 + repository: *864 sender: *4 required: - action @@ -234959,11 +235638,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -235080,11 +235759,11 @@ x-webhooks: type: boolean required: - to - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -235162,9 +235841,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -235486,7 +236165,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *862 + repository: *864 sender: *4 required: - action @@ -235562,10 +236241,10 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - release: &926 + enterprise: *861 + installation: *862 + organization: *863 + release: &928 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235884,7 +236563,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *862 + repository: *864 sender: *4 required: - action @@ -235960,11 +236639,11 @@ x-webhooks: type: string enum: - released - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -236040,11 +236719,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *859 - installation: *860 - organization: *861 - release: *926 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *928 + repository: *864 sender: *4 required: - action @@ -236120,11 +236799,11 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *757 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + repository_advisory: *760 sender: *4 required: - action @@ -236200,11 +236879,11 @@ x-webhooks: type: string enum: - reported - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *757 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + repository_advisory: *760 sender: *4 required: - action @@ -236280,10 +236959,10 @@ x-webhooks: type: string enum: - archived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236360,10 +237039,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236441,10 +237120,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236528,10 +237207,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236643,10 +237322,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236718,10 +237397,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 status: type: string @@ -236802,10 +237481,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236882,10 +237561,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236979,10 +237658,10 @@ x-webhooks: - name required: - repository - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237062,10 +237741,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 sender: *4 required: @@ -237144,10 +237823,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 sender: *4 required: @@ -237226,10 +237905,10 @@ x-webhooks: type: string enum: - edited - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 changes: type: object @@ -237291,16 +237970,16 @@ x-webhooks: properties: added: type: array - items: *725 + items: *728 deleted: type: array - items: *725 + items: *728 updated: type: array items: type: object properties: - rule: *725 + rule: *728 changes: type: object properties: @@ -237534,10 +238213,10 @@ x-webhooks: - from required: - owner - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237615,10 +238294,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237696,7 +238375,7 @@ x-webhooks: type: string enum: - create - alert: &927 + alert: &929 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -237818,10 +238497,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238027,10 +238706,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238108,11 +238787,11 @@ x-webhooks: type: string enum: - reopen - alert: *927 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *929 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238311,10 +238990,10 @@ x-webhooks: enum: - fixed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238392,7 +239071,7 @@ x-webhooks: type: string enum: - assigned - alert: &928 + alert: &930 type: object properties: number: *128 @@ -238511,10 +239190,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238592,11 +239271,11 @@ x-webhooks: type: string enum: - created - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238677,11 +239356,11 @@ x-webhooks: type: string enum: - created - alert: *928 - installation: *860 - location: *929 - organization: *861 - repository: *862 + alert: *930 + installation: *862 + location: *931 + organization: *863 + repository: *864 sender: *4 required: - location @@ -238919,11 +239598,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239001,11 +239680,11 @@ x-webhooks: type: string enum: - reopened - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239083,11 +239762,11 @@ x-webhooks: type: string enum: - resolved - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239165,12 +239844,12 @@ x-webhooks: type: string enum: - unassigned - alert: *928 + alert: *930 assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239248,11 +239927,11 @@ x-webhooks: type: string enum: - validated - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239378,10 +240057,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *862 - enterprise: *859 - installation: *860 - organization: *861 + repository: *864 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -239459,11 +240138,11 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: &930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + security_advisory: &932 description: The details of the security advisory, including summary, description, and severity. type: object @@ -239646,11 +240325,11 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + security_advisory: *932 sender: *4 required: - action @@ -239723,10 +240402,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -239910,11 +240589,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *425 - enterprise: *859 - installation: *860 - organization: *861 - repository: *467 + security_and_analysis: *427 + enterprise: *861 + installation: *862 + organization: *863 + repository: *470 sender: *4 required: - changes @@ -239992,12 +240671,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: &931 + sponsorship: &933 type: object properties: created_at: @@ -240298,12 +240977,12 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - sponsorship @@ -240391,12 +241070,12 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240473,17 +241152,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &932 + effective_date: &934 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: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - sponsorship @@ -240557,7 +241236,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &933 + changes: &935 type: object properties: tier: @@ -240601,13 +241280,13 @@ x-webhooks: - from required: - tier - effective_date: *932 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + effective_date: *934 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240684,13 +241363,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *933 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + changes: *935 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240764,10 +241443,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240850,10 +241529,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241273,15 +241952,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *859 + enterprise: *861 id: description: The unique identifier of the status. type: integer - installation: *860 + installation: *862 name: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 sha: description: The Commit SHA. @@ -241396,9 +242075,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241488,9 +242167,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241580,9 +242259,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241672,9 +242351,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241751,12 +242430,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - team: &934 + team: &936 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -241979,9 +242658,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -242439,7 +243118,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -242515,9 +243194,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -242975,7 +243654,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -243052,9 +243731,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -243512,7 +244191,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -243656,9 +244335,9 @@ x-webhooks: - from required: - permissions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -244116,7 +244795,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - changes @@ -244194,9 +244873,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -244654,7 +245333,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -244730,10 +245409,10 @@ x-webhooks: type: string enum: - started - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -244806,16 +245485,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *859 + enterprise: *861 inputs: type: object nullable: true additionalProperties: true - installation: *860 - organization: *861 + installation: *862 + organization: *863 ref: type: string - repository: *862 + repository: *864 sender: *4 workflow: type: string @@ -244897,10 +245576,10 @@ x-webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: allOf: @@ -245137,7 +245816,7 @@ x-webhooks: type: string required: - conclusion - deployment: *606 + deployment: *609 required: - action - repository @@ -245216,10 +245895,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: allOf: @@ -245479,7 +246158,7 @@ x-webhooks: required: - status - steps - deployment: *606 + deployment: *609 required: - action - repository @@ -245558,10 +246237,10 @@ x-webhooks: type: string enum: - queued - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: type: object @@ -245696,7 +246375,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *606 + deployment: *609 required: - action - repository @@ -245775,10 +246454,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: type: object @@ -245914,7 +246593,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *606 + deployment: *609 required: - action - repository @@ -245994,12 +246673,12 @@ x-webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Workflow Run type: object @@ -246998,12 +247677,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Workflow Run type: object @@ -247987,12 +248666,12 @@ x-webhooks: type: string enum: - requested - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index d35f47cd2b..16ec9a31e9 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -36296,6 +36296,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -36693,6 +36702,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -36980,6 +36999,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -37457,6 +37485,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -37873,6 +37910,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -38239,6 +38285,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -38517,6 +38573,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -39349,6 +39414,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -42011,8 +42085,1325 @@ } } }, - "403": { - "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove users from the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_usernames": { + "type": "array", + "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an enterprise's Copilot content exclusion path rules.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can view details about Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Enterprise Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an enterprise.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an enterprise.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can set Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "413": { + "description": "Payload Too Large", + "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 Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents": { + "get": { + "summary": "Get custom agents for an enterprise", + "description": "Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise.\n\nIf no source repository has been configured, returns `null` for `custom_agents`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "custom_agents": { + "type": "array", + "description": "List of custom agents defined in the repository. Returns `null` if no source repository is configured.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The display name of the custom agent (derived from filename)." + }, + "file_path": { + "type": "string", + "description": "The path to the agent definition file." + }, + "url": { + "type": "string", + "description": "The URL to view the agent definition file." + } + } + }, + "nullable": true + } + } + }, + "examples": { + "with_agents": { + "summary": "Response with custom agents", + "value": { + "custom_agents": [ + { + "name": "Security Reviewer", + "file_path": "agents/security_reviewer.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md" + }, + { + "name": "Code Documenter", + "file_path": "agents/code_documenter.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md" + } + ] + } + }, + "no_source": { + "summary": "Response when no source repository configured", + "value": { + "custom_agents": null + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "404": { + "description": "Not found or source repository not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "repo_not_found": { + "summary": "Configured source repository not found", + "value": { + "message": "Configured source repository not found" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents/source": { + "get": { + "summary": "Get the source organization for custom agents in an enterprise", + "description": "Gets the organization and repository configured as the source for custom agent definitions in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" and that org must have a repo named\n`.github-private` containing agent definitions in `/agents/*.md`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization", + "repository" + ], + "properties": { + "organization": { + "nullable": true, + "type": "object", + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "nullable": true, + "type": "object", + "required": [ + "id", + "name", + "full_name" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the repository" + }, + "name": { + "type": "string", + "description": "Name of the repository" + }, + "full_name": { + "type": "string", + "description": "Full name of the repository including owner" + } + } + } + } + }, + "examples": { + "default": { + "value": { + "organization": { + "id": 1, + "login": "octocat-org" + }, + "repository": { + "id": 123, + "name": ".github-private", + "full_name": "octocat-org/.github-private" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + }, + "put": { + "summary": "Set the source organization for custom agents in an enterprise", + "description": "Sets an organization as the source for custom agent definitions in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The source organization configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_id" + ], + "properties": { + "organization_id": { + "type": "integer", + "description": "The ID of the organization to use as the custom agents source." + }, + "create_ruleset": { + "type": "boolean", + "default": true, + "description": "Whether to create a ruleset to protect agent definition files. Defaults to true." + } + } + }, + "examples": { + "default": { + "summary": "Set source organization with default ruleset creation", + "value": { + "organization_id": 123 + } + }, + "without_ruleset": { + "summary": "Set source organization without creating a ruleset", + "value": { + "organization_id": 123, + "create_ruleset": false + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organization": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "login": { + "type": "string", + "description": "The login name of the organization." + }, + "avatar_url": { + "type": "string", + "description": "The avatar URL of the organization." + } + } + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the .github-private repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository (owner/name)." + } + } + }, + "ruleset": { + "type": "object", + "description": "The created or existing ruleset (if create_ruleset was true).", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the ruleset." + }, + "name": { + "type": "string", + "description": "The name of the ruleset." + }, + "enforcement": { + "type": "string", + "description": "The enforcement level of the ruleset." + } + } + } + } + }, + "examples": { + "with_ruleset": { + "summary": "Response with ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + }, + "ruleset": { + "id": 10783894, + "name": "Enterprise Custom Agent Configuration", + "enforcement": "enabled" + } + } + }, + "without_ruleset": { + "summary": "Response without ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -42037,53 +43428,65 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed", "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" + } + } + }, + "examples": { + "missing_org_id": { + "summary": "Missing organization_id", + "value": { + "message": "organization_id is required" + } + }, + "org_not_found": { + "summary": "Organization not in enterprise", + "value": { + "message": "Organization not found in this enterprise" + } + }, + "missing_repo": { + "summary": "Missing .github-private repository", + "value": { + "message": "Organization must have a .github-private repository" } } } } } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-custom-agents" } }, "delete": { - "summary": "Remove users from the Copilot subscription for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team or organization membership.\n\nOnly enterprise owners can cancel Copilot seats for their enterprise members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "summary": "Delete the custom agents source for an enterprise", + "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents for the enterprise by removing\nthe reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seats-for-enterprise-users", + "operationId": "copilot/delete-copilot-custom-agents-source-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" }, "parameters": [ { @@ -42096,95 +43499,12 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the enterprise members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "No Content - The custom agents source was successfully removed." }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Not found - Enterprise not found, feature not enabled, or no custom agents source is configured.", "content": { "application/json": { "schema": { @@ -42210,7 +43530,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -42234,42 +43554,7 @@ } } } - }, - "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" - } - } - } - } - } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-user-management" } } }, @@ -43644,6 +44929,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -45130,6 +46423,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -45315,6 +46630,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -136042,20 +137358,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -136255,7 +137573,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -136271,19 +137589,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -136318,7 +137636,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -144222,6 +145540,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -144676,6 +146003,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -144963,6 +146299,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -145335,6 +146680,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146014,6 +147368,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146434,6 +147797,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -146712,6 +148084,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -147410,6 +148791,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -153777,17 +155167,415 @@ } } }, - "/orgs/{org}/copilot/billing/selected_teams": { + "/orgs/{org}/copilot/billing/selected_teams": { + "post": { + "summary": "Add teams to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for members of the specified team(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + }, + "delete": { + "summary": "Remove teams from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_teams": { + "type": "array", + "description": "The names of teams from which to revoke access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_teams" + ] + }, + "examples": { + "default": { + "value": { + "selected_teams": [ + "engteam1", + "engteam2", + "engteam3" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "properties": { + "seats_cancelled": { + "type": "integer" + } + }, + "required": [ + "seats_cancelled" + ] + }, + "examples": { + "default": { + "value": { + "seats_cancelled": 5 + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/orgs/{org}/copilot/billing/selected_users": { "post": { - "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Add users to the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-teams", + "operationId": "copilot/add-copilot-seats-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -153806,9 +155594,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "List of team names within the organization to which to grant access to GitHub Copilot.", + "description": "The usernames of the organization members to be granted access to GitHub Copilot.", "items": { "type": "string" }, @@ -153816,16 +155604,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -153841,7 +155629,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for members of the specified team(s).", + "description": "The total number of seats created for the specified user(s).", "properties": { "seats_created": { "type": "integer" @@ -153977,15 +155765,15 @@ } }, "delete": { - "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "summary": "Remove users from the Copilot subscription for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-teams", + "operationId": "copilot/cancel-copilot-seat-assignment-for-users", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" }, "parameters": [ { @@ -154004,9 +155792,9 @@ "schema": { "type": "object", "properties": { - "selected_teams": { + "selected_usernames": { "type": "array", - "description": "The names of teams from which to revoke access to GitHub Copilot.", + "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", "items": { "type": "string" }, @@ -154014,16 +155802,16 @@ } }, "required": [ - "selected_teams" + "selected_usernames" ] }, "examples": { "default": { "value": { - "selected_teams": [ - "engteam1", - "engteam2", - "engteam3" + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" ] } } @@ -154039,7 +155827,7 @@ "application/json": { "schema": { "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for members of the specified team(s).", + "description": "The total number of seats set to \"pending cancellation\" for the specified users.", "properties": { "seats_cancelled": { "type": "integer" @@ -154164,7 +155952,7 @@ } }, "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." + "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { @@ -154175,17 +155963,180 @@ } } }, - "/orgs/{org}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", "tags": [ "copilot" ], - "operationId": "copilot/add-copilot-seats-for-users", + "operationId": "copilot/copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, + "examples": { + "default": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -154199,60 +156150,84 @@ } ], "requestBody": { + "description": "The content exclusion rules to set", + "required": true, "content": { "application/json": { "schema": { "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Example of content exclusion paths", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" + "octo-repo": [ + "/src/some-dir/kernel.rs" ] } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "message": { + "type": "string" } - }, - "required": [ - "seats_created" - ] + } }, "examples": { "default": { "value": { - "seats_created": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -154363,154 +156338,8 @@ } } }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, or the organization's Copilot access setting is set to enable Copilot for all users or is unconfigured." - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "copilot", - "subcategory": "copilot-user-management" - } - }, - "delete": { - "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/cancel-copilot-seat-assignment-for-users", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the organization members for which to revoke access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 - } - }, - "required": [ - "selected_usernames" - ] - }, - "examples": { - "default": { - "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "The total number of seats set to \"pending cancellation\" for the specified users.", - "properties": { - "seats_cancelled": { - "type": "integer" - } - }, - "required": [ - "seats_cancelled" - ] - }, - "examples": { - "default": { - "value": { - "seats_cancelled": 5 - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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", + "413": { + "description": "Payload Too Large", "content": { "application/json": { "schema": { @@ -154535,14 +156364,18 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -154550,26 +156383,23 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "string" + } } } } } } - }, - "422": { - "description": "Copilot Business or Enterprise is not enabled for this organization, billing has not been set up for this organization, a public code suggestions policy has not been set for this organization, the seat management setting is set to enable Copilot for all users or is unconfigured, or a user's seat cannot be cancelled because it was assigned to them via a team." } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -158779,6 +160609,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -160273,6 +162111,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -160458,6 +162318,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -161061,7 +162922,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -246876,6 +248737,75 @@ } } }, + "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": { @@ -251551,6 +253481,75 @@ } } }, + "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": { @@ -263030,6 +265029,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263145,6 +265147,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263362,6 +265367,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263405,6 +265413,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -263705,6 +265716,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -266348,6 +268362,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -266524,6 +268541,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -348698,6 +350718,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -373499,6 +375528,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -373666,7 +375722,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -373687,7 +375743,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -375850,6 +377906,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -376915,7 +378979,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -377033,7 +379119,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -378218,7 +380305,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -378361,10 +380470,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -379367,7 +381492,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -572980,6 +575106,75 @@ } } }, + "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": { @@ -577521,6 +579716,75 @@ } } }, + "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": { @@ -599783,482 +602047,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags" - }, - "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": "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": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "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" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "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" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -600280,67 +602091,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "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" + "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": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -600350,11 +602196,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -612802,7 +614645,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n>{\n> \"schemas\": [\n> \"urn:ietf:params:scim:schemas:core:2.0:User\"\n> ],\n> \"externalId\": \"E012345\",\n> \"active\": false,\n> \"userName\": \"E012345\",\n> \"name\": {\n> \"familyName\": \"Octocat\",\n> \"givenName\": \"Mona\",\n> \"middleName\": \"Lisa\"\n> },\n> \"displayName\": \"Mona Lisa\",\n> \"emails\": [\n> {\n> \"value\": \"mlisa@example.com\",\n> \"type\": \"work\",\n> \"primary\": true\n> }\n> ],\n> \"roles\": [\n> {\n> \"value\": \"User\"\n> }\n> ]\n>}\n> ```", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -613531,7 +615374,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n> {\n> \"schemas\": [\n> \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n> ],\n> \"Operations\": [\n> {\n> \"op\": \"replace\",\n> \"value\": {\n> \"active\": false\n> }\n> }\n> ]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -843633,7 +845476,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -846108,7 +847951,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -848583,7 +850426,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -851058,7 +852901,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -853533,7 +855376,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -856008,7 +857851,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -858483,7 +860326,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -860958,7 +862801,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 8f69c66fef..6af019b13b 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &446 + type: &448 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &759 + - &762 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &353 + - &355 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &354 + items: &356 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &355 + default: &357 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &769 + schema: &771 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &357 + default: &359 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2911,7 +2911,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &423 + properties: &425 id: description: Unique identifier of the repository example: 42 @@ -3362,7 +3362,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &424 + required: &426 - archive_url - assignees_url - blobs_url @@ -8912,7 +8912,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &770 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -13123,7 +13123,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &536 + instances_url: &539 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13158,7 +13158,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &537 + dismissed_reason: &540 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13167,13 +13167,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &538 + dismissed_comment: &541 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &539 + rule: &542 type: object properties: id: @@ -13226,7 +13226,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &540 + tool: &543 type: object properties: name: *111 @@ -13236,26 +13236,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &541 + most_recent_instance: &544 type: object properties: - ref: &534 + ref: &537 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &551 + analysis_key: &554 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &552 + environment: &555 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &553 + category: &556 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13269,7 +13269,7 @@ paths: properties: text: type: string - location: &554 + location: &557 type: object description: Describe a region within a file for the alert. properties: @@ -13290,7 +13290,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &555 + items: &558 type: string description: A classification of the file. For example to identify it as generated. @@ -14086,6 +14086,14 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended + metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability @@ -14370,6 +14378,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -14750,6 +14766,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -15607,7 +15631,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &389 + properties: &391 id: description: Unique identifier of the team type: integer @@ -15679,7 +15703,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &390 + required: &392 - id - node_id - url @@ -16214,6 +16238,513 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an enterprise's Copilot content exclusion path rules. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can view details about Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - *41 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Enterprise Content Exclusion Details + description: List all Copilot Content Exclusion rules for an enterprise. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" + '500': *40 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an enterprise. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can set Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - *41 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '413': &332 + description: Payload Too Large + content: + application/json: + schema: *3 + '422': *7 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + "/enterprises/{enterprise}/copilot/custom-agents": + get: + summary: Get custom agents for an enterprise + description: |- + Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise. + + If no source repository has been configured, returns `null` for `custom_agents`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise + parameters: + - *41 + - *17 + - *19 + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + custom_agents: + type: array + description: List of custom agents defined in the repository. + Returns `null` if no source repository is configured. + items: + type: object + properties: + name: + type: string + description: The display name of the custom agent (derived + from filename). + file_path: + type: string + description: The path to the agent definition file. + url: + type: string + description: The URL to view the agent definition file. + nullable: true + examples: + with_agents: + summary: Response with custom agents + value: + custom_agents: + - name: Security Reviewer + file_path: agents/security_reviewer.md + url: https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md + - name: Code Documenter + file_path: agents/code_documenter.md + url: https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md + no_source: + summary: Response when no source repository configured + value: + custom_agents: + '500': *40 + '401': *25 + '403': *29 + '404': + description: Not found or source repository not found + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + repo_not_found: + summary: Configured source repository not found + value: + message: Configured source repository not found + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + "/enterprises/{enterprise}/copilot/custom-agents/source": + get: + summary: Get the source organization for custom agents in an enterprise + description: | + Gets the organization and repository configured as the source for custom agent definitions in an enterprise. + + Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. + An enterprise admin configures one organization as the "source" and that org must have a repo named + `.github-private` containing agent definitions in `/agents/*.md`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - organization + - repository + properties: + organization: + nullable: true + type: object + required: + - id + - login + properties: + id: + type: integer + description: Unique identifier of the organization + login: + type: string + description: Login of the organization + repository: + nullable: true + type: object + required: + - id + - name + - full_name + properties: + id: + type: integer + description: Unique identifier of the repository + name: + type: string + description: Name of the repository + full_name: + type: string + description: Full name of the repository including owner + examples: + default: + value: + organization: + id: 1 + login: octocat-org + repository: + id: 123 + name: ".github-private" + full_name: octocat-org/.github-private + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + put: + summary: Set the source organization for custom agents in an enterprise + description: |- + Sets an organization as the source for custom agent definitions in the enterprise. + The organization must have a `.github-private` repository containing agent definitions. + + By default, this endpoint also creates an enterprise-level ruleset to protect + agent definition files (agents/*.md and .github/agents/*.md). You can opt out + of ruleset creation by setting `create_ruleset` to `false`. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - *41 + requestBody: + description: The source organization configuration + required: true + content: + application/json: + schema: + type: object + required: + - organization_id + properties: + organization_id: + type: integer + description: The ID of the organization to use as the custom agents + source. + create_ruleset: + type: boolean + default: true + description: Whether to create a ruleset to protect agent definition + files. Defaults to true. + examples: + default: + summary: Set source organization with default ruleset creation + value: + organization_id: 123 + without_ruleset: + summary: Set source organization without creating a ruleset + value: + organization_id: 123 + create_ruleset: false + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + organization: + type: object + properties: + id: + type: integer + description: The ID of the organization. + login: + type: string + description: The login name of the organization. + avatar_url: + type: string + description: The avatar URL of the organization. + repository: + type: object + properties: + id: + type: integer + description: The ID of the .github-private repository. + name: + type: string + description: The name of the repository. + full_name: + type: string + description: The full name of the repository (owner/name). + ruleset: + type: object + description: The created or existing ruleset (if create_ruleset + was true). + properties: + id: + type: integer + description: The ID of the ruleset. + name: + type: string + description: The name of the ruleset. + enforcement: + type: string + description: The enforcement level of the ruleset. + examples: + with_ruleset: + summary: Response with ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + ruleset: + id: 10783894 + name: Enterprise Custom Agent Configuration + enforcement: enabled + without_ruleset: + summary: Response without ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '422': + description: Validation failed + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + missing_org_id: + summary: Missing organization_id + value: + message: organization_id is required + org_not_found: + summary: Organization not in enterprise + value: + message: Organization not found in this enterprise + missing_repo: + summary: Missing .github-private repository + value: + message: Organization must have a .github-private repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + delete: + summary: Delete the custom agents source for an enterprise + description: |- + Removes the custom agents source configuration for the enterprise. + This effectively disables custom agents for the enterprise by removing + the reference to the source organization's `.github-private` repository. + + Note: This does not delete the `.github-private` repository or any agent + definition files. It only removes the association between the enterprise + and the source repository. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/delete-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + parameters: + - *41 + responses: + '204': + description: No Content - The custom agents source was successfully removed. + '404': + description: Not found - Enterprise not found, feature not enabled, or no + custom agents source is configured. + content: + application/json: + schema: *3 + '403': + description: Forbidden - The user does not have enterprise admin access. + content: + application/json: + schema: *3 "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -16912,7 +17443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &336 + - &337 name: state in: query description: |- @@ -16921,7 +17452,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &337 + - &338 name: severity in: query description: |- @@ -16930,7 +17461,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &338 + - &339 name: ecosystem in: query description: |- @@ -16939,14 +17470,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &339 + - &340 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &340 + - &341 name: epss_percentage in: query description: |- @@ -16958,7 +17489,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &596 + - &599 name: has in: query description: |- @@ -16972,7 +17503,16 @@ paths: type: string enum: - patch - - &341 + - &342 + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string + - &343 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16982,7 +17522,7 @@ paths: enum: - development - runtime - - &342 + - &344 name: sort in: query description: |- @@ -17008,7 +17548,7 @@ paths: application/json: schema: type: array - items: &343 + items: &345 type: object description: A Dependabot alert. properties: @@ -17071,7 +17611,7 @@ paths: - unknown - direct - transitive - security_advisory: &597 + security_advisory: &600 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17303,14 +17843,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &598 + auto_dismissed_at: &601 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &599 + dismissal_request: &602 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17372,7 +17912,7 @@ paths: - repository additionalProperties: false examples: - default: &344 + default: &346 value: - number: 2 state: dismissed @@ -17476,6 +18016,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -17625,6 +18184,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18328,7 +18888,7 @@ paths: application/json: schema: *22 examples: - default: &369 + default: &371 value: id: 1 account: @@ -18582,7 +19142,7 @@ paths: - name - created_on examples: - default: &451 + default: &453 value: total_count: 2 network_configurations: @@ -18807,7 +19367,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &452 + - &454 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18819,7 +19379,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &455 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18853,7 +19413,7 @@ paths: - subnet_id - region examples: - default: &454 + default: &456 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19672,7 +20232,7 @@ paths: required: true content: application/json: - schema: &422 + schema: &424 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20864,7 +21424,7 @@ paths: nullable: true anyOf: - *162 - - &428 + - &430 title: Organization ruleset conditions type: object description: |- @@ -20911,7 +21471,7 @@ paths: - *165 rules: type: array - items: &725 + items: &728 title: Repository Rule type: object description: A repository rule. @@ -20920,7 +21480,7 @@ paths: - *171 - *172 - *173 - - &723 + - &726 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21248,7 +21808,7 @@ paths: type: string format: date-time examples: - default: &431 + default: &433 value: - version_id: 3 actor: @@ -21301,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 allOf: - *195 - type: object @@ -21356,7 +21916,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &433 + - &435 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21367,7 +21927,7 @@ paths: enum: - open - resolved - - &434 + - &436 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21377,7 +21937,7 @@ paths: required: false schema: type: string - - &435 + - &437 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21386,7 +21946,7 @@ paths: required: false schema: type: string - - &436 + - &438 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21405,7 +21965,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &437 + - &439 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21421,7 +21981,7 @@ paths: - *17 - *108 - *109 - - &438 + - &440 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21430,7 +21990,7 @@ paths: required: false schema: type: string - - &439 + - &441 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21439,7 +21999,7 @@ paths: schema: type: boolean default: false - - &440 + - &442 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21448,7 +22008,7 @@ paths: schema: type: boolean default: false - - &441 + - &443 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21464,7 +22024,7 @@ paths: application/json: schema: type: array - items: &442 + items: &444 type: object properties: number: *128 @@ -21483,14 +22043,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &737 + state: &740 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: &738 + resolution: &741 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21597,8 +22157,8 @@ paths: pull request. ' - oneOf: &739 - - &741 + oneOf: &742 + - &744 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21650,7 +22210,7 @@ paths: - blob_url - commit_sha - commit_url - - &742 + - &745 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21705,7 +22265,7 @@ paths: - page_url - commit_sha - commit_url - - &743 + - &746 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21719,7 +22279,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &744 + - &747 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21733,7 +22293,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &745 + - &748 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21747,7 +22307,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &746 + - &749 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21761,7 +22321,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &747 + - &750 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21775,7 +22335,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &748 + - &751 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21789,7 +22349,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &749 + - &752 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21803,7 +22363,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &750 + - &753 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21817,7 +22377,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &751 + - &754 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21831,7 +22391,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &752 + - &755 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21845,7 +22405,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &753 + - &756 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21872,7 +22432,7 @@ paths: required: *21 nullable: true examples: - default: &443 + default: &445 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22081,7 +22641,7 @@ paths: description: Response content: application/json: - schema: &444 + schema: &446 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22164,7 +22724,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &445 + default: &447 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22300,7 +22860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &448 + - &450 name: advanced_security_product in: query description: | @@ -22320,7 +22880,7 @@ paths: description: Success content: application/json: - schema: &449 + schema: &451 type: object properties: total_advanced_security_committers: @@ -22375,7 +22935,7 @@ paths: required: - repositories examples: - default: &450 + default: &452 value: total_advanced_security_committers: 2 total_count: 2 @@ -25444,7 +26004,7 @@ paths: properties: action: type: string - discussion: &879 + discussion: &881 title: Discussion description: A Discussion in a repository. type: object @@ -25811,7 +26371,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &659 + properties: &662 id: type: integer format: int64 @@ -25925,7 +26485,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &411 + properties: &413 url: type: string format: uri @@ -25995,7 +26555,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &412 + required: &414 - closed_issues - creator - description @@ -26074,7 +26634,7 @@ paths: timeline_url: type: string format: uri - type: &376 + type: &378 title: Issue Type description: The type of issue. type: object @@ -26188,7 +26748,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &797 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -26275,7 +26835,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &680 + properties: &683 pinned_at: type: string format: date-time @@ -26287,7 +26847,7 @@ paths: properties: *20 required: *21 nullable: true - required: &681 + required: &684 - pinned_at - pinned_by nullable: true @@ -26301,7 +26861,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &798 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -26320,7 +26880,7 @@ paths: - total_blocking issue_field_values: type: array - items: &799 + items: &801 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26381,7 +26941,7 @@ paths: - node_id - data_type - value - required: &660 + required: &663 - assignee - closed_at - comments @@ -26419,7 +26979,7 @@ paths: action: type: string issue: *225 - comment: &655 + comment: &658 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27083,7 +27643,7 @@ paths: type: string release: allOf: - - &716 + - &719 title: Release description: A release. type: object @@ -27154,7 +27714,7 @@ paths: author: *4 assets: type: array - items: &717 + items: &720 title: Release Asset description: Data related to a release. type: object @@ -27733,7 +28293,7 @@ paths: url: type: string format: uri - user: &805 + user: &807 title: Public User description: Public User type: object @@ -29605,7 +30165,7 @@ paths: - closed - all default: open - - &379 + - &381 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -29656,7 +30216,7 @@ paths: type: array items: *225 examples: - default: &380 + default: &382 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31041,14 +31601,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &462 + - &465 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &463 + - &466 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31110,7 +31670,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &468 + '301': &471 description: Moved permanently content: application/json: @@ -31132,7 +31692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &690 + - &693 name: all description: If `true`, show notifications marked as read. in: query @@ -31140,7 +31700,7 @@ paths: schema: type: boolean default: false - - &691 + - &694 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31150,7 +31710,7 @@ paths: type: boolean default: false - *232 - - &692 + - &695 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: @@ -31186,7 +31746,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &348 + properties: &350 id: type: integer format: int64 @@ -31472,7 +32032,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &425 + security_and_analysis: &427 nullable: true type: object properties: @@ -31593,7 +32153,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &349 + required: &351 - archive_url - assignees_url - blobs_url @@ -31681,7 +32241,7 @@ paths: - url - subscription_url examples: - default: &693 + default: &696 value: - id: '1' repository: @@ -32278,7 +32838,7 @@ paths: type: integer custom_roles: type: array - items: &332 + items: &333 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -32326,7 +32886,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &334 value: id: 8030 name: Security Engineer @@ -32798,7 +33358,7 @@ paths: type: array items: *156 examples: - default: &699 + default: &702 value: - property_name: environment value: production @@ -32848,7 +33408,7 @@ paths: required: - properties examples: - default: &700 + default: &703 value: properties: - property_name: environment @@ -33661,7 +34221,7 @@ paths: type: integer repository_cache_usages: type: array - items: &475 + items: &478 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35784,7 +36344,7 @@ paths: type: array items: *288 examples: - default: &808 + default: &810 value: total_count: 1 repositories: @@ -36826,7 +37386,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &498 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36855,7 +37415,7 @@ paths: - key_id - key examples: - default: &496 + default: &499 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37268,7 +37828,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &480 + - &483 name: per_page description: The number of results per page (max 30). 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)." @@ -37873,20 +38433,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -38036,7 +38598,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -38049,17 +38611,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -38099,7 +38661,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -38495,12 +39057,12 @@ paths: required: - subject_digests examples: - default: &838 + default: &840 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &839 + withPredicateType: &841 value: subject_digests: - sha256:abc123 @@ -38558,7 +39120,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &840 + default: &842 value: attestations_subject_digests: - sha256:abc: @@ -38908,7 +39470,7 @@ paths: initiator: type: string examples: - default: &509 + default: &512 value: attestations: - bundle: @@ -39825,7 +40387,7 @@ paths: be returned. in: query required: false - schema: &535 + schema: &538 type: string description: Severity of a code scanning alert. enum: @@ -40185,6 +40747,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -40543,6 +41112,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -40867,7 +41443,7 @@ paths: type: integer codespaces: type: array - items: &381 + items: &383 type: object title: Codespace description: A codespace. @@ -40897,7 +41473,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &567 + properties: &570 name: type: string description: The name of the machine. @@ -40939,7 +41515,7 @@ paths: - ready - in_progress nullable: true - required: &568 + required: &571 - name - display_name - operating_system @@ -41144,7 +41720,7 @@ paths: - pulls_url - recent_folders examples: - default: &382 + default: &384 value: total_count: 3 codespaces: @@ -41807,7 +42383,7 @@ paths: - updated_at - visibility examples: - default: &569 + default: &572 value: total_count: 2 secrets: @@ -41845,7 +42421,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &573 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41874,7 +42450,7 @@ paths: - key_id - key examples: - default: &571 + default: &574 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41906,7 +42482,7 @@ paths: application/json: schema: *331 examples: - default: &573 + default: &576 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42703,6 +43279,147 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - *87 + responses: + '200': + description: OK + content: + application/json: + schema: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. + examples: + default: + value: + octo-repo: + - "/src/some-dir/kernel.rs" + '500': *40 + '401': *25 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - *87 + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': *40 + '401': *25 + '403': *29 + '404': *6 + '413': *332 + '422': *7 + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -43127,7 +43844,7 @@ paths: type: integer custom_roles: type: array - items: *332 + items: *333 examples: default: value: @@ -43219,7 +43936,7 @@ paths: required: true content: application/json: - schema: &334 + schema: &335 type: object properties: name: @@ -43260,9 +43977,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43293,9 +44010,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '404': *6 x-github: githubCloudOnly: true @@ -43323,7 +44040,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &336 type: object properties: name: @@ -43361,9 +44078,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43421,7 +44138,7 @@ paths: required: true content: application/json: - schema: *334 + schema: *335 examples: default: value: @@ -43435,9 +44152,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43474,9 +44191,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '404': *6 x-github: githubCloudOnly: true @@ -43510,7 +44227,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -43525,9 +44242,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '422': *15 '404': *6 x-github: @@ -43587,11 +44304,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *336 - *337 - *338 - *339 - *340 + - *341 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -43621,6 +44338,7 @@ paths: enum: - patch - deployment + - *342 - name: runtime_risk in: query description: |- @@ -43629,8 +44347,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *341 - - *342 + - *343 + - *344 - *110 - *108 - *109 @@ -43642,9 +44360,9 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: - default: *344 + default: *346 '304': *37 '400': *14 '403': *29 @@ -43688,7 +44406,7 @@ paths: type: integer secrets: type: array - items: &345 + items: &347 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -43765,7 +44483,7 @@ paths: description: Response content: application/json: - schema: &602 + schema: &605 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43782,7 +44500,7 @@ paths: - key_id - key examples: - default: &603 + default: &606 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43812,7 +44530,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -43877,9 +44595,7 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -44112,7 +44828,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &611 + - &614 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44120,7 +44836,7 @@ paths: required: false schema: type: string - - &612 + - &615 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44128,7 +44844,7 @@ paths: required: false schema: type: string - - &613 + - &616 name: time_period description: |- The time period to filter by. @@ -44144,7 +44860,7 @@ paths: - week - month default: month - - &614 + - &617 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44169,7 +44885,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44275,7 +44991,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &346 + items: &348 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -44325,7 +45041,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &616 + default: &619 value: - id: 21 number: 42 @@ -44417,7 +45133,7 @@ paths: - *103 - *104 - *105 - - &347 + - &349 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -44443,7 +45159,7 @@ paths: application/json: schema: type: array - items: &617 + items: &620 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44549,7 +45265,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *346 + items: *348 url: type: string format: uri @@ -44560,7 +45276,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &618 + default: &621 value: - id: 21 number: 42 @@ -44652,7 +45368,7 @@ paths: - *103 - *104 - *105 - - *347 + - *349 - *17 - *19 responses: @@ -44662,7 +45378,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44783,7 +45499,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &620 + default: &623 value: - id: 21 number: 42 @@ -44871,7 +45587,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Package description: A software package type: object @@ -44921,8 +45637,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *348 - required: *349 + properties: *350 + required: *351 nullable: true created_at: type: string @@ -44941,7 +45657,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - id: 197 name: hello_docker @@ -45128,7 +45844,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &462 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45209,7 +45925,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &460 + default: &463 value: group_id: '123' group_name: Octocat admins @@ -45264,7 +45980,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45301,7 +46017,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &458 + default: &460 value: groups: - group_id: '123' @@ -45346,7 +46062,7 @@ paths: application/json: schema: type: array - items: &373 + items: &375 title: Organization Invitation description: Organization Invitation type: object @@ -45393,7 +46109,7 @@ paths: - invitation_teams_url - node_id examples: - default: &374 + default: &376 value: - id: 1 login: monalisa @@ -45460,7 +46176,7 @@ paths: application/json: schema: type: array - items: &426 + items: &428 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -45474,7 +46190,7 @@ paths: - name - description examples: - default: &427 + default: &429 value: - name: add_assignee description: Assign or remove a user @@ -45515,7 +46231,7 @@ paths: application/json: schema: type: array - items: &350 + items: &352 title: Org Hook description: Org Hook type: object @@ -45684,9 +46400,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: &351 + default: &353 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -45731,7 +46447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &352 + - &354 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -45744,9 +46460,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -45768,7 +46484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *352 + - *354 requestBody: required: false content: @@ -45813,7 +46529,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -45853,7 +46569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *352 + - *354 responses: '204': description: Response @@ -45879,7 +46595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *354 responses: '200': description: Response @@ -45908,7 +46624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *354 requestBody: required: false content: @@ -45957,9 +46673,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *17 - - *353 + - *355 responses: '200': description: Response @@ -45967,9 +46683,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 '400': *14 '422': *15 x-github: @@ -45993,16 +46709,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *16 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '400': *14 '422': *15 x-github: @@ -46026,7 +46742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *354 - *16 responses: '202': *39 @@ -46053,7 +46769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *352 + - *354 responses: '204': description: Response @@ -46076,7 +46792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &362 + - &364 name: actor_type in: path description: The type of the actor @@ -46089,14 +46805,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &363 + - &365 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &358 + - &360 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -46104,7 +46820,7 @@ paths: required: true schema: type: string - - &359 + - &361 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -46198,12 +46914,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *358 - - *359 + - *360 + - *361 - *19 - *17 - *110 - - &368 + - &370 name: sort description: The property to sort the results by. in: query @@ -46281,14 +46997,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *358 - - *359 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: &360 + schema: &362 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -46304,7 +47020,7 @@ paths: type: integer format: int64 examples: - default: &361 + default: &363 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -46325,23 +47041,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &364 + - &366 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *358 - - *359 + - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -46360,18 +47076,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *358 - - *359 - - *362 - - *363 + - *360 + - *361 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -46389,9 +47105,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *358 - - *359 - - &365 + - *360 + - *361 + - &367 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -46404,7 +47120,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &368 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -46420,7 +47136,7 @@ paths: type: integer format: int64 examples: - default: &367 + default: &369 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -46457,18 +47173,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *364 - - *358 - - *359 - - *365 + - *366 + - *360 + - *361 + - *367 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -46486,19 +47202,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *362 - - *363 - - *358 - - *359 + - *364 - *365 + - *360 + - *361 + - *367 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -46516,13 +47232,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *364 - - *358 - - *359 + - *366 + - *360 + - *361 - *19 - *17 - *110 - - *368 + - *370 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -46603,7 +47319,7 @@ paths: application/json: schema: *22 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46723,12 +47439,12 @@ paths: application/json: schema: anyOf: - - &371 + - &373 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &370 + limit: &372 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -46753,7 +47469,7 @@ paths: properties: {} additionalProperties: false examples: - default: &372 + default: &374 value: limit: collaborators_only origin: organization @@ -46782,13 +47498,13 @@ paths: required: true content: application/json: - schema: &651 + schema: &654 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *370 + limit: *372 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -46812,9 +47528,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '422': *15 x-github: githubCloudOnly: false @@ -46892,9 +47608,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 '404': *6 @@ -46972,7 +47688,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *375 examples: default: value: @@ -47029,7 +47745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &375 + - &377 name: invitation_id description: The unique identifier of the invitation. in: path @@ -47063,7 +47779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *375 + - *377 - *17 - *19 responses: @@ -47075,7 +47791,7 @@ paths: type: array items: *317 examples: - default: &391 + default: &393 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -47118,7 +47834,7 @@ paths: application/json: schema: type: array - items: *376 + items: *378 examples: default: value: @@ -47203,9 +47919,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: &377 + default: &379 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -47238,7 +47954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &378 + - &380 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -47291,9 +48007,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 '404': *6 '422': *7 x-github: @@ -47318,7 +48034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *378 + - *380 responses: '204': description: Response @@ -47381,7 +48097,7 @@ paths: - closed - all default: open - - *379 + - *381 - name: type description: Can be the name of an issue type. in: query @@ -47412,7 +48128,7 @@ paths: type: array items: *225 examples: - default: *380 + default: *382 headers: Link: *47 '404': *6 @@ -47571,9 +48287,9 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 '304': *37 '500': *40 '401': *25 @@ -47600,7 +48316,7 @@ paths: parameters: - *87 - *143 - - &383 + - &385 name: codespace_name in: path required: true @@ -47635,15 +48351,15 @@ paths: parameters: - *87 - *143 - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &566 + default: &569 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -47899,7 +48615,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &386 title: Org Membership description: Org Membership type: object @@ -47966,7 +48682,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &385 + response-if-user-has-an-active-admin-membership-with-organization: &387 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -48067,9 +48783,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - response-if-user-already-had-membership-with-organization: *385 + response-if-user-already-had-membership-with-organization: *387 '422': *15 '403': *29 x-github: @@ -48140,7 +48856,7 @@ paths: application/json: schema: type: array - items: &386 + items: &388 title: Migration description: A migration. type: object @@ -48469,7 +49185,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -48648,7 +49364,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &387 + - &389 name: migration_id description: The unique identifier of the migration. in: path @@ -48675,7 +49391,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -48845,7 +49561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *387 + - *389 responses: '302': description: Response @@ -48867,7 +49583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *387 + - *389 responses: '204': description: Response @@ -48891,8 +49607,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *387 - - &821 + - *389 + - &823 name: repo_name description: repo_name parameter in: path @@ -48920,7 +49636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *387 + - *389 - *17 - *19 responses: @@ -48932,7 +49648,7 @@ paths: type: array items: *288 examples: - default: &398 + default: &400 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49143,7 +49859,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &388 + items: &390 title: Organization Role description: Organization roles type: object @@ -49350,7 +50066,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49580,7 +50296,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49677,7 +50393,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: default: value: @@ -49835,8 +50551,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 nullable: true type: description: The ownership type of the team @@ -49868,7 +50584,7 @@ paths: - type - parent examples: - default: *391 + default: *393 headers: Link: *47 '404': @@ -49926,13 +50642,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &447 + items: &449 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 name: nullable: true type: string @@ -50220,7 +50936,7 @@ paths: - nuget - container - *87 - - &822 + - &824 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -50256,12 +50972,12 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '403': *29 '401': *25 - '400': &824 + '400': &826 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -50283,7 +50999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &394 + - &396 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -50301,7 +51017,7 @@ paths: - docker - nuget - container - - &395 + - &397 name: package_name description: The name of the package. in: path @@ -50314,7 +51030,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -50366,8 +51082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 responses: '204': @@ -50400,8 +51116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - name: token description: package token @@ -50434,8 +51150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - *19 - *17 @@ -50456,7 +51172,7 @@ paths: application/json: schema: type: array - items: &396 + items: &398 title: Package Version description: A version of a software package type: object @@ -50581,10 +51297,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *394 - - *395 + - *396 + - *397 - *87 - - &397 + - &399 name: package_version_id description: Unique identifier of the package version. in: path @@ -50596,7 +51312,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -50632,10 +51348,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *394 - - *395 - - *87 + - *396 - *397 + - *87 + - *399 responses: '204': description: Response @@ -50667,10 +51383,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *394 - - *395 - - *87 + - *396 - *397 + - *87 + - *399 responses: '204': description: Response @@ -50700,7 +51416,7 @@ paths: - *87 - *17 - *19 - - &399 + - &401 name: sort description: The property by which to sort the results. in: query @@ -50711,7 +51427,7 @@ paths: - created_at default: created_at - *110 - - &400 + - &402 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -50722,7 +51438,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &401 + - &403 name: repository description: The name of the repository to use to filter the results. in: query @@ -50730,7 +51446,7 @@ paths: schema: type: string example: Hello-World - - &402 + - &404 name: permission description: The permission to use to filter the results. in: query @@ -50738,7 +51454,7 @@ paths: schema: type: string example: issues_read - - &403 + - &405 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -50748,7 +51464,7 @@ paths: schema: type: string format: date-time - - &404 + - &406 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -50758,7 +51474,7 @@ paths: schema: type: string format: date-time - - &405 + - &407 name: token_id description: The ID of the token in: query @@ -51071,7 +51787,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -51097,14 +51813,14 @@ paths: - *87 - *17 - *19 - - *399 - - *110 - - *400 - *401 + - *110 - *402 - *403 - *404 - *405 + - *406 + - *407 responses: '500': *40 '422': *15 @@ -51386,7 +52102,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -51428,7 +52144,7 @@ paths: type: integer configurations: type: array - items: &406 + items: &408 title: Organization private registry description: Private registry configuration for an organization type: object @@ -51718,7 +52434,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &407 + org-private-registry-with-selected-visibility: &409 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -51814,9 +52530,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 '404': *6 x-github: githubCloudOnly: false @@ -51983,7 +52699,7 @@ paths: application/json: schema: type: array - items: &408 + items: &410 title: Projects v2 Project description: A projects v2 project type: object @@ -52053,7 +52769,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &915 + properties: &917 id: type: number description: The unique identifier of the status update. @@ -52101,7 +52817,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &916 + required: &918 - id - node_id - created_at @@ -52126,7 +52842,7 @@ paths: - deleted_at - deleted_by examples: - default: &409 + default: &411 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -52229,7 +52945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &410 + - &412 name: project_number description: The project's number. in: path @@ -52242,9 +52958,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -52267,7 +52983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true description: Details of the draft item to create in the project. @@ -52301,7 +53017,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &418 title: Projects v2 Item description: An item belonging to a project type: object @@ -52315,7 +53031,7 @@ paths: content: oneOf: - *225 - - &583 + - &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -52421,8 +53137,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true active_lock_reason: type: string @@ -52518,7 +53234,7 @@ paths: _links: type: object properties: - comments: &413 + comments: &415 title: Link description: Hypermedia Link type: object @@ -52527,13 +53243,13 @@ paths: type: string required: - href - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + commits: *415 + statuses: *415 + html: *415 + issue: *415 + review_comments: *415 + review_comment: *415 + self: *415 required: - comments - commits @@ -52544,7 +53260,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &702 + auto_merge: &705 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52646,7 +53362,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &415 + content_type: &417 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -52686,7 +53402,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &417 + draft_issue: &419 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52760,7 +53476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *410 + - *412 - *87 - *17 - *108 @@ -52772,7 +53488,7 @@ paths: application/json: schema: type: array - items: &414 + items: &416 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -52919,7 +53635,7 @@ paths: - updated_at - project_url examples: - default: &843 + default: &845 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53049,7 +53765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *410 + - *412 - *87 requestBody: required: true @@ -53096,7 +53812,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &844 + items: &846 type: object properties: name: @@ -53133,7 +53849,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &845 + iteration_configuration: &847 type: object description: The configuration for iteration fields. properties: @@ -53183,7 +53899,7 @@ paths: value: name: Due date data_type: date - single_select_field: &846 + single_select_field: &848 summary: Create a single select field value: name: Priority @@ -53210,7 +53926,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &847 + iteration_field: &849 summary: Create an iteration field value: name: Sprint @@ -53234,9 +53950,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *414 + schema: *416 examples: - text_field: &848 + text_field: &850 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -53245,7 +53961,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &849 + number_field: &851 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -53254,7 +53970,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &850 + date_field: &852 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -53263,7 +53979,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &851 + single_select_field: &853 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53297,7 +54013,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &852 + iteration_field: &854 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -53342,8 +54058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *410 - - &853 + - *412 + - &855 name: field_id description: The unique identifier of the field. in: path @@ -53356,9 +54072,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: &854 + default: &856 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53414,7 +54130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *410 + - *412 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -53447,7 +54163,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Projects v2 Item description: An item belonging to a project type: object @@ -53463,7 +54179,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *415 + content_type: *417 content: type: object additionalProperties: true @@ -53506,7 +54222,7 @@ paths: - updated_at - archived_at examples: - default: &419 + default: &421 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -54204,7 +54920,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -54274,22 +54990,22 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *417 + value: *419 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *417 + value: *419 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *417 + value: *419 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *417 + value: *419 '304': *37 '403': *29 '401': *25 @@ -54309,9 +55025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *410 + - *412 - *87 - - &420 + - &422 name: item_id description: The unique identifier of the project item. in: path @@ -54337,9 +55053,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -54360,9 +55076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *410 + - *412 - *87 - - *420 + - *422 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -54432,13 +55148,13 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - text_field: *419 - number_field: *419 - date_field: *419 - single_select_field: *419 - iteration_field: *419 + text_field: *421 + number_field: *421 + date_field: *421 + single_select_field: *421 + iteration_field: *421 '401': *25 '403': *29 '404': *6 @@ -54458,9 +55174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *410 + - *412 - *87 - - *420 + - *422 responses: '204': description: Response @@ -54484,7 +55200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *410 + - *412 requestBody: required: true content: @@ -54555,7 +55271,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &835 + schema: &837 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -54653,7 +55369,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &421 + value: &423 value: id: 1 number: 1 @@ -54699,10 +55415,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *421 + value: *423 roadmap_view: summary: Response for creating a roadmap view - value: *421 + value: *423 '304': *37 '403': *29 '401': *25 @@ -54730,9 +55446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-project-view parameters: - - *410 + - *412 - *87 - - &855 + - &857 name: view_number description: The number that identifies the project view. in: path @@ -54764,9 +55480,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -54930,7 +55646,7 @@ paths: required: true content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -55295,7 +56011,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -55498,7 +56214,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &470 title: Full Repository description: Full Repository type: object @@ -55786,8 +56502,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *423 - required: *424 + properties: *425 + required: *426 nullable: true temp_clone_token: type: string @@ -55902,7 +56618,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &588 + properties: &591 url: type: string format: uri @@ -55918,12 +56634,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &589 + required: &592 - url - key - name - html_url - security_and_analysis: *425 + security_and_analysis: *427 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -56007,7 +56723,7 @@ paths: - network_count - subscribers_count examples: - default: &469 + default: &472 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -56533,9 +57249,9 @@ paths: application/json: schema: type: array - items: *426 + items: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56560,7 +57276,7 @@ paths: - *87 - *17 - *19 - - &724 + - &727 name: targets description: | A comma-separated list of rule targets to filter by. @@ -56651,11 +57367,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *428 + conditions: *430 rules: type: array description: An array of rules within the ruleset. - items: &430 + items: &432 title: Repository Rule type: object description: A repository rule. @@ -56720,7 +57436,7 @@ paths: application/json: schema: *191 examples: - default: &429 + default: &431 value: id: 21 name: super cool ruleset @@ -56760,6 +57476,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *40 "/orgs/{org}/rulesets/rule-suites": get: @@ -56775,7 +57492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &726 + - &729 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 @@ -56787,14 +57504,14 @@ paths: x-multi-segment: true - *314 - *105 - - &727 + - &730 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 - - &728 + - &731 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56814,7 +57531,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &732 title: Rule Suites description: Response type: array @@ -56869,7 +57586,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &730 + default: &733 value: - id: 21 actor_id: 12 @@ -56913,7 +57630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &731 + - &734 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56929,7 +57646,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &735 title: Rule Suite description: Response type: object @@ -57028,7 +57745,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &733 + default: &736 value: id: 21 actor_id: 12 @@ -57103,7 +57820,7 @@ paths: application/json: schema: *191 examples: - default: *429 + default: *431 '404': *6 '500': *40 put: @@ -57152,11 +57869,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *428 + conditions: *430 rules: description: An array of rules within the ruleset. type: array - items: *430 + items: *432 examples: default: value: @@ -57193,8 +57910,9 @@ paths: application/json: schema: *191 examples: - default: *429 + default: *431 '404': *6 + '422': *15 '500': *40 delete: summary: Delete an organization repository ruleset @@ -57252,7 +57970,7 @@ paths: type: array items: *195 examples: - default: *431 + default: *433 '404': *6 '500': *40 x-github: @@ -57289,7 +58007,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: default: value: @@ -57352,15 +58070,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *433 - - *434 - *435 - *436 - *437 + - *438 + - *439 - *110 - *19 - *17 - - &735 + - &738 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 @@ -57370,7 +58088,7 @@ paths: required: false schema: type: string - - &736 + - &739 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 @@ -57380,10 +58098,10 @@ paths: required: false schema: type: string - - *438 - - *439 - *440 - *441 + - *442 + - *443 responses: '200': description: Response @@ -57391,9 +58109,9 @@ paths: application/json: schema: type: array - items: *442 + items: *444 examples: - default: *443 + default: *445 headers: Link: *47 '404': *6 @@ -57428,9 +58146,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '403': *29 '404': *6 patch: @@ -57583,7 +58301,7 @@ paths: application/json: schema: type: array - items: &757 + items: &760 description: A repository security advisory. type: object properties: @@ -57803,7 +58521,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 credits_detailed: type: array nullable: true @@ -57813,7 +58531,7 @@ paths: type: object properties: user: *4 - type: *446 + type: *448 state: type: string description: The state of the user's acceptance of the @@ -57874,7 +58592,7 @@ paths: - private_fork additionalProperties: false examples: - default: &758 + default: &761 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -58261,7 +58979,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -58360,7 +59078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *448 + - *450 - *17 - *19 responses: @@ -58368,9 +59086,9 @@ paths: description: Success content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58651,7 +59369,7 @@ paths: type: array items: *148 examples: - default: *451 + default: *453 headers: Link: *47 x-github: @@ -58854,15 +59572,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *452 + - *454 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 headers: Link: *47 x-github: @@ -58900,7 +59618,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &467 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58946,7 +59664,7 @@ paths: type: string nullable: true examples: - default: &465 + default: &468 value: groups: - group_id: '123' @@ -59060,7 +59778,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 headers: Link: *47 '403': *29 @@ -59154,7 +59872,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -59217,8 +59935,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *389 - required: *390 + properties: *391 + required: *392 nullable: true members_count: type: integer @@ -59481,7 +60199,7 @@ paths: - repos_count - organization examples: - default: &456 + default: &458 value: id: 1 node_id: MDQ6VGVhbTE= @@ -59558,9 +60276,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 x-github: githubCloudOnly: false @@ -59644,16 +60362,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 '422': *15 '403': *29 @@ -59683,6 +60401,9 @@ paths: responses: '204': description: Response + '422': &461 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59709,9 +60430,10 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59754,9 +60476,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *462 examples: - default: *460 + default: *463 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59780,6 +60503,7 @@ paths: responses: '204': description: Response + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59811,11 +60535,12 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 + '422': *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59897,7 +60622,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &464 title: Team Membership description: Team Membership type: object @@ -59924,7 +60649,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &801 + response-if-user-is-a-team-maintainer: &803 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59987,9 +60712,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: &802 + response-if-users-membership-with-team-is-now-pending: &804 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60065,7 +60790,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -60096,14 +60821,14 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &803 + schema: &805 title: Team Repository description: A team's access to a repository. type: object @@ -60674,8 +61399,8 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -60722,8 +61447,8 @@ paths: parameters: - *87 - *218 - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -60756,9 +61481,10 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: - default: *465 + default: *468 + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60824,7 +61550,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: default: value: @@ -60836,6 +61562,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60869,7 +61596,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: &804 + response-if-child-teams-exist: &806 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61023,7 +61750,7 @@ paths: resources: type: object properties: - core: &466 + core: &469 title: Rate Limit type: object properties: @@ -61040,21 +61767,21 @@ paths: - remaining - reset - used - graphql: *466 - search: *466 - code_search: *466 - source_import: *466 - integration_manifest: *466 - code_scanning_upload: *466 - actions_runner_registration: *466 - scim: *466 - dependency_snapshots: *466 - dependency_sbom: *466 - code_scanning_autofix: *466 + graphql: *469 + search: *469 + code_search: *469 + source_import: *469 + integration_manifest: *469 + code_scanning_upload: *469 + actions_runner_registration: *469 + scim: *469 + dependency_snapshots: *469 + dependency_sbom: *469 + code_scanning_autofix: *469 required: - core - search - rate: *466 + rate: *469 required: - rate - resources @@ -61159,14 +61886,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *467 + schema: *470 examples: default-response: summary: Default response @@ -61675,7 +62402,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *468 + '301': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61693,8 +62420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -61995,10 +62722,10 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 - '307': &470 + default: *472 + '307': &473 description: Temporary Redirect content: application/json: @@ -62027,8 +62754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -62050,7 +62777,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *470 + '307': *473 '404': *6 '409': *119 x-github: @@ -62074,11 +62801,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - - &487 + - &490 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62101,7 +62828,7 @@ paths: type: integer artifacts: type: array - items: &471 + items: &474 title: Artifact description: An artifact type: object @@ -62179,7 +62906,7 @@ paths: - expires_at - updated_at examples: - default: &488 + default: &491 value: total_count: 2 artifacts: @@ -62240,9 +62967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *462 - - *463 - - &472 + - *465 + - *466 + - &475 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62254,7 +62981,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *474 examples: default: value: @@ -62292,9 +63019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *462 - - *463 - - *472 + - *465 + - *466 + - *475 responses: '204': description: Response @@ -62318,9 +63045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *462 - - *463 - - *472 + - *465 + - *466 + - *475 - name: archive_format in: path required: true @@ -62334,7 +63061,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &654 + '410': &657 description: Gone content: application/json: @@ -62359,14 +63086,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &473 + schema: &476 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -62399,13 +63126,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *473 + schema: *476 examples: selected_actions: *44 responses: @@ -62434,14 +63161,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &474 + schema: &477 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -62474,13 +63201,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *474 + schema: *477 examples: selected_actions: *46 responses: @@ -62511,14 +63238,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *475 + schema: *478 examples: default: value: @@ -62544,11 +63271,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - - &476 + - &479 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -62582,7 +63309,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &480 title: Repository actions caches description: Repository actions caches type: object @@ -62624,7 +63351,7 @@ paths: - total_count - actions_caches examples: - default: &478 + default: &481 value: total_count: 1 actions_caches: @@ -62656,23 +63383,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *462 - - *463 + - *465 + - *466 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *476 + - *479 responses: '200': description: Response content: application/json: - schema: *477 + schema: *480 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62692,8 +63419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *462 - - *463 + - *465 + - *466 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62724,9 +63451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *462 - - *463 - - &479 + - *465 + - *466 + - &482 name: job_id description: The unique identifier of the job. in: path @@ -62738,7 +63465,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &494 title: Job description: Information of a job execution in a workflow run type: object @@ -63045,9 +63772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *462 - - *463 - - *479 + - *465 + - *466 + - *482 responses: '302': description: Response @@ -63075,9 +63802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *462 - - *463 - - *479 + - *465 + - *466 + - *482 requestBody: required: false content: @@ -63122,8 +63849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Status response @@ -63173,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -63237,8 +63964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -63256,7 +63983,7 @@ paths: type: integer secrets: type: array - items: &493 + items: &496 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63276,7 +64003,7 @@ paths: - created_at - updated_at examples: - default: &494 + default: &497 value: total_count: 2 secrets: @@ -63309,9 +64036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *462 - - *463 - - *480 + - *465 + - *466 + - *483 - *19 responses: '200': @@ -63328,7 +64055,7 @@ paths: type: integer variables: type: array - items: &497 + items: &500 title: Actions Variable type: object properties: @@ -63358,7 +64085,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &501 value: total_count: 2 variables: @@ -63391,8 +64118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63401,7 +64128,7 @@ paths: schema: type: object properties: - enabled: &481 + enabled: &484 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -63436,8 +64163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63448,7 +64175,7 @@ paths: schema: type: object properties: - enabled: *481 + enabled: *484 allowed_actions: *60 sha_pinning_required: *61 required: @@ -63481,14 +64208,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &482 + schema: &485 type: object properties: access_level: @@ -63506,7 +64233,7 @@ paths: required: - access_level examples: - default: &483 + default: &486 value: access_level: organization x-github: @@ -63531,15 +64258,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *482 + schema: *485 examples: - default: *483 + default: *486 responses: '204': description: Response @@ -63563,8 +64290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63594,8 +64321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Empty response for successful settings update @@ -63629,8 +64356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63657,8 +64384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63692,8 +64419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63721,8 +64448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -63753,8 +64480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63785,8 +64512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -63818,8 +64545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63848,8 +64575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Success response @@ -63889,8 +64616,8 @@ paths: in: query schema: type: string - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -63934,8 +64661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -63967,8 +64694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -64042,8 +64769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -64079,8 +64806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -64110,8 +64837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': @@ -64141,8 +64868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '204': @@ -64169,8 +64896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': *81 @@ -64195,8 +64922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 requestBody: required: true @@ -64245,8 +64972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 requestBody: required: true @@ -64296,8 +65023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 responses: '200': *295 @@ -64327,8 +65054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *75 - *296 responses: @@ -64358,9 +65085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *462 - - *463 - - &501 + - *465 + - *466 + - &504 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -64368,7 +65095,7 @@ paths: required: false schema: type: string - - &502 + - &505 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64376,7 +65103,7 @@ paths: required: false schema: type: string - - &503 + - &506 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64385,7 +65112,7 @@ paths: required: false schema: type: string - - &504 + - &507 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -64412,7 +65139,7 @@ paths: - pending - *17 - *19 - - &505 + - &508 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -64421,7 +65148,7 @@ paths: schema: type: string format: date-time - - &484 + - &487 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64430,13 +65157,13 @@ paths: schema: type: boolean default: false - - &506 + - &509 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &507 + - &510 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64459,7 +65186,7 @@ paths: type: integer workflow_runs: type: array - items: &485 + items: &488 title: Workflow Run description: An invocation of a workflow type: object @@ -64607,7 +65334,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &529 + properties: &532 id: type: string description: SHA for the commit @@ -64658,7 +65385,7 @@ paths: - name - email nullable: true - required: &530 + required: &533 - id - tree_id - message @@ -64705,7 +65432,7 @@ paths: - workflow_url - pull_requests examples: - default: &508 + default: &511 value: total_count: 1 workflow_runs: @@ -64941,24 +65668,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *462 - - *463 - - &486 + - *465 + - *466 + - &489 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *484 + - *487 responses: '200': description: Response content: application/json: - schema: *485 + schema: *488 examples: - default: &489 + default: &492 value: id: 30433642 name: Build @@ -65199,9 +65926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '204': description: Response @@ -65224,9 +65951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -65345,9 +66072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '201': description: Response @@ -65380,12 +66107,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 - *17 - *19 - - *487 + - *490 responses: '200': description: Response @@ -65401,9 +66128,9 @@ paths: type: integer artifacts: type: array - items: *471 + items: *474 examples: - default: *488 + default: *491 headers: Link: *47 x-github: @@ -65427,25 +66154,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *462 - - *463 - - *486 - - &490 + - *465 + - *466 + - *489 + - &493 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *484 + - *487 responses: '200': description: Response content: application/json: - schema: *485 + schema: *488 examples: - default: *489 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65468,10 +66195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *462 - - *463 - - *486 - - *490 + - *465 + - *466 + - *489 + - *493 - *17 - *19 responses: @@ -65489,9 +66216,9 @@ paths: type: integer jobs: type: array - items: *491 + items: *494 examples: - default: &492 + default: &495 value: total_count: 1 jobs: @@ -65604,10 +66331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *462 - - *463 - - *486 - - *490 + - *465 + - *466 + - *489 + - *493 responses: '302': description: Response @@ -65635,9 +66362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '202': description: Response @@ -65670,9 +66397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: true content: @@ -65739,9 +66466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '202': description: Response @@ -65774,9 +66501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -65806,9 +66533,9 @@ paths: type: integer jobs: type: array - items: *491 + items: *494 examples: - default: *492 + default: *495 headers: Link: *47 x-github: @@ -65833,9 +66560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '302': description: Response @@ -65862,9 +66589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '204': description: Response @@ -65891,9 +66618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -65953,7 +66680,7 @@ paths: items: type: object properties: - type: &621 + type: &624 type: string description: The type of reviewer. enum: @@ -66038,9 +66765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: true content: @@ -66087,12 +66814,12 @@ paths: application/json: schema: type: array - items: &606 + items: &609 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &873 + properties: &875 url: type: string format: uri @@ -66177,7 +66904,7 @@ paths: nullable: true properties: *220 required: *221 - required: &874 + required: &876 - id - node_id - sha @@ -66193,7 +66920,7 @@ paths: - created_at - updated_at examples: - default: &607 + default: &610 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66249,9 +66976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: false content: @@ -66295,9 +67022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 requestBody: required: false content: @@ -66351,9 +67078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *462 - - *463 - - *486 + - *465 + - *466 + - *489 responses: '200': description: Response @@ -66490,8 +67217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -66509,9 +67236,9 @@ paths: type: integer secrets: type: array - items: *493 + items: *496 examples: - default: *494 + default: *497 headers: Link: *47 x-github: @@ -66536,16 +67263,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66567,17 +67294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: &634 + default: &637 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66603,8 +67330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -66662,8 +67389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -66689,9 +67416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *462 - - *463 - - *480 + - *465 + - *466 + - *483 - *19 responses: '200': @@ -66708,9 +67435,9 @@ paths: type: integer variables: type: array - items: *497 + items: *500 examples: - default: *498 + default: *501 headers: Link: *47 x-github: @@ -66733,8 +67460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -66786,17 +67513,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: &635 + default: &638 value: name: USERNAME value: octocat @@ -66822,8 +67549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 requestBody: required: true @@ -66866,8 +67593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 responses: '204': @@ -66893,8 +67620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -66912,7 +67639,7 @@ paths: type: integer workflows: type: array - items: &499 + items: &502 title: Workflow description: A GitHub Actions workflow type: object @@ -67019,9 +67746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *462 - - *463 - - &500 + - *465 + - *466 + - &503 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67036,7 +67763,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *502 examples: default: value: @@ -67069,9 +67796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Response @@ -67096,9 +67823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -67185,9 +67912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '204': description: Response @@ -67214,19 +67941,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *462 - - *463 - - *500 - - *501 - - *502 + - *465 + - *466 - *503 - *504 - - *17 - - *19 - *505 - - *484 - *506 - *507 + - *17 + - *19 + - *508 + - *487 + - *509 + - *510 responses: '200': description: Response @@ -67242,9 +67969,9 @@ paths: type: integer workflow_runs: type: array - items: *485 + items: *488 examples: - default: *508 + default: *511 headers: Link: *47 x-github: @@ -67277,9 +68004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *462 - - *463 - - *500 + - *465 + - *466 + - *503 responses: '200': description: Response @@ -67340,8 +68067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *462 - - *463 + - *465 + - *466 - *110 - *17 - *108 @@ -67505,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -67543,8 +68270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *462 - - *463 + - *465 + - *466 - name: assignee in: path required: true @@ -67580,8 +68307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -67693,8 +68420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *108 - *109 @@ -67751,7 +68478,7 @@ paths: initiator: type: string examples: - default: *509 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67771,8 +68498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -67780,7 +68507,7 @@ paths: application/json: schema: type: array - items: &510 + items: &513 title: Autolink reference description: An autolink reference. type: object @@ -67834,8 +68561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -67874,9 +68601,9 @@ paths: description: response content: application/json: - schema: *510 + schema: *513 examples: - default: &511 + default: &514 value: id: 1 key_prefix: TICKET- @@ -67907,9 +68634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *462 - - *463 - - &512 + - *465 + - *466 + - &515 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67921,9 +68648,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *513 examples: - default: *511 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -67943,9 +68670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *462 - - *463 - - *512 + - *465 + - *466 + - *515 responses: '204': description: Response @@ -67969,8 +68696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response if Dependabot is enabled @@ -68018,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -68040,8 +68767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -68061,8 +68788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *462 - - *463 + - *465 + - *466 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68100,7 +68827,7 @@ paths: - url protected: type: boolean - protection: &514 + protection: &517 title: Branch Protection description: Branch Protection type: object @@ -68142,7 +68869,7 @@ paths: required: - contexts - checks - enforce_admins: &517 + enforce_admins: &520 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68157,7 +68884,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &519 + required_pull_request_reviews: &522 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68233,7 +68960,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &516 + restrictions: &519 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68510,9 +69237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *462 - - *463 - - &515 + - *465 + - *466 + - &518 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -68526,14 +69253,14 @@ paths: description: Response content: application/json: - schema: &525 + schema: &528 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &579 + commit: &582 title: Commit description: Commit type: object @@ -68567,7 +69294,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &513 + properties: &516 name: type: string example: '"Chris Wanstrath"' @@ -68583,7 +69310,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true message: type: string @@ -68604,7 +69331,7 @@ paths: required: - sha - url - verification: &641 + verification: &644 title: Verification type: object properties: @@ -68674,7 +69401,7 @@ paths: type: integer files: type: array - items: &592 + items: &595 title: Diff Entry description: Diff Entry type: object @@ -68758,7 +69485,7 @@ paths: - self protected: type: boolean - protection: *514 + protection: *517 protection_url: type: string format: uri @@ -68865,7 +69592,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *468 + '301': *471 '404': *6 x-github: githubCloudOnly: false @@ -68887,15 +69614,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -69089,9 +69816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -69346,7 +70073,7 @@ paths: url: type: string format: uri - required_status_checks: &522 + required_status_checks: &525 title: Status Check Policy description: Status Check Policy type: object @@ -69498,7 +70225,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *516 + restrictions: *519 required_conversation_resolution: type: object properties: @@ -69610,9 +70337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69637,17 +70364,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &518 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69669,17 +70396,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69698,9 +70425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69725,17 +70452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: &520 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69831,9 +70558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -69931,9 +70658,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -69954,9 +70681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -69983,17 +70710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &521 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70016,17 +70743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *521 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -70046,9 +70773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70073,17 +70800,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: &523 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70109,9 +70836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70163,9 +70890,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: - default: *523 + default: *526 '404': *6 '422': *15 x-github: @@ -70187,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70213,9 +70940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70249,9 +70976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70318,9 +71045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70384,9 +71111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: content: application/json: @@ -70452,15 +71179,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70551,9 +71278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '204': description: Response @@ -70576,9 +71303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70588,7 +71315,7 @@ paths: type: array items: *5 examples: - default: &524 + default: &527 value: - id: 1 slug: octoapp @@ -70645,9 +71372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70681,7 +71408,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70702,9 +71429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70738,7 +71465,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70759,9 +71486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -70795,7 +71522,7 @@ paths: type: array items: *5 examples: - default: *524 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -70817,9 +71544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -70829,7 +71556,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -70849,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70889,7 +71616,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -70910,9 +71637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: false content: @@ -70950,7 +71677,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -70971,9 +71698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: content: application/json: @@ -71010,7 +71737,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -71032,9 +71759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 responses: '200': description: Response @@ -71068,9 +71795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71128,9 +71855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71188,9 +71915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71250,9 +71977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 requestBody: required: true content: @@ -71274,7 +72001,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: default: value: @@ -71388,8 +72115,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 @@ -71425,8 +72152,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71499,8 +72226,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 @@ -71540,8 +72267,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71611,8 +72338,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_request_number in: path required: true @@ -71683,8 +72410,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *462 - - *463 + - *465 + - *466 - name: bypass_response_id in: path required: true @@ -71717,8 +72444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -71997,7 +72724,7 @@ paths: description: Response content: application/json: - schema: &526 + schema: &529 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72117,7 +72844,7 @@ paths: check. type: array items: *230 - deployment: &866 + deployment: &868 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72397,9 +73124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *462 - - *463 - - &527 + - *465 + - *466 + - &530 name: check_run_id description: The unique identifier of the check run. in: path @@ -72411,9 +73138,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: &528 + default: &531 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72513,9 +73240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 requestBody: required: true content: @@ -72755,9 +73482,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *528 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72777,9 +73504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 - *17 - *19 responses: @@ -72874,9 +73601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *462 - - *463 - - *527 + - *465 + - *466 + - *530 responses: '201': description: Response @@ -72920,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -72943,7 +73670,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &531 + schema: &534 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73029,12 +73756,12 @@ paths: type: string format: date-time nullable: true - head_commit: &899 + head_commit: &901 title: Simple Commit description: A commit. type: object - properties: *529 - required: *530 + properties: *532 + required: *533 latest_check_runs_count: type: integer check_runs_url: @@ -73062,7 +73789,7 @@ paths: - check_runs_url - pull_requests examples: - default: &532 + default: &535 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73353,9 +74080,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *531 + schema: *534 examples: - default: *532 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73374,8 +74101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -73684,9 +74411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *462 - - *463 - - &533 + - *465 + - *466 + - &536 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73698,9 +74425,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *532 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73723,17 +74450,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *462 - - *463 - - *533 - - &585 + - *465 + - *466 + - *536 + - &588 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &586 + - &589 name: status description: Returns check runs with the specified `status`. in: query @@ -73772,9 +74499,9 @@ paths: type: integer check_runs: type: array - items: *526 + items: *529 examples: - default: &587 + default: &590 value: total_count: 1 check_runs: @@ -73876,9 +74603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *462 - - *463 - - *533 + - *465 + - *466 + - *536 responses: '201': description: Response @@ -73911,21 +74638,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *321 - *322 - *19 - *17 - - &549 + - &552 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *534 - - &550 + schema: *537 + - &553 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73956,7 +74683,7 @@ paths: be returned. in: query required: false - schema: *535 + schema: *538 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73980,7 +74707,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *536 + instances_url: *539 state: *113 fixed_at: *138 dismissed_by: @@ -73991,11 +74718,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *537 - dismissed_comment: *538 - rule: *539 - tool: *540 - most_recent_instance: *541 + dismissed_reason: *540 + dismissed_comment: *541 + rule: *542 + tool: *543 + most_recent_instance: *544 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74121,7 +74848,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &542 + '403': &545 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74148,9 +74875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *462 - - *463 - - &543 + - *465 + - *466 + - &546 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74164,7 +74891,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &547 type: object properties: number: *128 @@ -74172,7 +74899,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *536 + instances_url: *539 state: *113 fixed_at: *138 dismissed_by: @@ -74183,8 +74910,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *537 - dismissed_comment: *538 + dismissed_reason: *540 + dismissed_comment: *541 rule: type: object properties: @@ -74238,8 +74965,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *540 - most_recent_instance: *541 + tool: *543 + most_recent_instance: *544 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74338,7 +75065,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74358,9 +75085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: true content: @@ -74375,8 +75102,8 @@ paths: enum: - open - dismissed - dismissed_reason: *537 - dismissed_comment: *538 + dismissed_reason: *540 + dismissed_comment: *541 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74404,7 +75131,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -74480,7 +75207,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &548 + '403': &551 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74507,15 +75234,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 responses: '200': description: Response content: application/json: - schema: &545 + schema: &548 type: object properties: status: @@ -74541,13 +75268,13 @@ paths: - description - started_at examples: - default: &546 + default: &549 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &547 + '400': &550 description: Bad Request content: application/json: @@ -74558,7 +75285,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74583,29 +75310,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 responses: '200': description: OK content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '202': description: Accepted content: application/json: - schema: *545 + schema: *548 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *547 + '400': *550 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74637,9 +75364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: false content: @@ -74684,8 +75411,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *547 - '403': *548 + '400': *550 + '403': *551 '404': *6 '422': description: Unprocessable Entity @@ -74709,13 +75436,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 - *19 - *17 - - *549 - - *550 + - *552 + - *553 responses: '200': description: Response @@ -74726,10 +75453,10 @@ paths: items: type: object properties: - ref: *534 - analysis_key: *551 - environment: *552 - category: *553 + ref: *537 + analysis_key: *554 + environment: *555 + category: *556 state: type: string description: State of a code scanning alert instance. @@ -74744,7 +75471,7 @@ paths: properties: text: type: string - location: *554 + location: *557 html_url: type: string classifications: @@ -74752,7 +75479,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *555 + items: *558 examples: default: value: @@ -74789,7 +75516,7 @@ paths: end_column: 50 classifications: - source - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -74823,25 +75550,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *321 - *322 - *19 - *17 - - *550 + - *553 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *534 + schema: *537 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &556 + schema: &559 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74862,23 +75589,23 @@ paths: application/json: schema: type: array - items: &557 + items: &560 type: object properties: - ref: *534 - commit_sha: &565 + ref: *537 + commit_sha: &568 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *551 + analysis_key: *554 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *553 + category: *556 error: type: string example: error reading field xyz @@ -74902,8 +75629,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *556 - tool: *540 + sarif_id: *559 + tool: *543 deletable: type: boolean warning: @@ -74964,7 +75691,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75000,8 +75727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75014,7 +75741,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: response: summary: application/json response @@ -75068,7 +75795,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *542 + '403': *545 '404': *6 '422': description: Response if analysis could not be processed @@ -75155,8 +75882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75209,7 +75936,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *548 + '403': *551 '404': *6 '503': *196 x-github: @@ -75231,8 +75958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -75240,7 +75967,7 @@ paths: application/json: schema: type: array - items: &558 + items: &561 title: CodeQL Database description: A CodeQL database. type: object @@ -75351,7 +76078,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75380,8 +76107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: language in: path description: The language of the CodeQL database. @@ -75393,7 +76120,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -75425,9 +76152,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &594 + '302': &597 description: Found - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -75449,8 +76176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *462 - - *463 + - *465 + - *466 - name: language in: path description: The language of the CodeQL database. @@ -75460,7 +76187,7 @@ paths: responses: '204': description: Response - '403': *548 + '403': *551 '404': *6 '503': *196 x-github: @@ -75488,8 +76215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -75498,7 +76225,7 @@ paths: type: object additionalProperties: false properties: - language: &559 + language: &562 type: string description: The language targeted by the CodeQL query enum: @@ -75578,7 +76305,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &563 + schema: &566 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75588,7 +76315,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *559 + query_language: *562 query_pack_url: type: string description: The download url for the query pack. @@ -75635,7 +76362,7 @@ paths: items: type: object properties: - repository: &560 + repository: &563 title: Repository Identifier description: Repository Identifier type: object @@ -75671,7 +76398,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &564 + analysis_status: &567 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75703,7 +76430,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &561 + access_mismatch_repos: &564 type: object properties: repository_count: @@ -75717,7 +76444,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *560 + items: *563 required: - repository_count - repositories @@ -75739,8 +76466,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *561 - over_limit_repos: *561 + no_codeql_db_repos: *564 + over_limit_repos: *564 required: - access_mismatch_repos - not_found_repos @@ -75756,7 +76483,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &562 + value: &565 summary: Default response value: id: 1 @@ -75902,10 +76629,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *562 + value: *565 repository_lists: summary: Response for a successful variant analysis submission - value: *562 + value: *565 '404': *6 '422': description: Unable to process variant analysis submission @@ -75933,8 +76660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *462 - - *463 + - *465 + - *466 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75946,9 +76673,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *562 + default: *565 '404': *6 '503': *196 x-github: @@ -75971,7 +76698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *462 + - *465 - name: repo in: path description: The name of the controller repository. @@ -76006,7 +76733,7 @@ paths: type: object properties: repository: *120 - analysis_status: *564 + analysis_status: *567 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76131,8 +76858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76217,7 +76944,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *542 + '403': *545 '404': *6 '503': *196 x-github: @@ -76238,8 +76965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -76331,7 +77058,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *548 + '403': *551 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76402,8 +77129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -76411,7 +77138,7 @@ paths: schema: type: object properties: - commit_sha: *565 + commit_sha: *568 ref: type: string description: |- @@ -76469,7 +77196,7 @@ paths: schema: type: object properties: - id: *556 + id: *559 url: type: string description: The REST API URL for checking the status of the upload. @@ -76483,7 +77210,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *548 + '403': *551 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76506,8 +77233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *462 - - *463 + - *465 + - *466 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76553,7 +77280,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *542 + '403': *545 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -76578,8 +77305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76660,8 +77387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76781,8 +77508,8 @@ paths: parameters: - *17 - *19 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -76798,7 +77525,7 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: default: value: @@ -77096,8 +77823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -77160,17 +77887,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '400': *14 '401': *25 '403': *29 @@ -77199,8 +77926,8 @@ paths: parameters: - *17 - *19 - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -77264,8 +77991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77300,14 +78027,14 @@ paths: type: integer machines: type: array - items: &811 + items: &813 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *567 - required: *568 + properties: *570 + required: *571 examples: - default: &812 + default: &814 value: total_count: 2 machines: @@ -77347,8 +78074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77432,8 +78159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -77499,8 +78226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -77518,7 +78245,7 @@ paths: type: integer secrets: type: array - items: &572 + items: &575 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77538,7 +78265,7 @@ paths: - created_at - updated_at examples: - default: *569 + default: *572 headers: Link: *47 x-github: @@ -77561,16 +78288,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *570 + schema: *573 examples: - default: *571 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77590,17 +78317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *573 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77620,8 +78347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -77674,8 +78401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -77704,8 +78431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *462 - - *463 + - *465 + - *466 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77747,7 +78474,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &574 + properties: &577 login: type: string example: octocat @@ -77840,7 +78567,7 @@ paths: user_view_type: type: string example: public - required: &575 + required: &578 - avatar_url - events_url - followers_url @@ -77914,8 +78641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '204': @@ -77962,8 +78689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 requestBody: required: false @@ -77990,7 +78717,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &653 + schema: &656 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78219,8 +78946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '204': @@ -78252,8 +78979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *462 - - *463 + - *465 + - *466 - *143 responses: '200': @@ -78274,8 +79001,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *574 - required: *575 + properties: *577 + required: *578 nullable: true required: - permission @@ -78330,8 +79057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -78341,7 +79068,7 @@ paths: application/json: schema: type: array - items: &576 + items: &579 title: Commit Comment description: Commit Comment type: object @@ -78399,7 +79126,7 @@ paths: - created_at - updated_at examples: - default: &581 + default: &584 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78458,17 +79185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *576 + schema: *579 examples: - default: &582 + default: &585 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78525,8 +79252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -78549,7 +79276,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -78600,8 +79327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -78623,8 +79350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78651,7 +79378,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -78694,7 +79421,7 @@ paths: - content - created_at examples: - default: &657 + default: &660 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78739,8 +79466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -78773,9 +79500,9 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: &578 + default: &581 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78804,9 +79531,9 @@ paths: description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -78828,10 +79555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - &658 + - &661 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78886,8 +79613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *462 - - *463 + - *465 + - *466 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78943,9 +79670,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: &709 + default: &712 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79039,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *462 - - *463 - - &580 + - *465 + - *466 + - &583 name: commit_sha description: The SHA of the commit. in: path @@ -79113,9 +79840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 - *17 - *19 responses: @@ -79125,9 +79852,9 @@ paths: application/json: schema: type: array - items: *576 + items: *579 examples: - default: *581 + default: *584 headers: Link: *47 x-github: @@ -79155,9 +79882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 requestBody: required: true content: @@ -79192,9 +79919,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: - default: *582 + default: *585 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79222,9 +79949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 - *17 - *19 responses: @@ -79234,9 +79961,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: &701 + default: &704 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79773,11 +80500,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 - - &584 + - &587 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79792,9 +80519,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: &686 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79907,11 +80634,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *462 - - *463 - - *584 - - *585 - - *586 + - *465 + - *466 + - *587 + - *588 + - *589 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79945,9 +80672,9 @@ paths: type: integer check_runs: type: array - items: *526 + items: *529 examples: - default: *587 + default: *590 headers: Link: *47 x-github: @@ -79972,9 +80699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79982,7 +80709,7 @@ paths: schema: type: integer example: 1 - - *585 + - *588 - *17 - *19 responses: @@ -80000,7 +80727,7 @@ paths: type: integer check_suites: type: array - items: *531 + items: *534 examples: default: value: @@ -80200,9 +80927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - *17 - *19 responses: @@ -80400,9 +81127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *462 - - *463 - - *584 + - *465 + - *466 + - *587 - *17 - *19 responses: @@ -80412,7 +81139,7 @@ paths: application/json: schema: type: array - items: &762 + items: &765 title: Status description: The status of a commit. type: object @@ -80493,7 +81220,7 @@ paths: site_admin: false headers: Link: *47 - '301': *468 + '301': *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80521,8 +81248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -80551,20 +81278,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *588 - required: *589 + properties: *591 + required: *592 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &590 + properties: &593 url: type: string format: uri html_url: type: string format: uri - required: &591 + required: &594 - url - html_url nullable: true @@ -80578,26 +81305,26 @@ paths: contributing: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true readme: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true issue_template: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true pull_request_template: title: Community Health File type: object - properties: *590 - required: *591 + properties: *593 + required: *594 nullable: true required: - code_of_conduct @@ -80724,8 +81451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 - name: basehead @@ -80768,8 +81495,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *579 - merge_base_commit: *579 + base_commit: *582 + merge_base_commit: *582 status: type: string enum: @@ -80789,10 +81516,10 @@ paths: example: 6 commits: type: array - items: *579 + items: *582 files: type: array - items: *592 + items: *595 required: - url - html_url @@ -81078,8 +81805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -81094,6 +81821,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -81222,7 +81966,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &593 + response-if-content-is-a-file-github-object: &596 summary: Response if content is a file value: type: file @@ -81240,7 +81984,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: summary: Response if content is a directory and the application/vnd.github.v3.object media type is requested value: @@ -81354,7 +82098,7 @@ paths: - size - type - url - - &714 + - &717 title: Content File description: Content File type: object @@ -81555,7 +82299,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *593 + response-if-content-is-a-file: *596 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81624,7 +82368,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *594 + '302': *597 '304': *37 x-github: githubCloudOnly: false @@ -81647,8 +82391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -81741,7 +82485,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &598 title: File Commit description: File Commit type: object @@ -81893,7 +82637,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: example-for-creating-a-file: value: @@ -81947,7 +82691,7 @@ paths: schema: oneOf: - *3 - - &636 + - &639 description: Repository rule violation was detected type: object properties: @@ -81968,7 +82712,7 @@ paths: items: type: object properties: - placeholder_id: &754 + placeholder_id: &757 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82000,8 +82744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *462 - - *463 + - *465 + - *466 - name: path description: path parameter in: path @@ -82062,7 +82806,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -82117,8 +82861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *462 - - *463 + - *465 + - *466 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82241,22 +82985,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *462 - - *463 - - *336 + - *465 + - *466 - *337 - *338 - *339 + - *340 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *340 - - *596 - *341 + - *599 - *342 + - *343 + - *344 - *110 - *108 - *109 @@ -82268,7 +83013,7 @@ paths: application/json: schema: type: array - items: &600 + items: &603 type: object description: A Dependabot alert. properties: @@ -82314,7 +83059,7 @@ paths: - unknown - direct - transitive - security_advisory: *597 + security_advisory: *600 security_vulnerability: *132 url: *133 html_url: *134 @@ -82345,8 +83090,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *598 - dismissal_request: *599 + auto_dismissed_at: *601 + dismissal_request: *602 assignees: type: array description: The users assigned to this alert. @@ -82473,6 +83218,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -82557,6 +83321,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *37 '400': *14 '403': *29 @@ -82581,9 +83346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *462 - - *463 - - &601 + - *465 + - *466 + - &604 name: alert_number in: path description: |- @@ -82598,7 +83363,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: default: value: @@ -82689,6 +83454,25 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false '304': *37 '403': *29 '404': *6 @@ -82711,9 +83495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *462 - - *463 - - *601 + - *465 + - *466 + - *604 requestBody: required: true content: @@ -82744,8 +83528,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -82758,7 +83553,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: default: value: @@ -82861,6 +83656,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *29 '404': *6 @@ -82887,8 +83683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -82906,7 +83702,7 @@ paths: type: integer secrets: type: array - items: &604 + items: &607 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82959,16 +83755,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82988,15 +83784,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '200': description: Response content: application/json: - schema: *604 + schema: *607 examples: default: value: @@ -83022,8 +83818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 requestBody: required: true @@ -83076,8 +83872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *462 - - *463 + - *465 + - *466 - *298 responses: '204': @@ -83100,8 +83896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *462 - - *463 + - *465 + - *466 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -83261,8 +84057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -83501,8 +84297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -83577,7 +84373,7 @@ paths: - version - url additionalProperties: false - metadata: &605 + metadata: &608 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83610,7 +84406,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *605 + metadata: *608 resolved: type: object description: A collection of resolved package dependencies. @@ -83623,7 +84419,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *605 + metadata: *608 relationship: type: string description: A notation of whether a dependency is requested @@ -83752,8 +84548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *462 - - *463 + - *465 + - *466 - name: sha description: The SHA recorded at creation time. in: query @@ -83793,9 +84589,9 @@ paths: application/json: schema: type: array - items: *606 + items: *609 examples: - default: *607 + default: *610 headers: Link: *47 x-github: @@ -83861,8 +84657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -83943,7 +84739,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: simple-example: summary: Simple example @@ -84016,9 +84812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *462 - - *463 - - &608 + - *465 + - *466 + - &611 name: deployment_id description: deployment_id parameter in: path @@ -84030,7 +84826,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: default: value: @@ -84095,9 +84891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 responses: '204': description: Response @@ -84119,9 +84915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 - *17 - *19 responses: @@ -84131,7 +84927,7 @@ paths: application/json: schema: type: array - items: &609 + items: &612 title: Deployment Status description: The status of a deployment. type: object @@ -84292,9 +85088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 requestBody: required: true content: @@ -84369,9 +85165,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: &610 + default: &613 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84427,9 +85223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *462 - - *463 - - *608 + - *465 + - *466 + - *611 - name: status_id in: path required: true @@ -84440,9 +85236,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *612 examples: - default: *610 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -84469,12 +85265,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 - - *611 - - *612 - - *613 + - *465 + - *466 - *614 + - *615 + - *616 + - *617 - *17 - *19 responses: @@ -84484,9 +85280,9 @@ paths: application/json: schema: type: array - items: *615 + items: *618 examples: - default: *616 + default: *619 '404': *6 '403': *29 '500': *40 @@ -84510,8 +85306,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84523,7 +85319,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -84579,8 +85375,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84639,12 +85435,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 - - *611 - - *612 - - *613 + - *465 + - *466 - *614 + - *615 + - *616 + - *617 - *17 - *19 responses: @@ -84654,9 +85450,9 @@ paths: application/json: schema: type: array - items: *617 + items: *620 examples: - default: *618 + default: *621 '404': *6 '403': *29 '500': *40 @@ -84680,8 +85476,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84693,7 +85489,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *620 examples: default: value: @@ -84744,8 +85540,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84783,7 +85579,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *617 + schema: *620 examples: default: value: @@ -84834,8 +85630,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84906,8 +85702,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84940,12 +85736,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - *103 - *104 - *105 - - *347 + - *349 - *17 - *19 responses: @@ -84955,9 +85751,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 '404': *6 '403': *29 '500': *40 @@ -84982,8 +85778,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -84995,7 +85791,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *622 examples: default: value: @@ -85053,8 +85849,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: alert_number in: path required: true @@ -85123,8 +85919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -85181,8 +85977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -85199,7 +85995,7 @@ paths: type: integer environments: type: array - items: &622 + items: &625 title: Environment description: Details of a deployment environment type: object @@ -85251,7 +86047,7 @@ paths: type: type: string example: wait_timer - wait_timer: &624 + wait_timer: &627 type: integer example: 30 description: The amount of time to delay a job after @@ -85288,7 +86084,7 @@ paths: items: type: object properties: - type: *621 + type: *624 reviewer: anyOf: - *4 @@ -85312,7 +86108,7 @@ paths: - id - node_id - type - deployment_branch_policy: &625 + deployment_branch_policy: &628 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -85428,9 +86224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *462 - - *463 - - &623 + - *465 + - *466 + - &626 name: environment_name in: path required: true @@ -85443,9 +86239,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &626 + default: &629 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85529,9 +86325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: false content: @@ -85540,7 +86336,7 @@ paths: type: object nullable: true properties: - wait_timer: *624 + wait_timer: *627 prevent_self_review: type: boolean example: false @@ -85557,13 +86353,13 @@ paths: items: type: object properties: - type: *621 + type: *624 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *625 + deployment_branch_policy: *628 additionalProperties: false examples: default: @@ -85583,9 +86379,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *626 + default: *629 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85609,9 +86405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 responses: '204': description: Default response @@ -85636,9 +86432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *17 - *19 responses: @@ -85656,7 +86452,7 @@ paths: example: 2 branch_policies: type: array - items: &627 + items: &630 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85713,9 +86509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: true content: @@ -85761,9 +86557,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - example-wildcard: &628 + example-wildcard: &631 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85805,10 +86601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - &629 + - *465 + - *466 + - *626 + - &632 name: branch_policy_id in: path required: true @@ -85820,9 +86616,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *628 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85841,10 +86637,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - *629 + - *465 + - *466 + - *626 + - *632 requestBody: required: true content: @@ -85872,9 +86668,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *628 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85893,10 +86689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *462 - - *463 - - *623 - - *629 + - *465 + - *466 + - *626 + - *632 responses: '204': description: Response @@ -85921,9 +86717,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 responses: '200': description: List of deployment protection rules @@ -85939,7 +86735,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &630 + items: &633 title: Deployment protection rule description: Deployment protection rule type: object @@ -85958,7 +86754,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &631 + app: &634 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86057,9 +86853,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 requestBody: content: application/json: @@ -86080,9 +86876,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *630 + schema: *633 examples: - default: &632 + default: &635 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86117,9 +86913,9 @@ 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: - - *623 - - *463 - - *462 + - *626 + - *466 + - *465 - *19 - *17 responses: @@ -86138,7 +86934,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *631 + items: *634 examples: default: value: @@ -86173,10 +86969,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *462 - - *463 - - *623 - - &633 + - *465 + - *466 + - *626 + - &636 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86188,9 +86984,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *632 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86211,10 +87007,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: - - *623 - - *463 - - *462 - - *633 + - *626 + - *466 + - *465 + - *636 responses: '204': description: Response @@ -86240,9 +87036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *17 - *19 responses: @@ -86260,9 +87056,9 @@ paths: type: integer secrets: type: array - items: *493 + items: *496 examples: - default: *494 + default: *497 headers: Link: *47 x-github: @@ -86287,17 +87083,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86319,18 +87115,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 responses: '200': description: Response content: application/json: - schema: *493 + schema: *496 examples: - default: *634 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86352,9 +87148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 requestBody: required: true @@ -86412,9 +87208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *298 responses: '204': @@ -86440,10 +87236,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *462 - - *463 - - *623 - - *480 + - *465 + - *466 + - *626 + - *483 - *19 responses: '200': @@ -86460,9 +87256,9 @@ paths: type: integer variables: type: array - items: *497 + items: *500 examples: - default: *498 + default: *501 headers: Link: *47 x-github: @@ -86485,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 requestBody: required: true content: @@ -86539,18 +87335,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *462 - - *463 - - *623 + - *465 + - *466 + - *626 - *301 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86571,10 +87367,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 - - *623 + - *626 requestBody: required: true content: @@ -86616,10 +87412,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *462 - - *463 + - *465 + - *466 - *301 - - *623 + - *626 responses: '204': description: Response @@ -86641,8 +87437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -86710,8 +87506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *462 - - *463 + - *465 + - *466 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86870,8 +87666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -86903,9 +87699,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 '400': *14 '422': *15 '403': *29 @@ -86926,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -86987,7 +87783,7 @@ paths: schema: oneOf: - *263 - - *636 + - *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87012,8 +87808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *462 - - *463 + - *465 + - *466 - name: file_sha in: path required: true @@ -87112,8 +87908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87222,7 +88018,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &640 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87436,15 +88232,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *462 - - *463 - - *580 + - *465 + - *466 + - *583 responses: '200': description: Response content: application/json: - schema: *637 + schema: *640 examples: default: value: @@ -87500,9 +88296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *462 - - *463 - - &638 + - *465 + - *466 + - &641 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. @@ -87519,7 +88315,7 @@ paths: application/json: schema: type: array - items: &639 + items: &642 title: Git Reference description: Git references within a repository type: object @@ -87594,17 +88390,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 responses: '200': description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: &640 + default: &643 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87633,8 +88429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87663,9 +88459,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87691,9 +88487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 requestBody: required: true content: @@ -87722,9 +88518,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 '422': *15 '409': *119 x-github: @@ -87742,9 +88538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *462 - - *463 - - *638 + - *465 + - *466 + - *641 responses: '204': description: Response @@ -87799,8 +88595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -87867,7 +88663,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &645 title: Git Tag description: Metadata for a Git tag type: object @@ -87918,7 +88714,7 @@ paths: - sha - type - url - verification: *641 + verification: *644 required: - sha - url @@ -87928,7 +88724,7 @@ paths: - tag - message examples: - default: &643 + default: &646 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88001,8 +88797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *462 - - *463 + - *465 + - *466 - name: tag_sha in: path required: true @@ -88013,9 +88809,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *643 + default: *646 '404': *6 '409': *119 x-github: @@ -88039,8 +88835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -88113,7 +88909,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &647 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88209,8 +89005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *462 - - *463 + - *465 + - *466 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88233,7 +89029,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *647 examples: default-response: summary: Default response @@ -88292,8 +89088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -88303,7 +89099,7 @@ paths: application/json: schema: type: array - items: &645 + items: &648 title: Webhook description: Webhooks for repositories. type: object @@ -88357,7 +89153,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &907 + last_response: &909 title: Hook Response type: object properties: @@ -88431,8 +89227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -88484,9 +89280,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: &646 + default: &649 value: type: Repository id: 12345678 @@ -88534,17 +89330,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '200': description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *646 + default: *649 '404': *6 x-github: githubCloudOnly: false @@ -88564,9 +89360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 requestBody: required: true content: @@ -88611,9 +89407,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *646 + default: *649 '422': *15 '404': *6 x-github: @@ -88634,9 +89430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88660,9 +89456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '200': description: Response @@ -88689,9 +89485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 requestBody: required: false content: @@ -88735,11 +89531,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *17 - - *353 + - *355 responses: '200': description: Response @@ -88747,9 +89543,9 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: - default: *355 + default: *357 '400': *14 '422': *15 x-github: @@ -88768,18 +89564,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *16 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '400': *14 '422': *15 x-github: @@ -88798,9 +89594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 - *16 responses: '202': *39 @@ -88823,9 +89619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88850,9 +89646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *462 - - *463 - - *352 + - *465 + - *466 + - *354 responses: '204': description: Response @@ -88875,8 +89671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response if immutable releases are enabled @@ -88922,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '409': *119 @@ -88943,8 +89739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '409': *119 @@ -89001,14 +89797,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &647 + schema: &650 title: Import description: A repository import from an external source. type: object @@ -89107,7 +89903,7 @@ paths: - html_url - authors_url examples: - default: &650 + default: &653 value: vcs: subversion use_lfs: true @@ -89123,7 +89919,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': &648 + '503': &651 description: Unavailable due to service under maintenance. content: application/json: @@ -89152,8 +89948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -89201,7 +89997,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -89226,7 +90022,7 @@ paths: type: string '422': *15 '404': *6 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89254,8 +90050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -89304,7 +90100,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: example-1: summary: Example 1 @@ -89352,7 +90148,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': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89375,12 +90171,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89406,9 +90202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *462 - - *463 - - &833 + - *465 + - *466 + - &835 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89422,7 +90218,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Porter Author description: Porter Author type: object @@ -89476,7 +90272,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': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89501,8 +90297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *462 - - *463 + - *465 + - *466 - name: author_id in: path required: true @@ -89532,7 +90328,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: default: value: @@ -89545,7 +90341,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89569,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89611,7 +90407,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89639,8 +90435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -89667,11 +90463,11 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: - default: *650 + default: *653 '422': *15 - '503': *648 + '503': *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89694,8 +90490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89703,8 +90499,8 @@ paths: application/json: schema: *22 examples: - default: *369 - '301': *468 + default: *371 + '301': *471 '404': *6 x-github: githubCloudOnly: false @@ -89724,8 +90520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -89733,12 +90529,12 @@ paths: application/json: schema: anyOf: - - *371 + - *373 - type: object properties: {} additionalProperties: false examples: - default: &652 + default: &655 value: limit: collaborators_only origin: repository @@ -89763,13 +90559,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: application/json: - schema: *651 + schema: *654 examples: default: summary: Example request body @@ -89781,9 +90577,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *652 + default: *655 '409': description: Response x-github: @@ -89805,8 +90601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -89829,8 +90625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -89840,9 +90636,9 @@ paths: application/json: schema: type: array - items: *653 + items: *656 examples: - default: &826 + default: &828 value: - id: 1 repository: @@ -89973,9 +90769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *462 - - *463 - - *375 + - *465 + - *466 + - *377 requestBody: required: false content: @@ -90004,7 +90800,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: default: value: @@ -90135,9 +90931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *462 - - *463 - - *375 + - *465 + - *466 + - *377 responses: '204': description: Response @@ -90168,8 +90964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *462 - - *463 + - *465 + - *466 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -90217,7 +91013,7 @@ paths: required: false schema: type: string - - *379 + - *381 - name: sort description: What to sort results by. in: query @@ -90242,7 +91038,7 @@ paths: type: array items: *225 examples: - default: &665 + default: &668 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90391,7 +91187,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *468 + '301': *471 '422': *15 '404': *6 x-github: @@ -90420,8 +91216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -90505,7 +91301,7 @@ paths: application/json: schema: *225 examples: - default: &662 + default: &665 value: id: 1 node_id: MDU6SXNzdWUx @@ -90662,7 +91458,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *654 + '410': *657 x-github: triggersNotification: true githubCloudOnly: false @@ -90690,8 +91486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *249 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90712,9 +91508,9 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: &664 + default: &667 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90772,17 +91568,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: &656 + default: &659 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90837,8 +91633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -90861,9 +91657,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: *656 + default: *659 '422': *15 x-github: githubCloudOnly: false @@ -90881,8 +91677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -90911,15 +91707,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *655 + schema: *658 examples: default: value: @@ -90975,7 +91771,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -90992,8 +91788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -91001,7 +91797,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 '503': *196 x-github: githubCloudOnly: false @@ -91019,8 +91815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91047,9 +91843,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -91070,8 +91866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -91104,16 +91900,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -91135,10 +91931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - *658 + - *661 responses: '204': description: Response @@ -91158,8 +91954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -91169,7 +91965,7 @@ paths: application/json: schema: type: array - items: &661 + items: &664 title: Issue Event description: Issue Event type: object @@ -91212,8 +92008,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *659 - required: *660 + properties: *662 + required: *663 nullable: true label: title: Issue Event Label @@ -91521,8 +92317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *462 - - *463 + - *465 + - *466 - name: event_id in: path required: true @@ -91533,7 +92329,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *664 examples: default: value: @@ -91726,7 +92522,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *654 + '410': *657 '403': *29 x-github: githubCloudOnly: false @@ -91760,9 +92556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *462 - - *463 - - &663 + - *465 + - *466 + - &666 name: issue_number description: The number that identifies the issue. in: path @@ -91787,7 +92583,7 @@ paths: examples: default: summary: Issue - value: *662 + value: *665 pinned_comment: summary: Issue with pinned comment value: @@ -91986,9 +92782,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 '304': *37 x-github: githubCloudOnly: false @@ -92013,9 +92809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -92121,13 +92917,13 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 '422': *15 '503': *196 '403': *29 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92145,9 +92941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -92175,7 +92971,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92191,9 +92987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: content: application/json: @@ -92220,7 +93016,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92242,9 +93038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: assignee in: path required: true @@ -92284,9 +93080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *232 - *17 - *19 @@ -92297,13 +93093,13 @@ paths: application/json: schema: type: array - items: *655 + items: *658 examples: - default: *664 + default: *667 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +93128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -92356,16 +93152,16 @@ paths: description: Response content: application/json: - schema: *655 + schema: *658 examples: - default: *656 + default: *659 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -92393,9 +93189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92407,12 +93203,12 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92440,9 +93236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -92466,15 +93262,15 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *468 + '301': *471 '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -92505,9 +93301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92521,13 +93317,13 @@ paths: application/json: schema: *225 examples: - default: *662 - '301': *468 + default: *665 + '301': *471 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *654 + '410': *657 x-github: triggersNotification: true githubCloudOnly: false @@ -92553,9 +93349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92567,12 +93363,12 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92589,9 +93385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -92605,7 +93401,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &667 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92659,7 +93455,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92795,7 +93591,7 @@ paths: - performed_via_github_app - assignee - assigner - - &669 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92846,7 +93642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92897,7 +93693,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92951,7 +93747,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92998,7 +93794,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93045,7 +93841,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93105,7 +93901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -93153,7 +93949,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93219,7 +94015,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93285,7 +94081,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93351,7 +94147,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93442,7 +94238,7 @@ paths: color: red headers: Link: *47 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93459,9 +94255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -93473,7 +94269,7 @@ paths: type: array items: *224 examples: - default: &666 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93491,9 +94287,9 @@ paths: default: false headers: Link: *47 - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93509,9 +94305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93556,10 +94352,10 @@ paths: type: array items: *224 examples: - default: *666 - '301': *468 + default: *669 + '301': *471 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -93576,9 +94372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93640,10 +94436,10 @@ paths: type: array items: *224 examples: - default: *666 - '301': *468 + default: *669 + '301': *471 '404': *6 - '410': *654 + '410': *657 '422': *15 x-github: githubCloudOnly: false @@ -93660,15 +94456,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '204': description: Response - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93687,9 +94483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - name: name in: path required: true @@ -93713,9 +94509,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *468 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93735,9 +94531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: false content: @@ -93765,7 +94561,7 @@ paths: '204': description: Response '403': *29 - '410': *654 + '410': *657 '404': *6 '422': *15 x-github: @@ -93783,9 +94579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '204': description: Response @@ -93815,9 +94611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 responses: '200': description: Response @@ -93825,10 +94621,10 @@ paths: application/json: schema: *225 examples: - default: *662 - '301': *468 + default: *665 + '301': *471 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93845,9 +94641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - 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. @@ -93873,13 +94669,13 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93897,9 +94693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -93931,16 +94727,16 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -93962,10 +94758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *462 - - *463 - - *663 - - *658 + - *465 + - *466 + - *666 + - *661 responses: '204': description: Response @@ -93994,9 +94790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94020,7 +94816,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94053,9 +94849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -94067,11 +94863,11 @@ paths: type: array items: *225 examples: - default: *665 + default: *668 headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94099,9 +94895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94130,14 +94926,14 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *654 + '410': *657 '422': *15 '404': *6 x-github: @@ -94157,9 +94953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 requestBody: required: true content: @@ -94192,7 +94988,7 @@ paths: application/json: schema: *225 examples: - default: *662 + default: *665 '403': *29 '404': *6 '422': *7 @@ -94214,9 +95010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *462 - - *463 - - *663 + - *465 + - *466 + - *666 - *17 - *19 responses: @@ -94231,9 +95027,6 @@ paths: description: Timeline Event type: object anyOf: - - *667 - - *668 - - *669 - *670 - *671 - *672 @@ -94244,6 +95037,9 @@ paths: - *677 - *678 - *679 + - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94304,8 +95100,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true required: - event @@ -94560,7 +95356,7 @@ paths: type: string comments: type: array - items: &703 + items: &706 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94775,7 +95571,7 @@ paths: type: string comments: type: array - items: *576 + items: *579 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95064,7 +95860,7 @@ paths: headers: Link: *47 '404': *6 - '410': *654 + '410': *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95081,8 +95877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -95092,7 +95888,7 @@ paths: application/json: schema: type: array - items: &682 + items: &685 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95158,8 +95954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95195,9 +95991,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *685 examples: - default: &683 + default: &686 value: id: 1 key: ssh-rsa AAA... @@ -95231,9 +96027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *462 - - *463 - - &684 + - *465 + - *466 + - &687 name: key_id description: The unique identifier of the key. in: path @@ -95245,9 +96041,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *685 examples: - default: *683 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -95265,9 +96061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *462 - - *463 - - *684 + - *465 + - *466 + - *687 responses: '204': description: Response @@ -95287,8 +96083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -95300,7 +96096,7 @@ paths: type: array items: *224 examples: - default: *666 + default: *669 headers: Link: *47 '404': *6 @@ -95321,8 +96117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95360,7 +96156,7 @@ paths: application/json: schema: *224 examples: - default: &685 + default: &688 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95392,8 +96188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95406,7 +96202,7 @@ paths: application/json: schema: *224 examples: - default: *685 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -95423,8 +96219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95489,8 +96285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *462 - - *463 + - *465 + - *466 - name: name in: path required: true @@ -95516,8 +96312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -95553,8 +96349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '202': *39 '403': @@ -95582,8 +96378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -95609,9 +96405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *462 - - *463 - - *549 + - *465 + - *466 + - *552 responses: '200': description: Response @@ -95756,8 +96552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95822,8 +96618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -95857,9 +96653,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *579 + schema: *582 examples: - default: *686 + default: *689 '204': description: Response when already merged '404': @@ -95884,8 +96680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *462 - - *463 + - *465 + - *466 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95926,12 +96722,12 @@ paths: application/json: schema: type: array - items: &687 + items: &690 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 examples: default: value: @@ -95987,8 +96783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96028,9 +96824,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: &688 + default: &691 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -96089,9 +96885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *462 - - *463 - - &689 + - *465 + - *466 + - &692 name: milestone_number description: The number that identifies the milestone. in: path @@ -96103,9 +96899,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 '404': *6 x-github: githubCloudOnly: false @@ -96122,9 +96918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 requestBody: required: false content: @@ -96162,9 +96958,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *688 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96180,9 +96976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 responses: '204': description: Response @@ -96203,9 +96999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *462 - - *463 - - *689 + - *465 + - *466 + - *692 - *17 - *19 responses: @@ -96217,7 +97013,7 @@ paths: type: array items: *224 examples: - default: *666 + default: *669 headers: Link: *47 x-github: @@ -96236,12 +97032,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *462 - - *463 - - *690 - - *691 + - *465 + - *466 + - *693 + - *694 - *232 - - *692 + - *695 - *17 - *19 responses: @@ -96253,7 +97049,7 @@ paths: type: array items: *252 examples: - default: *693 + default: *696 headers: Link: *47 x-github: @@ -96277,8 +97073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -96336,14 +97132,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: &694 + schema: &697 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96468,7 +97264,7 @@ paths: - custom_404 - public examples: - default: &695 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96509,8 +97305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96564,9 +97360,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: - default: *695 + default: *698 '422': *15 '409': *119 x-github: @@ -96589,8 +97385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -96697,8 +97493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -96724,8 +97520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -96735,7 +97531,7 @@ paths: application/json: schema: type: array - items: &696 + items: &699 title: Page Build description: Page Build type: object @@ -96829,8 +97625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *462 - - *463 + - *465 + - *466 responses: '201': description: Response @@ -96875,16 +97671,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: &697 + default: &700 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96932,8 +97728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *462 - - *463 + - *465 + - *466 - name: build_id in: path required: true @@ -96944,9 +97740,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *699 examples: - default: *697 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96966,8 +97762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97072,9 +97868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *462 - - *463 - - &698 + - *465 + - *466 + - &701 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97132,9 +97928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *462 - - *463 - - *698 + - *465 + - *466 + - *701 responses: '204': *155 '404': *6 @@ -97161,8 +97957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -97420,8 +98216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Private vulnerability reporting status @@ -97458,8 +98254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '422': *14 @@ -97480,8 +98276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': *155 '422': *14 @@ -97503,8 +98299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -97514,7 +98310,7 @@ paths: type: array items: *156 examples: - default: *699 + default: *702 '403': *29 '404': *6 x-github: @@ -97536,8 +98332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97553,7 +98349,7 @@ paths: required: - properties examples: - default: *700 + default: *703 responses: '204': description: No Content when custom property values are successfully created @@ -97591,8 +98387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *462 - - *463 + - *465 + - *466 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97652,9 +98448,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *701 + default: *704 headers: Link: *47 '304': *37 @@ -97686,8 +98482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -97752,7 +98548,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &708 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97863,8 +98659,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true active_lock_reason: type: string @@ -97909,7 +98705,7 @@ paths: nullable: true requested_teams: type: array - items: *447 + items: *449 nullable: true head: type: object @@ -97948,14 +98744,14 @@ paths: _links: type: object properties: - comments: *413 - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + comments: *415 + commits: *415 + statuses: *415 + html: *415 + issue: *415 + review_comments: *415 + review_comment: *415 + self: *415 required: - comments - commits @@ -97966,7 +98762,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *702 + auto_merge: *705 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -98058,7 +98854,7 @@ paths: - merged_by - review_comments examples: - default: &706 + default: &709 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98585,8 +99381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *462 - - *463 + - *465 + - *466 - name: sort in: query required: false @@ -98615,9 +99411,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &708 + default: &711 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98694,17 +99490,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '200': description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: &704 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98779,8 +99575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -98803,9 +99599,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: *704 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98821,8 +99617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 + - *465 + - *466 - *241 responses: '204': @@ -98844,8 +99640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98872,9 +99668,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -98895,8 +99691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *462 - - *463 + - *465 + - *466 - *241 requestBody: required: true @@ -98929,16 +99725,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -98960,10 +99756,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *462 - - *463 + - *465 + - *466 - *241 - - *658 + - *661 responses: '204': description: Response @@ -99006,9 +99802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *462 - - *463 - - &707 + - *465 + - *466 + - &710 name: pull_number description: The number that identifies the pull request. in: path @@ -99021,9 +99817,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '304': *37 '404': *6 '406': @@ -99058,9 +99854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99102,9 +99898,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '422': *15 '403': *29 x-github: @@ -99126,9 +99922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -99188,17 +99984,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -99228,9 +100024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *249 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -99251,9 +100047,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *708 + default: *711 headers: Link: *47 x-github: @@ -99286,9 +100082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -99393,7 +100189,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: example-for-a-multi-line-comment: value: @@ -99481,9 +100277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *241 requestBody: required: true @@ -99506,7 +100302,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *706 examples: default: value: @@ -99592,9 +100388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -99604,9 +100400,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: *709 + default: *712 headers: Link: *47 x-github: @@ -99636,9 +100432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -99648,7 +100444,7 @@ paths: application/json: schema: type: array - items: *592 + items: *595 examples: default: value: @@ -99686,9 +100482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 responses: '204': description: Response if pull request has been merged @@ -99711,9 +100507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99824,9 +100620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 responses: '200': description: Response @@ -99901,9 +100697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -99940,7 +100736,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -100476,9 +101272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: true content: @@ -100512,7 +101308,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -101017,9 +101813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 - *17 - *19 responses: @@ -101029,7 +101825,7 @@ paths: application/json: schema: type: array - items: &710 + items: &713 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101180,9 +101976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -101268,9 +102064,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: &712 + default: &715 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101333,10 +102129,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - &711 + - *465 + - *466 + - *710 + - &714 name: review_id description: The unique identifier of the review. in: path @@ -101348,9 +102144,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: &713 + default: &716 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101409,10 +102205,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101435,7 +102231,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: default: value: @@ -101497,18 +102293,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 responses: '200': description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: *712 + default: *715 '422': *7 '404': *6 x-github: @@ -101535,10 +102331,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 - *17 - *19 responses: @@ -101621,9 +102417,9 @@ paths: _links: type: object properties: - self: *413 - html: *413 - pull_request: *413 + self: *415 + html: *415 + pull_request: *415 required: - self - html @@ -101773,10 +102569,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101804,7 +102600,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: default: value: @@ -101867,10 +102663,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *462 - - *463 - - *707 - - *711 + - *465 + - *466 + - *710 + - *714 requestBody: required: true content: @@ -101905,9 +102701,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *713 examples: - default: *713 + default: *716 '404': *6 '422': *7 '403': *29 @@ -101929,9 +102725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *462 - - *463 - - *707 + - *465 + - *466 + - *710 requestBody: required: false content: @@ -101994,8 +102790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *462 - - *463 + - *465 + - *466 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102008,9 +102804,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: - default: &715 + default: &718 value: type: file encoding: base64 @@ -102052,8 +102848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *462 - - *463 + - *465 + - *466 - name: dir description: The alternate path to look for a README file in: path @@ -102073,9 +102869,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *717 examples: - default: *715 + default: *718 '404': *6 '422': *15 x-github: @@ -102097,8 +102893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -102108,7 +102904,7 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: default: value: @@ -102202,8 +102998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -102279,9 +103075,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: &720 + default: &723 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102386,9 +103182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *462 - - *463 - - &718 + - *465 + - *466 + - &721 name: asset_id description: The unique identifier of the asset. in: path @@ -102400,9 +103196,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: - default: &719 + default: &722 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 @@ -102437,7 +103233,7 @@ paths: type: User site_admin: false '404': *6 - '302': *594 + '302': *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102453,9 +103249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *462 - - *463 - - *718 + - *465 + - *466 + - *721 requestBody: required: false content: @@ -102483,9 +103279,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: - default: *719 + default: *722 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102501,9 +103297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *462 - - *463 - - *718 + - *465 + - *466 + - *721 responses: '204': description: Response @@ -102527,8 +103323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -102613,16 +103409,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102639,8 +103435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *462 - - *463 + - *465 + - *466 - name: tag description: tag parameter in: path @@ -102653,9 +103449,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -102677,9 +103473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *462 - - *463 - - &721 + - *465 + - *466 + - &724 name: release_id description: The unique identifier of the release. in: path @@ -102693,9 +103489,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: *716 + schema: *719 examples: - default: *720 + default: *723 '401': description: Unauthorized x-github: @@ -102713,9 +103509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 requestBody: required: false content: @@ -102779,9 +103575,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: - default: *720 + default: *723 '404': description: Not Found if the discussion category name is invalid content: @@ -102802,9 +103598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 responses: '204': description: Response @@ -102824,9 +103620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - *17 - *19 responses: @@ -102836,7 +103632,7 @@ paths: application/json: schema: type: array - items: *717 + items: *720 examples: default: value: @@ -102918,9 +103714,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - name: name in: query required: true @@ -102946,7 +103742,7 @@ paths: description: Response for successful upload content: application/json: - schema: *717 + schema: *720 examples: response-for-successful-upload: value: @@ -103001,9 +103797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 - 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. @@ -103027,9 +103823,9 @@ paths: application/json: schema: type: array - items: *577 + items: *580 examples: - default: *657 + default: *660 headers: Link: *47 '404': *6 @@ -103050,9 +103846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *462 - - *463 - - *721 + - *465 + - *466 + - *724 requestBody: required: true content: @@ -103082,16 +103878,16 @@ paths: description: Reaction exists content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '201': description: Reaction created content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 '422': *15 x-github: githubCloudOnly: false @@ -103113,10 +103909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *462 - - *463 - - *721 - - *658 + - *465 + - *466 + - *724 + - *661 responses: '204': description: Response @@ -103140,9 +103936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *462 - - *463 - - *515 + - *465 + - *466 + - *518 - *17 - *19 responses: @@ -103159,7 +103955,7 @@ paths: oneOf: - allOf: - *170 - - &722 + - &725 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103180,67 +103976,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *722 + - *725 - allOf: - *172 - - *722 + - *725 - allOf: - *173 - - *722 + - *725 - allOf: - - *723 - - *722 + - *726 + - *725 - allOf: - *174 - - *722 + - *725 - allOf: - *175 - - *722 + - *725 - allOf: - *176 - - *722 + - *725 - allOf: - *177 - - *722 + - *725 - allOf: - *178 - - *722 + - *725 - allOf: - *179 - - *722 + - *725 - allOf: - *180 - - *722 + - *725 - allOf: - *181 - - *722 + - *725 - allOf: - *182 - - *722 + - *725 - allOf: - *183 - - *722 + - *725 - allOf: - *184 - - *722 + - *725 - allOf: - *185 - - *722 + - *725 - allOf: - *186 - - *722 + - *725 - allOf: - *187 - - *722 + - *725 - allOf: - *188 - - *722 + - *725 - allOf: - *189 - - *722 + - *725 - allOf: - *190 - - *722 + - *725 examples: default: value: @@ -103279,8 +104075,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - name: includes_parents @@ -103291,7 +104087,7 @@ paths: schema: type: boolean default: true - - *724 + - *727 responses: '200': description: Response @@ -103346,8 +104142,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 requestBody: description: Request body required: true @@ -103376,7 +104172,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *725 + items: *728 required: - name - enforcement @@ -103409,7 +104205,7 @@ paths: application/json: schema: *191 examples: - default: &734 + default: &737 value: id: 42 name: super cool ruleset @@ -103442,6 +104238,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *40 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -103456,12 +104253,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *462 - - *463 - - *726 + - *465 + - *466 + - *729 - *105 - - *727 - - *728 + - *730 + - *731 - *17 - *19 responses: @@ -103469,9 +104266,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *732 examples: - default: *730 + default: *733 '404': *6 '500': *40 x-github: @@ -103492,17 +104289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *462 - - *463 - - *731 + - *465 + - *466 + - *734 responses: '200': description: Response content: application/json: - schema: *732 + schema: *735 examples: - default: *733 + default: *736 '404': *6 '500': *40 x-github: @@ -103530,8 +104327,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103553,7 +104350,7 @@ paths: application/json: schema: *191 examples: - default: *734 + default: *737 '404': *6 '500': *40 put: @@ -103571,8 +104368,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103606,7 +104403,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *725 + items: *728 examples: default: value: @@ -103636,8 +104433,9 @@ paths: application/json: schema: *191 examples: - default: *734 + default: *737 '404': *6 + '422': *15 '500': *40 delete: summary: Delete a repository ruleset @@ -103654,8 +104452,8 @@ paths: category: repos subcategory: rules parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103678,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 - name: ruleset_id @@ -103697,7 +104495,7 @@ paths: type: array items: *195 examples: - default: *431 + default: *433 '404': *6 '500': *40 x-github: @@ -103716,8 +104514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *462 - - *463 + - *465 + - *466 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103735,7 +104533,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: default: value: @@ -103790,22 +104588,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *462 - - *463 - - *433 - - *434 + - *465 + - *466 - *435 - *436 - *437 + - *438 + - *439 - *110 - *19 - *17 - - *735 - - *736 - - *438 - - *439 + - *738 + - *739 - *440 - *441 + - *442 + - *443 responses: '200': description: Response @@ -103813,7 +104611,7 @@ paths: application/json: schema: type: array - items: &740 + items: &743 type: object properties: number: *128 @@ -103832,8 +104630,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *737 - resolution: *738 + state: *740 + resolution: *741 resolved_at: type: string format: date-time @@ -103929,7 +104727,7 @@ paths: pull request. ' - oneOf: *739 + oneOf: *742 nullable: true has_more_locations: type: boolean @@ -104078,16 +104876,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 - - *441 + - *465 + - *466 + - *546 + - *443 responses: '200': description: Response content: application/json: - schema: *740 + schema: *743 examples: default: value: @@ -104141,9 +104939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 requestBody: required: true content: @@ -104151,8 +104949,8 @@ paths: schema: type: object properties: - state: *737 - resolution: *738 + state: *740 + resolution: *741 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104186,7 +104984,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *743 examples: default: value: @@ -104281,9 +105079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *462 - - *463 - - *543 + - *465 + - *466 + - *546 - *19 - *17 responses: @@ -104294,7 +105092,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &929 + items: &931 type: object properties: type: @@ -104320,9 +105118,6 @@ paths: example: commit details: oneOf: - - *741 - - *742 - - *743 - *744 - *745 - *746 @@ -104333,6 +105128,9 @@ paths: - *751 - *752 - *753 + - *754 + - *755 + - *756 examples: default: value: @@ -104418,8 +105216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -104427,14 +105225,14 @@ paths: schema: type: object properties: - reason: &755 + reason: &758 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *754 + placeholder_id: *757 required: - reason - placeholder_id @@ -104451,7 +105249,7 @@ paths: schema: type: object properties: - reason: *755 + reason: *758 expire_at: type: string format: date-time @@ -104497,8 +105295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -104513,7 +105311,7 @@ paths: properties: incremental_scans: type: array - items: &756 + items: &759 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104539,15 +105337,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *756 + items: *759 backfill_scans: type: array - items: *756 + items: *759 custom_pattern_backfill_scans: type: array items: allOf: - - *756 + - *759 - type: object properties: pattern_name: @@ -104617,8 +105415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *462 - - *463 + - *465 + - *466 - *110 - name: sort description: The property to sort the results by. @@ -104662,9 +105460,9 @@ paths: application/json: schema: type: array - items: *757 + items: *760 examples: - default: *758 + default: *761 '400': *14 '404': *6 x-github: @@ -104687,8 +105485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -104761,7 +105559,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 required: - login - type @@ -104848,9 +105646,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: &760 + default: &763 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105083,8 +105881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -105188,7 +105986,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: default: value: @@ -105335,17 +106133,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '200': description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: *760 + default: *763 '403': *29 '404': *6 x-github: @@ -105369,9 +106167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 requestBody: required: true content: @@ -105444,7 +106242,7 @@ paths: login: type: string description: The username of the user credited. - type: *446 + type: *448 required: - login - type @@ -105530,10 +106328,10 @@ paths: description: Response content: application/json: - schema: *757 + schema: *760 examples: - default: *760 - add_credit: *760 + default: *763 + add_credit: *763 '403': *29 '404': *6 '422': @@ -105571,9 +106369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '202': *39 '400': *14 @@ -105600,17 +106398,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *462 - - *463 - - *759 + - *465 + - *466 + - *762 responses: '202': description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 '400': *14 '422': *15 '403': *29 @@ -105636,8 +106434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -105736,8 +106534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105746,7 +106544,7 @@ paths: application/json: schema: type: array - items: &761 + items: &764 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105779,8 +106577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -105856,8 +106654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -105953,8 +106751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106108,8 +106906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106119,7 +106917,7 @@ paths: application/json: schema: type: array - items: *761 + items: *764 examples: default: value: @@ -106152,8 +106950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *462 - - *463 + - *465 + - *466 - name: sha in: path required: true @@ -106207,7 +107005,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *765 examples: default: value: @@ -106261,8 +107059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106294,14 +107092,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &763 + schema: &766 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106369,8 +107167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: false content: @@ -106396,7 +107194,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *766 examples: default: value: @@ -106423,8 +107221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -106444,8 +107242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106507,160 +107305,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - *462 - - *463 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &764 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - *462 - - *463 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: *764 - examples: - default: - value: - enabled: true - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - *462 - - *463 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -106678,8 +107322,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *462 - - *463 + - *465 + - *466 - name: ref in: path required: true @@ -106715,8 +107359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *462 - - *463 + - *465 + - *466 - *17 - *19 responses: @@ -106728,7 +107372,7 @@ paths: type: array items: *317 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -106748,8 +107392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *462 - - *463 + - *465 + - *466 - *19 - *17 responses: @@ -106757,7 +107401,7 @@ paths: description: Response content: application/json: - schema: &765 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106769,7 +107413,7 @@ paths: required: - names examples: - default: &766 + default: &768 value: names: - octocat @@ -106792,8 +107436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -106824,9 +107468,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: - default: *766 + default: *768 '404': *6 '422': *7 x-github: @@ -106847,9 +107491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *462 - - *463 - - &767 + - *465 + - *466 + - &769 name: per description: The time frame to display results for. in: query @@ -106878,7 +107522,7 @@ paths: example: 128 clones: type: array - items: &768 + items: &770 title: Traffic type: object properties: @@ -106965,8 +107609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -107056,8 +107700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *462 - - *463 + - *465 + - *466 responses: '200': description: Response @@ -107117,9 +107761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *462 - - *463 - - *767 + - *465 + - *466 + - *769 responses: '200': description: Response @@ -107138,7 +107782,7 @@ paths: example: 3782 views: type: array - items: *768 + items: *770 required: - uniques - count @@ -107215,8 +107859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *462 - - *463 + - *465 + - *466 requestBody: required: true content: @@ -107490,8 +108134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107514,8 +108158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -107537,8 +108181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -107564,8 +108208,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *462 - - *463 + - *465 + - *466 - name: ref in: path required: true @@ -107657,9 +108301,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107810,7 +108454,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &776 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107819,7 +108463,7 @@ paths: schema: type: string example: members - - &781 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107830,7 +108474,7 @@ paths: default: 1 format: int32 example: 1 - - &782 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107872,7 +108516,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &771 + items: &773 allOf: - type: object required: @@ -107947,7 +108591,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: &783 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -108007,30 +108651,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &772 + '400': &774 description: Bad request content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '401': *770 - '403': &773 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &774 + '429': &776 description: Too many requests content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '500': &775 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108054,7 +108698,7 @@ paths: required: true content: application/json: - schema: &779 + schema: &781 type: object required: - schemas @@ -108114,9 +108758,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *771 + schema: *773 examples: - group: &777 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108135,13 +108779,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': *772 - '401': *770 - '403': *773 - '409': &780 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108158,7 +108802,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: - - &778 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -108166,22 +108810,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *776 + - *778 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *771 + schema: *773 examples: - default: *777 - '400': *772 - '401': *770 - '403': *773 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108200,13 +108844,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: *779 + schema: *781 examples: group: summary: Group @@ -108232,17 +108876,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - group: *777 - groupWithMembers: *777 - '400': *772 - '401': *770 - '403': *773 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108266,13 +108910,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: &790 + schema: &792 type: object required: - Operations @@ -108332,17 +108976,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - updateGroup: *777 - addMembers: *777 - '400': *772 - '401': *770 - '403': *773 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108358,17 +109002,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: - - *778 + - *780 - *41 responses: '204': description: Group was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108402,8 +109046,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *781 - - *782 + - *783 + - *784 - *41 responses: '200': @@ -108436,7 +109080,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &785 + items: &787 allOf: - type: object required: @@ -108515,7 +109159,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &784 + roles: &786 type: array description: The roles assigned to the user. items: @@ -108571,7 +109215,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *783 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -108608,11 +109252,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *772 - '401': *770 - '403': *773 - '429': *774 - '500': *775 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108636,7 +109280,7 @@ paths: required: true content: application/json: - schema: &788 + schema: &790 type: object required: - schemas @@ -108718,9 +109362,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *784 + roles: *786 examples: - user: &789 + user: &791 summary: User value: schemas: @@ -108767,9 +109411,9 @@ paths: description: User has been created content: application/scim+json: - schema: *785 + schema: *787 examples: - user: &786 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108795,13 +109439,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: *786 - '400': *772 - '401': *770 - '403': *773 - '409': *780 - '429': *774 - '500': *775 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108818,7 +109462,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: - - &787 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108831,15 +109475,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *785 + schema: *787 examples: - default: *786 - '400': *772 - '401': *770 - '403': *773 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108853,7 +109497,36 @@ paths: You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > + > ``` + >{ + > "schemas": [ + > "urn:ietf:params:scim:schemas:core:2.0:User" + > ], + > "externalId": "E012345", + > "active": false, + > "userName": "E012345", + > "name": { + > "familyName": "Octocat", + > "givenName": "Mona", + > "middleName": "Lisa" + > }, + > "displayName": "Mona Lisa", + > "emails": [ + > { + > "value": "mlisa@example.com", + > "type": "work", + > "primary": true + > } + > ], + > "roles": [ + > { + > "value": "User" + > } + > ] + >} + > ``` operationId: enterprise-admin/set-information-for-provisioned-enterprise-user tags: - enterprise-admin @@ -108861,30 +109534,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *788 + schema: *790 examples: - user: *789 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - user: *786 - '400': *772 - '401': *770 - '403': *773 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108901,15 +109574,21 @@ paths: > Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will be ineffective. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > > ``` > { - > "Operations":[{ - > "op":"replace", - > "value":{ - > "active":false + > "schemas": [ + > "urn:ietf:params:scim:api:messages:2.0:PatchOp" + > ], + > "Operations": [ + > { + > "op": "replace", + > "value": { + > "active": false + > } > } - > }] + > ] > } > ``` operationId: enterprise-admin/update-attribute-for-enterprise-user @@ -108919,13 +109598,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108965,18 +109644,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - userMultiValuedProperties: *786 - userSingleValuedProperties: *786 - disableUser: *786 - '400': *772 - '401': *770 - '403': *773 + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108996,17 +109675,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: - - *787 + - *789 - *41 responses: '204': description: User was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109093,7 +109772,7 @@ paths: example: 1 Resources: type: array - items: &791 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -109324,22 +110003,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': &792 + '404': &794 description: Resource not found content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '403': &793 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 - '429': *774 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -109365,9 +110044,9 @@ paths: description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: &794 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109390,17 +110069,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': *792 - '403': *793 - '500': *775 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 + schema: *771 + '400': *774 requestBody: required: true content: @@ -109498,17 +110177,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 - '404': *792 - '403': *793 + default: *796 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -109532,18 +110211,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 + '404': *794 + '403': *795 requestBody: required: true content: @@ -109656,19 +110335,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 - '400': *772 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -109759,12 +110438,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *787 + - *789 responses: '204': description: Response - '404': *792 - '403': *793 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -109897,7 +110576,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &795 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -110060,7 +110739,7 @@ paths: enum: - author-date - committer-date - - &796 + - &798 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 @@ -110131,7 +110810,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true comment_count: type: integer @@ -110151,7 +110830,7 @@ paths: url: type: string format: uri - verification: *641 + verification: *644 required: - author - committer @@ -110170,7 +110849,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *513 + properties: *516 nullable: true parents: type: array @@ -110188,7 +110867,7 @@ paths: type: number node_id: type: string - text_matches: *795 + text_matches: *797 required: - sha - node_id @@ -110381,7 +111060,7 @@ paths: - interactions - created - updated - - *796 + - *798 - *17 - *19 - name: advanced_search @@ -110478,11 +111157,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: type: string state_reason: @@ -110499,8 +111178,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *413 + required: *414 nullable: true comments: type: integer @@ -110514,7 +111193,7 @@ paths: type: string format: date-time nullable: true - text_matches: *795 + text_matches: *797 pull_request: type: object properties: @@ -110558,7 +111237,7 @@ paths: timeline_url: type: string format: uri - type: *376 + type: *378 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110747,7 +111426,7 @@ paths: enum: - created - updated - - *796 + - *798 - *17 - *19 responses: @@ -110791,7 +111470,7 @@ paths: nullable: true score: type: number - text_matches: *795 + text_matches: *797 required: - id - node_id @@ -110877,7 +111556,7 @@ paths: - forks - help-wanted-issues - updated - - *796 + - *798 - *17 - *19 responses: @@ -111125,7 +111804,7 @@ paths: - admin - pull - push - text_matches: *795 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -111426,7 +112105,7 @@ paths: type: string format: uri nullable: true - text_matches: *795 + text_matches: *797 related: type: array nullable: true @@ -111619,7 +112298,7 @@ paths: - followers - repositories - joined - - *796 + - *798 - *17 - *19 responses: @@ -111723,7 +112402,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *795 + text_matches: *797 blog: type: string nullable: true @@ -111802,7 +112481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &800 + - &802 name: team_id description: The unique identifier of the team. in: path @@ -111814,9 +112493,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 x-github: githubCloudOnly: false @@ -111843,7 +112522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -111906,16 +112585,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '404': *6 '422': *15 '403': *29 @@ -111943,7 +112622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *800 + - *802 responses: '204': description: Response @@ -111972,7 +112651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111982,9 +112661,9 @@ paths: application/json: schema: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *47 x-github: @@ -112010,7 +112689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *800 + - *802 - name: role description: Filters members returned by their role in the team. in: query @@ -112061,7 +112740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112098,7 +112777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112138,7 +112817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *800 + - *802 - *143 responses: '204': @@ -112175,16 +112854,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *800 + - *802 - *143 responses: '200': description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-user-is-a-team-maintainer: *801 + response-if-user-is-a-team-maintainer: *803 '404': *6 x-github: githubCloudOnly: false @@ -112217,7 +112896,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: - - *800 + - *802 - *143 requestBody: required: false @@ -112243,9 +112922,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: - response-if-users-membership-with-team-is-now-pending: *802 + response-if-users-membership-with-team-is-now-pending: *804 '403': description: Forbidden if team synchronization is set up '422': @@ -112279,7 +112958,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: - - *800 + - *802 - *143 responses: '204': @@ -112307,7 +112986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -112319,7 +112998,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '404': *6 @@ -112349,15 +113028,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *803 + schema: *805 examples: alternative-response-with-extra-repository-information: value: @@ -112508,9 +113187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 requestBody: required: false content: @@ -112560,9 +113239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *800 - - *462 - - *463 + - *802 + - *465 + - *466 responses: '204': description: Response @@ -112591,15 +113270,15 @@ 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: - - *800 + - *802 responses: '200': description: Response content: application/json: - schema: *464 + schema: *467 examples: - default: *465 + default: *468 '403': *29 '404': *6 x-github: @@ -112626,7 +113305,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: - - *800 + - *802 requestBody: required: true content: @@ -112683,7 +113362,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *467 examples: default: value: @@ -112714,7 +113393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -112726,7 +113405,7 @@ paths: type: array items: *317 examples: - response-if-child-teams-exist: *804 + response-if-child-teams-exist: *806 headers: Link: *47 '404': *6 @@ -112759,7 +113438,7 @@ paths: application/json: schema: oneOf: - - &806 + - &808 title: Private User description: Private User type: object @@ -112962,7 +113641,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *805 + - *807 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113115,7 +113794,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *808 examples: default: value: @@ -113318,9 +113997,9 @@ paths: type: integer codespaces: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 '304': *37 '500': *40 '401': *25 @@ -113459,17 +114138,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -113513,7 +114192,7 @@ paths: type: integer secrets: type: array - items: &807 + items: &809 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113553,7 +114232,7 @@ paths: - visibility - selected_repositories_url examples: - default: *569 + default: *572 headers: Link: *47 x-github: @@ -113629,7 +114308,7 @@ paths: description: Response content: application/json: - schema: *807 + schema: *809 examples: default: value: @@ -113775,7 +114454,7 @@ paths: type: array items: *288 examples: - default: *808 + default: *810 '401': *25 '403': *29 '404': *6 @@ -113919,15 +114598,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '304': *37 '500': *40 '401': *25 @@ -113953,7 +114632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 requestBody: required: false content: @@ -113983,9 +114662,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '401': *25 '403': *29 '404': *6 @@ -114007,7 +114686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '202': *39 '304': *37 @@ -114036,13 +114715,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '202': description: Response content: application/json: - schema: &809 + schema: &811 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114083,7 +114762,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &810 + default: &812 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114115,7 +114794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *383 + - *385 - name: export_id in: path required: true @@ -114128,9 +114807,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *811 examples: - default: *810 + default: *812 '404': *6 x-github: githubCloudOnly: false @@ -114151,7 +114830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *383 + - *385 responses: '200': description: Response @@ -114167,9 +114846,9 @@ paths: type: integer machines: type: array - items: *811 + items: *813 examples: - default: *812 + default: *814 '304': *37 '500': *40 '401': *25 @@ -114198,7 +114877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *383 + - *385 requestBody: required: true content: @@ -114248,13 +114927,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *467 + repository: *470 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *567 - required: *568 + properties: *570 + required: *571 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115028,15 +115707,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '304': *37 '500': *40 '400': *14 @@ -115068,15 +115747,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *566 + default: *569 '500': *40 '401': *25 '403': *29 @@ -115106,9 +115785,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: &823 + default: &825 value: - id: 197 name: hello_docker @@ -115209,7 +115888,7 @@ paths: application/json: schema: type: array - items: &813 + items: &815 title: Email description: Email type: object @@ -115274,9 +115953,9 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: - default: &825 + default: &827 value: - email: octocat@github.com verified: true @@ -115351,7 +116030,7 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: default: value: @@ -115607,7 +116286,7 @@ paths: application/json: schema: type: array - items: &814 + items: &816 title: GPG Key description: A unique encryption key type: object @@ -115738,7 +116417,7 @@ paths: - subkeys - revoked examples: - default: &841 + default: &843 value: - id: 3 name: Octocat's GPG Key @@ -115823,9 +116502,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *816 examples: - default: &815 + default: &817 value: id: 3 name: Octocat's GPG Key @@ -115882,7 +116561,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: - - &816 + - &818 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115894,9 +116573,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *816 examples: - default: *815 + default: *817 '404': *6 '304': *37 '403': *29 @@ -115919,7 +116598,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: - - *816 + - *818 responses: '204': description: Response @@ -116197,12 +116876,12 @@ paths: application/json: schema: anyOf: - - *371 + - *373 - type: object properties: {} additionalProperties: false examples: - default: *372 + default: *374 '204': description: Response when there are no restrictions x-github: @@ -116226,7 +116905,7 @@ paths: required: true content: application/json: - schema: *651 + schema: *654 examples: default: value: @@ -116237,7 +116916,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: default: value: @@ -116318,7 +116997,7 @@ paths: - closed - all default: open - - *379 + - *381 - name: sort description: What to sort results by. in: query @@ -116343,7 +117022,7 @@ paths: type: array items: *225 examples: - default: *380 + default: *382 headers: Link: *47 '404': *6 @@ -116376,7 +117055,7 @@ paths: application/json: schema: type: array - items: &817 + items: &819 title: Key description: Key type: object @@ -116477,9 +117156,9 @@ paths: description: Response content: application/json: - schema: *817 + schema: *819 examples: - default: &818 + default: &820 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116512,15 +117191,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: - - *684 + - *687 responses: '200': description: Response content: application/json: - schema: *817 + schema: *819 examples: - default: *818 + default: *820 '404': *6 '304': *37 '403': *29 @@ -116543,7 +117222,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: - - *684 + - *687 responses: '204': description: Response @@ -116576,7 +117255,7 @@ paths: application/json: schema: type: array - items: &819 + items: &821 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116644,7 +117323,7 @@ paths: - account - plan examples: - default: &820 + default: &822 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116706,9 +117385,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: *820 + default: *822 headers: Link: *47 '304': *37 @@ -116748,7 +117427,7 @@ paths: application/json: schema: type: array - items: *384 + items: *386 examples: default: value: @@ -116862,7 +117541,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -116949,7 +117628,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: default: value: @@ -117021,7 +117700,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -117274,7 +117953,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -117454,7 +118133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *387 + - *389 - name: exclude in: query required: false @@ -117467,7 +118146,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -117661,7 +118340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *387 + - *389 responses: '302': description: Response @@ -117687,7 +118366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *387 + - *389 responses: '204': description: Response @@ -117716,8 +118395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *387 - - *821 + - *389 + - *823 responses: '204': description: Response @@ -117741,7 +118420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *387 + - *389 - *17 - *19 responses: @@ -117753,7 +118432,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '404': *6 @@ -117832,7 +118511,7 @@ paths: - docker - nuget - container - - *822 + - *824 - *19 - *17 responses: @@ -117842,10 +118521,10 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 - '400': *824 + default: *825 + '400': *826 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117865,16 +118544,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &842 + default: &844 value: id: 40201 name: octo-name @@ -117987,8 +118666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 responses: '204': description: Response @@ -118018,8 +118697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 - name: token description: package token schema: @@ -118051,8 +118730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *394 - - *395 + - *396 + - *397 - *19 - *17 - name: state @@ -118072,7 +118751,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -118121,15 +118800,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -118165,9 +118844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '204': description: Response @@ -118197,9 +118876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 responses: '204': description: Response @@ -118236,9 +118915,9 @@ paths: application/json: schema: type: array - items: *813 + items: *815 examples: - default: *825 + default: *827 headers: Link: *47 '304': *37 @@ -118351,7 +119030,7 @@ paths: type: array items: *78 examples: - default: &832 + default: &834 summary: Default response value: - id: 1296269 @@ -118655,9 +119334,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *469 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118695,9 +119374,9 @@ paths: application/json: schema: type: array - items: *653 + items: *656 examples: - default: *826 + default: *828 headers: Link: *47 '304': *37 @@ -118720,7 +119399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *375 + - *377 responses: '204': description: Response @@ -118743,7 +119422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *375 + - *377 responses: '204': description: Response @@ -118776,7 +119455,7 @@ paths: application/json: schema: type: array - items: &827 + items: &829 title: Social account description: Social media account type: object @@ -118791,7 +119470,7 @@ paths: - provider - url examples: - default: &828 + default: &830 value: - provider: twitter url: https://twitter.com/github @@ -118853,9 +119532,9 @@ paths: application/json: schema: type: array - items: *827 + items: *829 examples: - default: *828 + default: *830 '422': *15 '304': *37 '404': *6 @@ -118942,7 +119621,7 @@ paths: application/json: schema: type: array - items: &829 + items: &831 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118962,7 +119641,7 @@ paths: - title - created_at examples: - default: &856 + default: &858 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119026,9 +119705,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *831 examples: - default: &830 + default: &832 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119058,7 +119737,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: - - &831 + - &833 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119070,9 +119749,9 @@ paths: description: Response content: application/json: - schema: *829 + schema: *831 examples: - default: *830 + default: *832 '404': *6 '304': *37 '403': *29 @@ -119095,7 +119774,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: - - *831 + - *833 responses: '204': description: Response @@ -119124,7 +119803,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: - - &857 + - &859 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 @@ -119149,11 +119828,11 @@ paths: type: array items: *78 examples: - default-response: *832 + default-response: *834 application/vnd.github.v3.star+json: schema: type: array - items: &858 + items: &860 title: Starred Repository description: Starred Repository type: object @@ -119309,8 +119988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response if this repository is starred by you @@ -119338,8 +120017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -119363,8 +120042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *462 - - *463 + - *465 + - *466 responses: '204': description: Response @@ -119399,7 +120078,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 '304': *37 @@ -119436,7 +120115,7 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: default: value: @@ -119522,10 +120201,10 @@ paths: application/json: schema: oneOf: - - *806 - - *805 + - *808 + - *807 examples: - default-response: &836 + default-response: &838 summary: Default response value: login: octocat @@ -119560,7 +120239,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &837 + response-with-git-hub-plan-information: &839 summary: Response with GitHub plan information value: login: octocat @@ -119617,14 +120296,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &834 + - &836 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *410 + - *412 requestBody: required: true description: Details of the draft item to create in the project. @@ -119658,9 +120337,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: - draft_issue: *417 + draft_issue: *419 '304': *37 '403': *29 '401': *25 @@ -119683,7 +120362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *833 + - *835 - *17 responses: '200': @@ -119718,8 +120397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *834 - - *410 + - *836 + - *412 requestBody: required: true content: @@ -119790,17 +120469,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *835 + schema: *837 examples: table_view: summary: Response for creating a table view - value: *421 + value: *423 board_view: summary: Response for creating a board view with filter - value: *421 + value: *423 roadmap_view: summary: Response for creating a roadmap view - value: *421 + value: *423 '304': *37 '403': *29 '401': *25 @@ -119842,11 +120521,11 @@ paths: application/json: schema: oneOf: - - *806 - - *805 + - *808 + - *807 examples: - default-response: *836 - response-with-git-hub-plan-information: *837 + default-response: *838 + response-with-git-hub-plan-information: *839 '404': *6 x-github: githubCloudOnly: false @@ -119896,8 +120575,8 @@ paths: required: - subject_digests examples: - default: *838 - withPredicateType: *839 + default: *840 + withPredicateType: *841 responses: '200': description: Response @@ -119950,7 +120629,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *840 + default: *842 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120155,7 +120834,7 @@ paths: initiator: type: string examples: - default: *509 + default: *512 '201': description: Response content: @@ -120194,9 +120873,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 + default: *825 '403': *29 '401': *25 x-github: @@ -120580,9 +121259,9 @@ paths: application/json: schema: type: array - items: *814 + items: *816 examples: - default: *841 + default: *843 headers: Link: *47 x-github: @@ -120686,7 +121365,7 @@ paths: application/json: schema: *22 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120810,7 +121489,7 @@ paths: - docker - nuget - container - - *822 + - *824 - *143 - *19 - *17 @@ -120821,12 +121500,12 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *823 + default: *825 '403': *29 '401': *25 - '400': *824 + '400': *826 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120846,17 +121525,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *842 + default: *844 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120877,8 +121556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '204': @@ -120911,8 +121590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 - name: token description: package token @@ -120945,8 +121624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *394 - - *395 + - *396 + - *397 - *143 responses: '200': @@ -120955,7 +121634,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -121013,16 +121692,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *394 - - *395 + - *396 - *397 + - *399 - *143 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -121057,10 +121736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *394 - - *395 - - *143 + - *396 - *397 + - *143 + - *399 responses: '204': description: Response @@ -121092,10 +121771,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *394 - - *395 - - *143 + - *396 - *397 + - *143 + - *399 responses: '204': description: Response @@ -121136,9 +121815,9 @@ paths: application/json: schema: type: array - items: *408 + items: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -121160,16 +121839,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *410 + - *412 - *143 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 headers: Link: *47 '304': *37 @@ -121191,7 +121870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *410 + - *412 - *143 - *17 - *108 @@ -121203,9 +121882,9 @@ paths: application/json: schema: type: array - items: *414 + items: *416 examples: - default: *843 + default: *845 headers: Link: *47 '304': *37 @@ -121227,7 +121906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *143 - - *410 + - *412 requestBody: required: true content: @@ -121265,7 +121944,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *844 + items: *846 required: - name - data_type @@ -121281,7 +121960,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *845 + iteration_configuration: *847 required: - name - data_type @@ -121303,20 +121982,20 @@ paths: value: name: Due date data_type: date - single_select_field: *846 - iteration_field: *847 + single_select_field: *848 + iteration_field: *849 responses: '201': description: Response content: application/json: - schema: *414 + schema: *416 examples: - text_field: *848 - number_field: *849 - date_field: *850 - single_select_field: *851 - iteration_field: *852 + text_field: *850 + number_field: *851 + date_field: *852 + single_select_field: *853 + iteration_field: *854 '304': *37 '403': *29 '401': *25 @@ -121337,17 +122016,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *410 - - *853 + - *412 + - *855 - *143 responses: '200': description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *854 + default: *856 headers: Link: *47 '304': *37 @@ -121370,7 +122049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *410 + - *412 - *143 - *108 - *109 @@ -121403,9 +122082,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121427,7 +122106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *143 - - *410 + - *412 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -121497,22 +122176,22 @@ paths: description: Response content: application/json: - schema: *416 + schema: *418 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *417 + value: *419 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *417 + value: *419 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *417 + value: *419 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *417 + value: *419 '304': *37 '403': *29 '401': *25 @@ -121532,9 +122211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *410 + - *412 - *143 - - *420 + - *422 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121554,9 +122233,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121577,9 +122256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *410 + - *412 - *143 - - *420 + - *422 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121649,13 +122328,13 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - text_field: *419 - number_field: *419 - date_field: *419 - single_select_field: *419 - iteration_field: *419 + text_field: *421 + number_field: *421 + date_field: *421 + single_select_field: *421 + iteration_field: *421 '401': *25 '403': *29 '404': *6 @@ -121675,9 +122354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *410 + - *412 - *143 - - *420 + - *422 responses: '204': description: Response @@ -121699,9 +122378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - - *410 + - *412 - *143 - - *855 + - *857 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121727,9 +122406,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *47 '304': *37 @@ -121950,7 +122629,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -121980,9 +122659,9 @@ paths: application/json: schema: type: array - items: *827 + items: *829 examples: - default: *828 + default: *830 headers: Link: *47 x-github: @@ -122012,9 +122691,9 @@ paths: application/json: schema: type: array - items: *829 + items: *831 examples: - default: *856 + default: *858 headers: Link: *47 x-github: @@ -122039,7 +122718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *857 + - *859 - *110 - *17 - *19 @@ -122051,11 +122730,11 @@ paths: schema: anyOf: - type: array - items: *858 + items: *860 - type: array items: *78 examples: - default-response: *832 + default-response: *834 headers: Link: *47 x-github: @@ -122086,7 +122765,7 @@ paths: type: array items: *288 examples: - default: *398 + default: *400 headers: Link: *47 x-github: @@ -122214,7 +122893,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &859 + enterprise: &861 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122272,7 +122951,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &860 + installation: &862 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122291,7 +122970,7 @@ x-webhooks: required: - id - node_id - organization: &861 + organization: &863 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122351,13 +123030,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &862 + repository: &864 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: &901 + properties: &903 id: description: Unique identifier of the repository example: 42 @@ -123052,7 +123731,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &902 + required: &904 - archive_url - assignees_url - blobs_url @@ -123203,10 +123882,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -123282,11 +123961,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: &863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: &865 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) @@ -123509,11 +124188,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: *865 sender: *4 required: - action @@ -123696,11 +124375,11 @@ x-webhooks: - everyone required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + rule: *865 sender: *4 required: - action @@ -123773,7 +124452,7 @@ x-webhooks: required: true content: application/json: - schema: &885 + schema: &887 title: Exemption request cancellation event type: object properties: @@ -123781,11 +124460,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: &864 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: &866 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124054,7 +124733,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &865 + items: &867 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124125,6 +124804,261 @@ x-webhooks: externalDocs: url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &888 + title: Exemption request completed event + type: object + properties: + action: + type: string + enum: + - completed + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + sender: *4 + required: + - action + - exemption_request + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-created: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A secret scanning push protection bypass request was created. + operationId: exemption-request-secret-scanning/created + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &885 + title: Exemption request created event + type: object + properties: + action: + type: string + enum: + - created + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + sender: *4 + required: + - action + - exemption_request + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-response-dismissed: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A secret scanning push protection bypass response was dismissed. + operationId: exemption-request-secret-scanning/response-dismissed + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: &889 + title: Exemption response dismissed event + type: object + properties: + action: + type: string + enum: + - response_dismissed + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + exemption_response: *867 + sender: *4 + required: + - action + - exemption_request + - exemption_response + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: bypass_request_secret_scanning + supported-webhook-types: + - repository + - organization + - app + bypass-request-secret-scanning-response-submitted: + post: + summary: |- + This event occurs when there is activity related to a user's request to bypass secret scanning push protection. + + For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + + Note: Delegated bypass for push protection is currently in public preview and subject to change. + description: A response either approving or rejecting the secret scanning push + protection bypass request was submitted. + operationId: exemption-request-secret-scanning/response-submitted + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning + parameters: - name: User-Agent in: header example: GitHub-Hookshot/123abc @@ -124165,261 +125099,6 @@ x-webhooks: content: application/json: schema: &886 - title: Exemption request completed event - type: object - properties: - action: - type: string - enum: - - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - sender: *4 - required: - - action - - exemption_request - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-created: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A secret scanning push protection bypass request was created. - operationId: exemption-request-secret-scanning/created - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &883 - title: Exemption request created event - type: object - properties: - action: - type: string - enum: - - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - sender: *4 - required: - - action - - exemption_request - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-response-dismissed: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A secret scanning push protection bypass response was dismissed. - operationId: exemption-request-secret-scanning/response-dismissed - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &887 - title: Exemption response dismissed event - type: object - properties: - action: - type: string - enum: - - response_dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 - sender: *4 - required: - - action - - exemption_request - - exemption_response - - sender - responses: - '200': - description: Return a 200 status to indicate that the data was received - successfully - x-github: - githubCloudOnly: true - category: webhooks - subcategory: bypass_request_secret_scanning - supported-webhook-types: - - repository - - organization - - app - bypass-request-secret-scanning-response-submitted: - post: - summary: |- - This event occurs when there is activity related to a user's request to bypass secret scanning push protection. - - For more information, see "[Enabling delegated bypass for push protection](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection#enabling-delegated-bypass-for-push-protection)." - - To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. - - Note: Delegated bypass for push protection is currently in public preview and subject to change. - description: A response either approving or rejecting the secret scanning push - protection bypass request was submitted. - operationId: exemption-request-secret-scanning/response-submitted - externalDocs: - url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#bypass_request_secret_scanning - parameters: - - name: User-Agent - in: header - example: GitHub-Hookshot/123abc - schema: - type: string - - name: X-Github-Hook-Id - in: header - example: 12312312 - schema: - type: string - - name: X-Github-Event - in: header - example: issues - schema: - type: string - - name: X-Github-Hook-Installation-Target-Id - in: header - example: 123123 - schema: - type: string - - name: X-Github-Hook-Installation-Target-Type - in: header - example: repository - schema: - type: string - - name: X-GitHub-Delivery - in: header - example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 - schema: - type: string - - name: X-Hub-Signature-256 - in: header - example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: &884 title: Exemption response submitted event type: object properties: @@ -124427,12 +125106,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + exemption_request: *866 + exemption_response: *867 sender: *4 required: - action @@ -124516,7 +125195,7 @@ x-webhooks: type: string enum: - completed - check_run: &867 + check_run: &869 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124607,7 +125286,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *866 + deployment: *868 details_url: example: https://example.com type: string @@ -124692,10 +125371,10 @@ x-webhooks: - output - app - pull_requests - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -125086,11 +125765,11 @@ x-webhooks: type: string enum: - created - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -125484,11 +126163,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 requested_action: description: The action requested by the user. type: object @@ -125891,11 +126570,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *869 + installation: *862 + enterprise: *861 + organization: *863 + repository: *864 sender: *4 required: - check_run @@ -126865,10 +127544,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -127557,10 +128236,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -128243,10 +128922,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -128412,7 +129091,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128557,20 +129236,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &868 + commit_oid: &870 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: *859 - installation: *860 - organization: *861 - ref: &869 + enterprise: *861 + installation: *862 + organization: *863 + ref: &871 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: *862 + repository: *864 sender: *4 required: - action @@ -128735,7 +129414,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128965,12 +129644,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129065,7 +129744,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129236,12 +129915,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129407,7 +130086,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129573,12 +130252,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -129677,7 +130356,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129852,16 +130531,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 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: *862 + repository: *864 sender: *4 required: - action @@ -129958,7 +130637,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130098,12 +130777,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *870 + enterprise: *861 + installation: *862 + organization: *863 + ref: *871 + repository: *864 sender: *4 required: - action @@ -130269,7 +130948,7 @@ x-webhooks: required: - login - id - dismissed_comment: *538 + dismissed_comment: *541 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -130414,10 +131093,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -130672,10 +131351,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -130755,18 +131434,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *861 - pusher_type: &870 + organization: *863 + pusher_type: &872 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &871 + ref: &873 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130776,7 +131455,7 @@ x-webhooks: enum: - tag - branch - repository: *862 + repository: *864 sender: *4 required: - ref @@ -130859,9 +131538,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -130946,9 +131625,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131026,9 +131705,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131106,9 +131785,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -131185,10 +131864,10 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - repository: *862 - organization: *861 + enterprise: *861 + installation: *862 + repository: *864 + organization: *863 sender: *4 new_property_values: type: array @@ -131273,18 +131952,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - pusher_type: *870 - ref: *871 + enterprise: *861 + installation: *862 + organization: *863 + pusher_type: *872 + ref: *873 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *862 + repository: *864 sender: *4 required: - ref @@ -131329,7 +132008,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131364,11 +132043,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131413,7 +132092,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131448,11 +132127,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131498,7 +132177,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131533,11 +132212,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131583,7 +132262,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131618,11 +132297,11 @@ x-webhooks: type: string enum: - created - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131666,7 +132345,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131701,11 +132380,11 @@ x-webhooks: type: string enum: - dismissed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131749,7 +132428,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131784,11 +132463,11 @@ x-webhooks: type: string enum: - fixed - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131833,7 +132512,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131868,11 +132547,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -131916,7 +132595,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -131951,11 +132630,11 @@ x-webhooks: type: string enum: - reopened - alert: *600 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + alert: *603 + installation: *862 + organization: *863 + enterprise: *861 + repository: *864 sender: *4 required: - action @@ -132032,9 +132711,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - key: &872 + enterprise: *861 + installation: *862 + key: &874 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132070,8 +132749,8 @@ x-webhooks: - verified - created_at - read_only - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -132148,11 +132827,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - key: *872 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + key: *874 + organization: *863 + repository: *864 sender: *4 required: - action @@ -132708,12 +133387,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: &878 + workflow: &880 title: Workflow type: object nullable: true @@ -133454,15 +134133,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *873 - required: *874 + properties: *875 + required: *876 nullable: true pull_requests: type: array - items: *705 - repository: *862 - organization: *861 - installation: *860 + items: *708 + repository: *864 + organization: *863 + installation: *862 sender: *4 responses: '200': @@ -133533,7 +134212,7 @@ x-webhooks: type: string enum: - approved - approver: &875 + approver: &877 type: object properties: avatar_url: @@ -133576,11 +134255,11 @@ x-webhooks: type: string comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: &876 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + reviewers: &878 type: array items: type: object @@ -133659,7 +134338,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &879 type: object properties: conclusion: @@ -134390,18 +135069,18 @@ x-webhooks: type: string enum: - rejected - approver: *875 + approver: *877 comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: *876 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + reviewers: *878 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *879 workflow_job_runs: type: array items: @@ -135105,13 +135784,13 @@ x-webhooks: type: string enum: - requested - enterprise: *859 + enterprise: *861 environment: type: string - installation: *860 - organization: *861 - repository: *862 - requestor: &888 + installation: *862 + organization: *863 + repository: *864 + requestor: &890 title: User type: object nullable: true @@ -137000,12 +137679,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Deployment Workflow Run type: object @@ -137685,7 +138364,7 @@ x-webhooks: type: string enum: - answered - answer: &881 + answer: &883 type: object properties: author_association: @@ -137842,11 +138521,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -137973,11 +138652,11 @@ x-webhooks: - from required: - category - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138060,11 +138739,11 @@ x-webhooks: type: string enum: - closed - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138146,7 +138825,7 @@ x-webhooks: type: string enum: - created - comment: &880 + comment: &882 type: object properties: author_association: @@ -138303,11 +138982,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138390,12 +139069,12 @@ x-webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *882 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138490,12 +139169,12 @@ x-webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *882 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138579,11 +139258,11 @@ x-webhooks: type: string enum: - created - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138665,11 +139344,11 @@ x-webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138769,11 +139448,11 @@ x-webhooks: type: string required: - from - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138855,10 +139534,10 @@ x-webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *859 - installation: *860 - label: &882 + discussion: *881 + enterprise: *861 + installation: *862 + label: &884 title: Label type: object properties: @@ -138890,8 +139569,8 @@ x-webhooks: - color - default - description - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -138974,11 +139653,11 @@ x-webhooks: type: string enum: - locked - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139060,11 +139739,11 @@ x-webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139146,11 +139825,11 @@ x-webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139235,16 +139914,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *862 + new_discussion: *881 + new_repository: *864 required: - new_discussion - new_repository - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139327,10 +140006,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *861 - repository: *862 + discussion: *881 + old_answer: *883 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139412,12 +140091,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139500,11 +140179,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139586,11 +140265,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *881 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -139659,7 +140338,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139722,7 +140401,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139785,7 +140464,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139848,7 +140527,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139911,7 +140590,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139977,7 +140656,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140043,7 +140722,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140109,7 +140788,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140175,7 +140854,7 @@ x-webhooks: required: true content: application/json: - schema: *887 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140241,7 +140920,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140306,7 +140985,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140371,7 +141050,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140436,7 +141115,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *885 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140501,7 +141180,7 @@ x-webhooks: required: true content: application/json: - schema: *887 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140567,7 +141246,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140634,7 +141313,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *859 + enterprise: *861 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141294,9 +141973,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - forkee @@ -141442,9 +142121,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pages: description: The pages that were updated. type: array @@ -141481,7 +142160,7 @@ x-webhooks: - action - sha - html_url - repository: *862 + repository: *864 sender: *4 required: - pages @@ -141557,10 +142236,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: &889 + organization: *863 + repositories: &891 description: An array of repository objects that the installation can access. type: array @@ -141586,8 +142265,8 @@ x-webhooks: - name - full_name - private - repository: *862 - requester: *888 + repository: *864 + requester: *890 sender: *4 required: - action @@ -141662,11 +142341,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -141742,11 +142421,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -141822,10 +142501,10 @@ x-webhooks: type: string enum: - added - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories_added: &890 + organization: *863 + repositories_added: &892 description: An array of repository objects, which were added to the installation. type: array @@ -141871,15 +142550,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *862 - repository_selection: &891 + repository: *864 + repository_selection: &893 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *888 + requester: *890 sender: *4 required: - action @@ -141958,10 +142637,10 @@ x-webhooks: type: string enum: - removed - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories_added: *890 + organization: *863 + repositories_added: *892 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141988,9 +142667,9 @@ x-webhooks: - name - full_name - private - repository: *862 - repository_selection: *891 - requester: *888 + repository: *864 + repository_selection: *893 + requester: *890 sender: *4 required: - action @@ -142069,11 +142748,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -142252,10 +142931,10 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 target_type: type: string @@ -142334,11 +143013,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *859 + enterprise: *861 installation: *22 - organization: *861 - repositories: *889 - repository: *862 + organization: *863 + repositories: *891 + repository: *864 requester: nullable: true sender: *4 @@ -142512,8 +143191,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true user: title: User @@ -142598,8 +143277,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143388,8 +144067,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143405,7 +144084,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -143738,8 +144417,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -143819,7 +144498,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &894 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143976,8 +144655,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *680 - required: *681 + properties: *683 + required: *684 nullable: true required: - url @@ -143992,8 +144671,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144778,8 +145457,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144795,7 +145474,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -145130,8 +145809,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -145211,7 +145890,7 @@ x-webhooks: type: string enum: - edited - changes: &921 + changes: &923 description: The changes to the comment. type: object properties: @@ -145223,9 +145902,9 @@ x-webhooks: type: string required: - from - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146013,8 +146692,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146030,7 +146709,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -146363,8 +147042,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -146445,9 +147124,9 @@ x-webhooks: type: string enum: - pinned - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147237,8 +147916,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147254,7 +147933,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -147589,8 +148268,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -147670,9 +148349,9 @@ x-webhooks: type: string enum: - unpinned - comment: *892 - enterprise: *859 - installation: *860 + comment: *894 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148462,8 +149141,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148479,7 +149158,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -148814,8 +149493,8 @@ x-webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -148904,9 +149583,9 @@ x-webhooks: type: number blocking_issue: *225 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -148995,9 +149674,9 @@ x-webhooks: type: number blocking_issue: *225 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149085,9 +149764,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149176,9 +149855,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -149258,10 +149937,10 @@ x-webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *859 - installation: *860 - issue: &895 + assignee: *890 + enterprise: *861 + installation: *862 + issue: &897 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150053,11 +150732,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150073,7 +150752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -150174,8 +150853,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -150255,8 +150934,8 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151053,11 +151732,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151073,7 +151752,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -151309,8 +151988,8 @@ x-webhooks: required: - state - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -151389,8 +152068,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152178,11 +152857,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152198,7 +152877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -152298,8 +152977,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -152378,8 +153057,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153189,11 +153868,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153209,7 +153888,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -153288,7 +153967,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &893 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153426,8 +154105,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -153526,8 +154205,8 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154319,11 +154998,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154336,7 +155015,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -154440,9 +155119,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *861 - repository: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -154522,8 +155201,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155314,11 +155993,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155331,7 +156010,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -155435,9 +156114,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *861 - repository: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -155517,8 +156196,8 @@ x-webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156333,11 +157012,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156350,7 +157029,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *376 + type: *378 title: description: Title of the issue type: string @@ -156431,8 +157110,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -156511,8 +157190,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157321,11 +158000,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157341,7 +158020,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -157419,9 +158098,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *893 - organization: *861 - repository: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -158284,11 +158963,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158389,7 +159068,7 @@ x-webhooks: required: - login - id - type: *376 + type: *378 required: - id - number @@ -158869,8 +159548,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159654,11 +160333,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159674,7 +160353,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -159782,8 +160461,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -159863,9 +160542,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *859 - installation: *860 - issue: &894 + enterprise: *861 + installation: *862 + issue: &896 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160651,11 +161330,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160671,7 +161350,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -160771,8 +161450,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -160851,8 +161530,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161665,11 +162344,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161763,9 +162442,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *376 - organization: *861 - repository: *862 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -162634,11 +163313,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162654,7 +163333,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -163233,11 +163912,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *859 - installation: *860 - issue: *894 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *896 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163317,12 +163996,12 @@ x-webhooks: type: string enum: - typed - enterprise: *859 - installation: *860 - issue: *895 - type: *376 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163403,7 +164082,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &924 + assignee: &926 title: User type: object nullable: true @@ -163473,11 +164152,11 @@ x-webhooks: required: - login - id - enterprise: *859 - installation: *860 - issue: *895 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163556,12 +164235,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - issue: *895 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -163641,8 +164320,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164455,11 +165134,11 @@ x-webhooks: properties: *226 required: *227 nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164475,7 +165154,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *376 + type: *378 updated_at: type: string format: date-time @@ -164553,8 +165232,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164634,11 +165313,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *859 - installation: *860 - issue: *894 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *896 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164717,12 +165396,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *859 - installation: *860 - issue: *895 - type: *376 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + issue: *897 + type: *378 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164802,11 +165481,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164884,11 +165563,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -164998,11 +165677,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - label: *882 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + label: *884 + organization: *863 + repository: *864 sender: *4 required: - action @@ -165084,9 +165763,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: &896 + enterprise: *861 + installation: *862 + marketplace_purchase: &898 title: Marketplace Purchase type: object required: @@ -165169,8 +165848,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: &897 + organization: *863 + previous_marketplace_purchase: &899 title: Marketplace Purchase type: object properties: @@ -165250,7 +165929,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165330,10 +166009,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165416,7 +166095,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165498,10 +166177,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165583,7 +166262,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *864 sender: *4 required: - action @@ -165664,8 +166343,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 marketplace_purchase: title: Marketplace Purchase type: object @@ -165747,9 +166426,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: *897 - repository: *862 + organization: *863 + previous_marketplace_purchase: *899 + repository: *864 sender: *4 required: - action @@ -165829,12 +166508,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *896 - organization: *861 - previous_marketplace_purchase: *897 - repository: *862 + enterprise: *861 + installation: *862 + marketplace_purchase: *898 + organization: *863 + previous_marketplace_purchase: *899 + repository: *864 sender: *4 required: - action @@ -165936,11 +166615,11 @@ x-webhooks: type: string required: - to - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166040,11 +166719,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166123,11 +166802,11 @@ x-webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166205,11 +166884,11 @@ x-webhooks: type: string enum: - added - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166285,7 +166964,7 @@ x-webhooks: required: - login - id - team: &898 + team: &900 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166508,11 +167187,11 @@ x-webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *888 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + member: *890 + organization: *863 + repository: *864 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166589,7 +167268,7 @@ x-webhooks: required: - login - id - team: *898 + team: *900 required: - action - scope @@ -166671,8 +167350,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *860 - merge_group: &900 + installation: *862 + merge_group: &902 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166691,15 +167370,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *899 + head_commit: *901 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166785,10 +167464,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *860 - merge_group: *900 - organization: *861 - repository: *862 + installation: *862 + merge_group: *902 + organization: *863 + repository: *864 sender: *4 required: - action @@ -166861,7 +167540,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *861 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166970,16 +167649,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *860 - organization: *861 + installation: *862 + organization: *863 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -167060,11 +167739,11 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167143,9 +167822,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - milestone: &903 + enterprise: *861 + installation: *862 + milestone: &905 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167282,8 +167961,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167362,11 +168041,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167476,11 +168155,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - milestone: *893 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *895 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167560,11 +168239,11 @@ x-webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - milestone: *903 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + milestone: *905 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167643,11 +168322,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *888 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *890 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167726,11 +168405,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *888 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *890 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -167806,7 +168485,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *859 + enterprise: *861 sender: *4 required: - action @@ -167886,8 +168565,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 sender: *4 required: - action @@ -167960,8 +168639,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 sender: *4 required: - action @@ -168033,9 +168712,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 new_property_values: type: array @@ -168123,9 +168802,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - membership: &904 + enterprise: *861 + installation: *862 + membership: &906 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -168232,8 +168911,8 @@ x-webhooks: - role - organization_url - user - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168311,11 +168990,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168394,8 +169073,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168511,10 +169190,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 - user: *888 + user: *890 required: - action - invitation @@ -168592,11 +169271,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168683,11 +169362,11 @@ x-webhooks: properties: from: type: string - enterprise: *859 - installation: *860 - membership: *904 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + membership: *906 + organization: *863 + repository: *864 sender: *4 required: - action @@ -168765,9 +169444,9 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 package: description: Information about the package. type: object @@ -169266,7 +169945,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &905 + items: &907 title: Ruby Gems metadata type: object properties: @@ -169361,7 +170040,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -169438,9 +170117,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 package: description: Information about the package. type: object @@ -169793,7 +170472,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *905 + items: *907 source_url: type: string format: uri @@ -169863,7 +170542,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -170039,12 +170718,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *859 + enterprise: *861 id: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - id @@ -170121,7 +170800,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &906 + personal_access_token_request: &908 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170267,10 +170946,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *859 - organization: *861 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170347,11 +171026,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *906 - enterprise: *859 - organization: *861 + personal_access_token_request: *908 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170427,11 +171106,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *906 - enterprise: *859 - organization: *861 + personal_access_token_request: *908 + enterprise: *861 + organization: *863 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170506,11 +171185,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *906 - organization: *861 - enterprise: *859 + personal_access_token_request: *908 + organization: *863 + enterprise: *861 sender: *4 - installation: *860 + installation: *862 required: - action - personal_access_token_request @@ -170615,7 +171294,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *907 + last_response: *909 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170647,8 +171326,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 zen: description: Random string of GitHub zen. @@ -170893,10 +171572,10 @@ x-webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: &908 + enterprise: *861 + installation: *862 + organization: *863 + project_card: &910 title: Project Card type: object properties: @@ -171015,7 +171694,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -171096,11 +171775,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_card: *908 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_card: *910 + repository: *864 sender: *4 required: - action @@ -171180,9 +171859,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 project_card: title: Project Card type: object @@ -171310,8 +171989,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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -171405,11 +172084,11 @@ x-webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: *908 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_card: *910 + repository: *864 sender: *4 required: - action @@ -171503,9 +172182,9 @@ x-webhooks: - from required: - column_id - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 project_card: allOf: - title: Project Card @@ -171695,7 +172374,7 @@ x-webhooks: type: string required: - after_id - repository: *862 + repository: *864 sender: *4 required: - action @@ -171775,10 +172454,10 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - organization: *861 - project: &910 + enterprise: *861 + installation: *862 + organization: *863 + project: &912 title: Project type: object properties: @@ -171902,7 +172581,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -171982,10 +172661,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_column: &909 + enterprise: *861 + installation: *862 + organization: *863 + project_column: &911 title: Project Column type: object properties: @@ -172024,7 +172703,7 @@ x-webhooks: - name - created_at - updated_at - repository: *862 + repository: *864 sender: *4 required: - action @@ -172103,18 +172782,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -172204,11 +172883,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 + repository: *864 sender: *4 required: - action @@ -172288,11 +172967,11 @@ x-webhooks: type: string enum: - moved - enterprise: *859 - installation: *860 - organization: *861 - project_column: *909 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project_column: *911 + repository: *864 sender: *4 required: - action @@ -172372,11 +173051,11 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172456,18 +173135,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project: *910 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 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: *901 - required: *902 + properties: *903 + required: *904 nullable: true sender: *4 required: @@ -172569,11 +173248,11 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172652,11 +173331,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - organization: *861 - project: *910 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + project: *912 + repository: *864 sender: *4 required: - action @@ -172737,9 +173416,9 @@ x-webhooks: type: string enum: - closed - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -172820,9 +173499,9 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -172903,9 +173582,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173022,9 +173701,9 @@ x-webhooks: type: string to: type: string - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173107,7 +173786,7 @@ x-webhooks: type: string enum: - archived - changes: &914 + changes: &916 type: object properties: archived_at: @@ -173121,9 +173800,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *860 - organization: *861 - projects_v2_item: &911 + installation: *862 + organization: *863 + projects_v2_item: &913 title: Projects v2 Item description: An item belonging to a project type: object @@ -173141,7 +173820,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *415 + content_type: *417 creator: *4 created_at: type: string @@ -173258,9 +173937,9 @@ x-webhooks: nullable: true to: type: string - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173342,9 +174021,9 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173425,9 +174104,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173533,7 +174212,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &912 + - &914 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173555,7 +174234,7 @@ x-webhooks: required: - id - name - - &913 + - &915 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173589,8 +174268,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *912 - - *913 + - *914 + - *915 required: - field_value - type: object @@ -173606,9 +174285,9 @@ x-webhooks: nullable: true required: - body - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173703,9 +174382,9 @@ x-webhooks: to: type: string nullable: true - installation: *860 - organization: *861 - projects_v2_item: *911 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173788,10 +174467,10 @@ x-webhooks: type: string enum: - restored - changes: *914 - installation: *860 - organization: *861 - projects_v2_item: *911 + changes: *916 + installation: *862 + organization: *863 + projects_v2_item: *913 sender: *4 required: - action @@ -173873,9 +174552,9 @@ x-webhooks: type: string enum: - reopened - installation: *860 - organization: *861 - projects_v2: *408 + installation: *862 + organization: *863 + projects_v2: *410 sender: *4 required: - action @@ -173956,14 +174635,14 @@ x-webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_status_update: &917 + installation: *862 + organization: *863 + projects_v2_status_update: &919 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *915 - required: *916 + properties: *917 + required: *918 sender: *4 required: - action @@ -174044,9 +174723,9 @@ x-webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_status_update: *917 + installation: *862 + organization: *863 + projects_v2_status_update: *919 sender: *4 required: - action @@ -174182,9 +174861,9 @@ x-webhooks: type: string format: date nullable: true - installation: *860 - organization: *861 - projects_v2_status_update: *917 + installation: *862 + organization: *863 + projects_v2_status_update: *919 sender: *4 required: - action @@ -174255,10 +174934,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - repository @@ -174335,13 +175014,13 @@ x-webhooks: type: string enum: - assigned - assignee: *888 - enterprise: *859 - installation: *860 - number: &918 + assignee: *890 + enterprise: *861 + installation: *862 + number: &920 description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -176646,7 +177325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -176728,11 +177407,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -179032,7 +179711,7 @@ x-webhooks: - draft reason: type: string - repository: *862 + repository: *864 sender: *4 required: - action @@ -179114,11 +179793,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -181418,7 +182097,7 @@ x-webhooks: - draft reason: type: string - repository: *862 + repository: *864 sender: *4 required: - action @@ -181500,13 +182179,13 @@ x-webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: &919 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: &921 allOf: - - *705 + - *708 - type: object properties: allow_auto_merge: @@ -181568,7 +182247,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *862 + repository: *864 sender: *4 required: - action @@ -181649,12 +182328,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -181734,11 +182413,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *859 - milestone: *687 - number: *918 - organization: *861 - pull_request: &920 + enterprise: *861 + milestone: *690 + number: *920 + organization: *863 + pull_request: &922 title: Pull Request type: object properties: @@ -184023,7 +184702,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -184102,11 +184781,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -186410,7 +187089,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *862 + repository: *864 sender: *4 required: - action @@ -186534,12 +187213,12 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -186619,11 +187298,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -188912,7 +189591,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -188992,11 +189671,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 - label: *882 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + label: *884 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -191300,7 +191979,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -191381,10 +192060,10 @@ x-webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -193686,7 +194365,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -193766,12 +194445,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *859 - milestone: *687 - number: *918 - organization: *861 - pull_request: *920 - repository: *862 + enterprise: *861 + milestone: *690 + number: *920 + organization: *863 + pull_request: *922 + repository: *864 sender: *4 required: - action @@ -193850,12 +194529,12 @@ x-webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -193936,12 +194615,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -194021,12 +194700,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - number: *918 - organization: *861 - pull_request: *919 - repository: *862 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 + pull_request: *921 + repository: *864 sender: *4 required: - action @@ -194392,9 +195071,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -196586,7 +197265,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -196666,7 +197345,7 @@ x-webhooks: type: string enum: - deleted - comment: &922 + comment: &924 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. @@ -196951,9 +197630,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -199133,7 +199812,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -199213,11 +199892,11 @@ x-webhooks: type: string enum: - edited - changes: *921 - comment: *922 - enterprise: *859 - installation: *860 - organization: *861 + changes: *923 + comment: *924 + enterprise: *861 + installation: *862 + organization: *863 pull_request: type: object properties: @@ -201400,7 +202079,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *864 sender: *4 required: - action @@ -201481,9 +202160,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -203678,7 +204357,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 review: description: The review that was affected. type: object @@ -203925,9 +204604,9 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -205981,8 +206660,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: &923 + repository: *864 + review: &925 description: The review that was affected. type: object properties: @@ -206215,12 +206894,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -208525,7 +209204,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_reviewer: title: User type: object @@ -208609,12 +209288,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -210926,7 +211605,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211118,12 +211797,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -213430,7 +214109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_reviewer: title: User type: object @@ -213515,12 +214194,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *861 + installation: *862 number: description: The pull request number. type: integer - organization: *861 + organization: *863 pull_request: title: Pull Request type: object @@ -215818,7 +216497,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215999,9 +216678,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -218198,8 +218877,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: *923 + repository: *864 + review: *925 sender: *4 required: - action @@ -218279,9 +218958,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -220373,7 +221052,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 sender: *4 thread: type: object @@ -220760,9 +221439,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 pull_request: title: Simple Pull Request type: object @@ -222840,7 +223519,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *864 sender: *4 thread: type: object @@ -223230,10 +223909,10 @@ x-webhooks: type: string before: type: string - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -225526,7 +226205,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -225608,11 +226287,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *924 - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + assignee: *926 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -227917,7 +228596,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -227996,11 +228675,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - label: *882 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + label: *884 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -230295,7 +230974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -230376,10 +231055,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 - number: *918 - organization: *861 + enterprise: *861 + installation: *862 + number: *920 + organization: *863 pull_request: title: Pull Request type: object @@ -232666,7 +233345,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *864 sender: *4 required: - action @@ -232866,7 +233545,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *859 + enterprise: *861 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232958,8 +233637,8 @@ x-webhooks: - url - author - committer - installation: *860 - organization: *861 + installation: *862 + organization: *863 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233545,9 +234224,9 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 registry_package: type: object properties: @@ -233993,7 +234672,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *905 + items: *907 summary: type: string tag_name: @@ -234047,7 +234726,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -234125,9 +234804,9 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 registry_package: type: object properties: @@ -234435,7 +235114,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *905 + items: *907 summary: type: string tag_name: @@ -234484,7 +235163,7 @@ x-webhooks: - owner - package_version - registry - repository: *862 + repository: *864 sender: *4 required: - action @@ -234561,10 +235240,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - release: &925 + enterprise: *861 + installation: *862 + organization: *863 + release: &927 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -234882,7 +235561,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *862 + repository: *864 sender: *4 required: - action @@ -234959,11 +235638,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -235080,11 +235759,11 @@ x-webhooks: type: boolean required: - to - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -235162,9 +235841,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -235486,7 +236165,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *862 + repository: *864 sender: *4 required: - action @@ -235562,10 +236241,10 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - release: &926 + enterprise: *861 + installation: *862 + organization: *863 + release: &928 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235884,7 +236563,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *862 + repository: *864 sender: *4 required: - action @@ -235960,11 +236639,11 @@ x-webhooks: type: string enum: - released - enterprise: *859 - installation: *860 - organization: *861 - release: *925 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *927 + repository: *864 sender: *4 required: - action @@ -236040,11 +236719,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *859 - installation: *860 - organization: *861 - release: *926 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + release: *928 + repository: *864 sender: *4 required: - action @@ -236120,11 +236799,11 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *757 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + repository_advisory: *760 sender: *4 required: - action @@ -236200,11 +236879,11 @@ x-webhooks: type: string enum: - reported - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *757 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + repository_advisory: *760 sender: *4 required: - action @@ -236280,10 +236959,10 @@ x-webhooks: type: string enum: - archived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236360,10 +237039,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236441,10 +237120,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236528,10 +237207,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236643,10 +237322,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236718,10 +237397,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 status: type: string @@ -236802,10 +237481,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236882,10 +237561,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -236979,10 +237658,10 @@ x-webhooks: - name required: - repository - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237062,10 +237741,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 sender: *4 required: @@ -237144,10 +237823,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 sender: *4 required: @@ -237226,10 +237905,10 @@ x-webhooks: type: string enum: - edited - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 repository_ruleset: *191 changes: type: object @@ -237291,16 +237970,16 @@ x-webhooks: properties: added: type: array - items: *725 + items: *728 deleted: type: array - items: *725 + items: *728 updated: type: array items: type: object properties: - rule: *725 + rule: *728 changes: type: object properties: @@ -237534,10 +238213,10 @@ x-webhooks: - from required: - owner - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237615,10 +238294,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -237696,7 +238375,7 @@ x-webhooks: type: string enum: - create - alert: &927 + alert: &929 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -237818,10 +238497,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238027,10 +238706,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238108,11 +238787,11 @@ x-webhooks: type: string enum: - reopen - alert: *927 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *929 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238311,10 +238990,10 @@ x-webhooks: enum: - fixed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238392,7 +239071,7 @@ x-webhooks: type: string enum: - assigned - alert: &928 + alert: &930 type: object properties: number: *128 @@ -238511,10 +239190,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238592,11 +239271,11 @@ x-webhooks: type: string enum: - created - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -238677,11 +239356,11 @@ x-webhooks: type: string enum: - created - alert: *928 - installation: *860 - location: *929 - organization: *861 - repository: *862 + alert: *930 + installation: *862 + location: *931 + organization: *863 + repository: *864 sender: *4 required: - location @@ -238919,11 +239598,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239001,11 +239680,11 @@ x-webhooks: type: string enum: - reopened - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239083,11 +239762,11 @@ x-webhooks: type: string enum: - resolved - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239165,12 +239844,12 @@ x-webhooks: type: string enum: - unassigned - alert: *928 + alert: *930 assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239248,11 +239927,11 @@ x-webhooks: type: string enum: - validated - alert: *928 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -239378,10 +240057,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *862 - enterprise: *859 - installation: *860 - organization: *861 + repository: *864 + enterprise: *861 + installation: *862 + organization: *863 sender: *4 required: - action @@ -239459,11 +240138,11 @@ x-webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: &930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + security_advisory: &932 description: The details of the security advisory, including summary, description, and severity. type: object @@ -239646,11 +240325,11 @@ x-webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: *930 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 + security_advisory: *932 sender: *4 required: - action @@ -239723,10 +240402,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -239910,11 +240589,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *425 - enterprise: *859 - installation: *860 - organization: *861 - repository: *467 + security_and_analysis: *427 + enterprise: *861 + installation: *862 + organization: *863 + repository: *470 sender: *4 required: - changes @@ -239992,12 +240671,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: &931 + sponsorship: &933 type: object properties: created_at: @@ -240298,12 +240977,12 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - sponsorship @@ -240391,12 +241070,12 @@ x-webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240473,17 +241152,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &932 + effective_date: &934 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: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - sponsorship @@ -240557,7 +241236,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &933 + changes: &935 type: object properties: tier: @@ -240601,13 +241280,13 @@ x-webhooks: - from required: - tier - effective_date: *932 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + effective_date: *934 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240684,13 +241363,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *933 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + changes: *935 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - sponsorship: *931 + sponsorship: *933 required: - action - changes @@ -240764,10 +241443,10 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240850,10 +241529,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241273,15 +241952,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *859 + enterprise: *861 id: description: The unique identifier of the status. type: integer - installation: *860 + installation: *862 name: type: string - organization: *861 - repository: *862 + organization: *863 + repository: *864 sender: *4 sha: description: The Commit SHA. @@ -241396,9 +242075,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241488,9 +242167,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241580,9 +242259,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241672,9 +242351,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *225 - installation: *860 - organization: *861 - repository: *862 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -241751,12 +242430,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - team: &934 + team: &936 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -241979,9 +242658,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -242439,7 +243118,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -242515,9 +243194,9 @@ x-webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -242975,7 +243654,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -243052,9 +243731,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -243512,7 +244191,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -243656,9 +244335,9 @@ x-webhooks: - from required: - permissions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -244116,7 +244795,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - changes @@ -244194,9 +244873,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *861 + installation: *862 + organization: *863 repository: title: Repository description: A git repository @@ -244654,7 +245333,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *934 + team: *936 required: - action - team @@ -244730,10 +245409,10 @@ x-webhooks: type: string enum: - started - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 required: - action @@ -244806,16 +245485,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *859 + enterprise: *861 inputs: type: object nullable: true additionalProperties: true - installation: *860 - organization: *861 + installation: *862 + organization: *863 ref: type: string - repository: *862 + repository: *864 sender: *4 workflow: type: string @@ -244897,10 +245576,10 @@ x-webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: allOf: @@ -245137,7 +245816,7 @@ x-webhooks: type: string required: - conclusion - deployment: *606 + deployment: *609 required: - action - repository @@ -245216,10 +245895,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: allOf: @@ -245479,7 +246158,7 @@ x-webhooks: required: - status - steps - deployment: *606 + deployment: *609 required: - action - repository @@ -245558,10 +246237,10 @@ x-webhooks: type: string enum: - queued - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: type: object @@ -245696,7 +246375,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *606 + deployment: *609 required: - action - repository @@ -245775,10 +246454,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 workflow_job: type: object @@ -245914,7 +246593,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *606 + deployment: *609 required: - action - repository @@ -245994,12 +246673,12 @@ x-webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Workflow Run type: object @@ -246998,12 +247677,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 workflow_run: title: Workflow Run type: object @@ -247987,12 +248666,12 @@ x-webhooks: type: string enum: - requested - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *861 + installation: *862 + organization: *863 + repository: *864 sender: *4 - workflow: *878 + workflow: *880 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 51d748f93f..dfc283dd13 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -7651,6 +7651,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -8012,6 +8022,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -9090,6 +9110,680 @@ } } }, + "/enterprises/{enterprise}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an enterprise's Copilot content exclusion path rules.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can view details about Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-enterprise-content-exclusion-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-enterprise-content-exclusion-details" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an enterprise.\nTo configure these settings, go to the enterprise's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise).\"\n\nEnterprise owners can set Copilot content exclusion rules for the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "413": { + "$ref": "#/components/responses/too_large" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents": { + "get": { + "summary": "Get custom agents for an enterprise", + "description": "Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise.\n\nIf no source repository has been configured, returns `null` for `custom_agents`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "custom_agents": { + "type": "array", + "description": "List of custom agents defined in the repository. Returns `null` if no source repository is configured.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The display name of the custom agent (derived from filename)." + }, + "file_path": { + "type": "string", + "description": "The path to the agent definition file." + }, + "url": { + "type": "string", + "description": "The URL to view the agent definition file." + } + } + }, + "nullable": true + } + } + }, + "examples": { + "with_agents": { + "summary": "Response with custom agents", + "value": { + "custom_agents": [ + { + "name": "Security Reviewer", + "file_path": "agents/security_reviewer.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md" + }, + { + "name": "Code Documenter", + "file_path": "agents/code_documenter.md", + "url": "https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md" + } + ] + } + }, + "no_source": { + "summary": "Response when no source repository configured", + "value": { + "custom_agents": null + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "description": "Not found or source repository not found", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "repo_not_found": { + "summary": "Configured source repository not found", + "value": { + "message": "Configured source repository not found" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + } + }, + "/enterprises/{enterprise}/copilot/custom-agents/source": { + "get": { + "summary": "Get the source organization for custom agents in an enterprise", + "description": "Gets the organization and repository configured as the source for custom agent definitions in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" and that org must have a repo named\n`.github-private` containing agent definitions in `/agents/*.md`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization", + "repository" + ], + "properties": { + "organization": { + "nullable": true, + "type": "object", + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "nullable": true, + "type": "object", + "required": [ + "id", + "name", + "full_name" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the repository" + }, + "name": { + "type": "string", + "description": "Name of the repository" + }, + "full_name": { + "type": "string", + "description": "Full name of the repository including owner" + } + } + } + } + }, + "examples": { + "default": { + "value": { + "organization": { + "id": 1, + "login": "octocat-org" + }, + "repository": { + "id": 123, + "name": ".github-private", + "full_name": "octocat-org/.github-private" + } + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + }, + "put": { + "summary": "Set the source organization for custom agents in an enterprise", + "description": "Sets an organization as the source for custom agent definitions in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The source organization configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_id" + ], + "properties": { + "organization_id": { + "type": "integer", + "description": "The ID of the organization to use as the custom agents source." + }, + "create_ruleset": { + "type": "boolean", + "default": true, + "description": "Whether to create a ruleset to protect agent definition files. Defaults to true." + } + } + }, + "examples": { + "default": { + "summary": "Set source organization with default ruleset creation", + "value": { + "organization_id": 123 + } + }, + "without_ruleset": { + "summary": "Set source organization without creating a ruleset", + "value": { + "organization_id": 123, + "create_ruleset": false + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organization": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "login": { + "type": "string", + "description": "The login name of the organization." + }, + "avatar_url": { + "type": "string", + "description": "The avatar URL of the organization." + } + } + }, + "repository": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the .github-private repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository (owner/name)." + } + } + }, + "ruleset": { + "type": "object", + "description": "The created or existing ruleset (if create_ruleset was true).", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the ruleset." + }, + "name": { + "type": "string", + "description": "The name of the ruleset." + }, + "enforcement": { + "type": "string", + "description": "The enforcement level of the ruleset." + } + } + } + } + }, + "examples": { + "with_ruleset": { + "summary": "Response with ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + }, + "ruleset": { + "id": 10783894, + "name": "Enterprise Custom Agent Configuration", + "enforcement": "enabled" + } + } + }, + "without_ruleset": { + "summary": "Response without ruleset", + "value": { + "organization": { + "id": 123, + "login": "my-org", + "avatar_url": "https://avatars.githubusercontent.com/u/123" + }, + "repository": { + "id": 456, + "name": ".github-private", + "full_name": "my-org/.github-private" + } + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "missing_org_id": { + "summary": "Missing organization_id", + "value": { + "message": "organization_id is required" + } + }, + "org_not_found": { + "summary": "Organization not in enterprise", + "value": { + "message": "Organization not found in this enterprise" + } + }, + "missing_repo": { + "summary": "Missing .github-private repository", + "value": { + "message": "Organization must have a .github-private repository" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + } + }, + "delete": { + "summary": "Delete the custom agents source for an enterprise", + "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents for the enterprise by removing\nthe reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/delete-copilot-custom-agents-source-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-custom-agents" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "204": { + "description": "No Content - The custom agents source was successfully removed." + }, + "404": { + "description": "Not found - Enterprise not found, feature not enabled, or no custom agents source is configured.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "403": { + "description": "Forbidden - The user does not have enterprise admin access.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + } + } + }, "/enterprises/{enterprise}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise", @@ -9421,6 +10115,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -23700,20 +24397,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -23835,7 +24534,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -23851,19 +24550,19 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "deployments": { "type": "array", "description": "The list of deployments to record.", + "maxItems": 100, "items": { "type": "object", - "maxLength": 100, "properties": { "name": { "type": "string", @@ -23898,7 +24597,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -26236,6 +26935,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -26720,6 +27428,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -28494,6 +29211,187 @@ } } }, + "/orgs/{org}/copilot/content_exclusion": { + "get": { + "summary": "Get Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets information about an organization's Copilot content exclusion path rules.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can view details about Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules.\n> * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + }, + "put": { + "summary": "Set Copilot content exclusion rules for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets Copilot content exclusion path rules for an organization.\nTo configure these settings, go to the organization's settings on GitHub.\nFor more information, see \"[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization).\"\n\nOrganization owners can set Copilot content exclusion rules for the organization.\n\nOAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint.\n\n> [!CAUTION]\n> * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted.\n> * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-copilot-content-exclusion-for-organization", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "description": "The content exclusion rules to set", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "description": "The path to the file that will be excluded." + }, + { + "type": "object", + "properties": { + "ifAnyMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifAnyMatch" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "ifNoneMatch": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "ifNoneMatch" + ], + "additionalProperties": false + } + ] + } + } + }, + "examples": { + "default": { + "summary": "Example of content exclusion paths", + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "message": "Content exclusion rules updated successfully." + } + } + } + } + } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "413": { + "$ref": "#/components/responses/too_large" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": null, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-content-exclusion-management" + } + } + }, "/orgs/{org}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an organization", @@ -29443,6 +30341,9 @@ { "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, @@ -29708,7 +30609,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -38820,183 +39721,334 @@ } } }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "examples": { - "default": { - "$ref": "#/components/examples/org-ruleset" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - } - } - }, - "/orgs/{org}/rulesets/rule-suites": { - "get": { - "summary": "List organization rule suites", - "description": "Lists suites of rule evaluations at the organization level.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", - "tags": [ - "repos" - ], - "operationId": "repos/get-org-rule-suites", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/ref-in-query" - }, - { - "$ref": "#/components/parameters/repository-name-in-query" - }, - { - "$ref": "#/components/parameters/time-period" - }, - { - "$ref": "#/components/parameters/actor-name-in-query" - }, - { - "$ref": "#/components/parameters/rule-suite-result" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/rule-suites" - }, - "examples": { - "default": { - "$ref": "#/components/examples/rule-suite-items" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "rule-suites" - } - } - }, - "/orgs/{org}/rulesets/rule-suites/{rule_suite_id}": { - "get": { - "summary": "Get an organization rule suite", - "description": "Gets information about a suite of rule evaluations from within an organization.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", - "tags": [ - "repos" - ], - "operationId": "repos/get-org-rule-suite", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/rule-suite-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/rule-suite" - }, - "examples": { - "default": { - "$ref": "#/components/examples/rule-suite" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "rule-suites" - } - } - }, - "/orgs/{org}/rulesets/{ruleset_id}": { - "get": { - "summary": "Get an organization repository ruleset", - "description": "Get a repository ruleset for an organization.\n\n**Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user\nmaking the API request has write access to the ruleset.", - "tags": [ - "repos" - ], - "operationId": "repos/get-org-ruleset", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-an-organization-repository-ruleset" - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "rules" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "ruleset_id", - "description": "The ID of the ruleset.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/repository-ruleset" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, + "/orgs/{org}/rulesets/rule-suites": { + "get": { + "summary": "List organization rule suites", + "description": "Lists suites of rule evaluations at the organization level.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", + "tags": [ + "repos" + ], + "operationId": "repos/get-org-rule-suites", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/ref-in-query" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/actor-name-in-query" + }, + { + "$ref": "#/components/parameters/rule-suite-result" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/rule-suites" + }, + "examples": { + "default": { + "$ref": "#/components/examples/rule-suite-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rule-suites" + } + } + }, + "/orgs/{org}/rulesets/rule-suites/{rule_suite_id}": { + "get": { + "summary": "Get an organization rule suite", + "description": "Gets information about a suite of rule evaluations from within an organization.\nFor more information, see \"[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets).\"", + "tags": [ + "repos" + ], + "operationId": "repos/get-org-rule-suite", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/rule-suite-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/rule-suite" + }, + "examples": { + "default": { + "$ref": "#/components/examples/rule-suite" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rule-suites" + } + } + }, + "/orgs/{org}/rulesets/{ruleset_id}": { + "get": { + "summary": "Get an organization repository ruleset", + "description": "Get a repository ruleset for an organization.\n\n**Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user\nmaking the API request has write access to the ruleset.", + "tags": [ + "repos" + ], + "operationId": "repos/get-org-ruleset", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-an-organization-repository-ruleset" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/repository-ruleset" + }, + "examples": { + "default": { + "$ref": "#/components/examples/org-ruleset" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + }, + "put": { + "summary": "Update an organization repository ruleset", + "description": "Update a ruleset for an organization.", + "tags": [ + "repos" + ], + "operationId": "repos/update-org-ruleset", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#update-an-organization-repository-ruleset" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "rules" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "ruleset_id", + "description": "The ID of the ruleset.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "description": "Request body", + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the ruleset." + }, + "target": { + "type": "string", + "description": "The target of the ruleset", + "enum": [ + "branch", + "tag", + "push", + "repository" + ] + }, + "enforcement": { + "$ref": "#/components/schemas/repository-rule-enforcement" + }, + "bypass_actors": { + "type": "array", + "description": "The actors that can bypass the rules in this ruleset", + "items": { + "$ref": "#/components/schemas/repository-ruleset-bypass-actor" + } + }, + "conditions": { + "$ref": "#/components/schemas/org-ruleset-conditions" + }, + "rules": { + "description": "An array of rules within the ruleset.", + "type": "array", + "items": { + "$ref": "#/components/schemas/org-rules" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "super cool ruleset", + "target": "branch", + "enforcement": "active", + "bypass_actors": [ + { + "actor_id": 234, + "actor_type": "Team", + "bypass_mode": "always" + } + ], + "conditions": { + "ref_name": { + "include": [ + "refs/heads/main", + "refs/heads/master" + ], + "exclude": [ + "refs/heads/dev*" + ] + }, + "repository_name": { + "include": [ + "important_repository", + "another_important_repository" + ], + "exclude": [ + "unimportant_repository" + ], + "protected": true + } + }, + "rules": [ + { + "type": "commit_author_email_pattern", + "parameters": { + "operator": "contains", + "pattern": "github" + } + } + ] + } + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -39016,153 +40068,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "500": { - "$ref": "#/components/responses/internal_error" - } - } - }, - "put": { - "summary": "Update an organization repository ruleset", - "description": "Update a ruleset for an organization.", - "tags": [ - "repos" - ], - "operationId": "repos/update-org-ruleset", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#update-an-organization-repository-ruleset" - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "rules" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "ruleset_id", - "description": "The ID of the ruleset.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "description": "Request body", - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the ruleset." - }, - "target": { - "type": "string", - "description": "The target of the ruleset", - "enum": [ - "branch", - "tag", - "push", - "repository" - ] - }, - "enforcement": { - "$ref": "#/components/schemas/repository-rule-enforcement" - }, - "bypass_actors": { - "type": "array", - "description": "The actors that can bypass the rules in this ruleset", - "items": { - "$ref": "#/components/schemas/repository-ruleset-bypass-actor" - } - }, - "conditions": { - "$ref": "#/components/schemas/org-ruleset-conditions" - }, - "rules": { - "description": "An array of rules within the ruleset.", - "type": "array", - "items": { - "$ref": "#/components/schemas/org-rules" - } - } - } - }, - "examples": { - "default": { - "value": { - "name": "super cool ruleset", - "target": "branch", - "enforcement": "active", - "bypass_actors": [ - { - "actor_id": 234, - "actor_type": "Team", - "bypass_mode": "always" - } - ], - "conditions": { - "ref_name": { - "include": [ - "refs/heads/main", - "refs/heads/master" - ], - "exclude": [ - "refs/heads/dev*" - ] - }, - "repository_name": { - "include": [ - "important_repository", - "another_important_repository" - ], - "exclude": [ - "unimportant_repository" - ], - "protected": true - } - }, - "rules": [ - { - "type": "commit_author_email_pattern", - "parameters": { - "operator": "contains", - "pattern": "github" - } - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "examples": { - "default": { - "$ref": "#/components/examples/org-ruleset" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" + "422": { + "$ref": "#/components/responses/validation_failed" }, "500": { "$ref": "#/components/responses/internal_error" @@ -41118,6 +42025,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41163,6 +42073,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41233,6 +42146,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41264,6 +42180,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41323,6 +42242,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41825,6 +42747,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41920,6 +42845,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -56772,6 +57700,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -56781,10 +57736,10 @@ "$ref": "#/components/schemas/content-tree" }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-file" }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" } } @@ -57295,6 +58250,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -57467,10 +58425,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -74325,6 +75299,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -74658,6 +75635,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -76696,186 +77676,6 @@ } } }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tag-protection" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection-items" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/tag-protection" - }, - "examples": { - "default": { - "$ref": "#/components/examples/tag-protection" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/tag-protection-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/tarball/{ref}": { "get": { "summary": "Download a repository archive (tar)", @@ -78475,7 +79275,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n>{\n> \"schemas\": [\n> \"urn:ietf:params:scim:schemas:core:2.0:User\"\n> ],\n> \"externalId\": \"E012345\",\n> \"active\": false,\n> \"userName\": \"E012345\",\n> \"name\": {\n> \"familyName\": \"Octocat\",\n> \"givenName\": \"Mona\",\n> \"middleName\": \"Lisa\"\n> },\n> \"displayName\": \"Mona Lisa\",\n> \"emails\": [\n> {\n> \"value\": \"mlisa@example.com\",\n> \"type\": \"work\",\n> \"primary\": true\n> }\n> ],\n> \"roles\": [\n> {\n> \"value\": \"User\"\n> }\n> ]\n>}\n> ```", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -78554,7 +79354,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated.\n>\n> ```\n> {\n> \"schemas\": [\n> \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n> ],\n> \"Operations\": [\n> {\n> \"op\": \"replace\",\n> \"value\": {\n> \"active\": false\n> }\n> }\n> ]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -93977,99 +94777,99 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-delete" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": [ - "repository", - "organization", - "app" - ] - } - } - }, - "dependabot-alert-assignees-changed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", - "description": "The assignees for a Dependabot alert were updated.", - "operationId": "dependabot-alert/assignees-changed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { - "type": "string" - } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { - "type": "string" - } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { - "type": "string" - } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { + "$ref": "#/components/schemas/webhook-delete" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "delete", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "dependabot-alert-assignees-changed": { + "post": { + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.", + "description": "The assignees for a Dependabot alert were updated.", + "operationId": "dependabot-alert/assignees-changed", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#dependabot_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "dependabot_alert", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-dependabot-alert-assignees-changed" } } @@ -94120,7 +94920,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94213,7 +95013,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94306,7 +95106,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94399,7 +95199,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94492,7 +95292,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94585,7 +95385,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94678,7 +95478,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -124456,6 +125256,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -125152,6 +125961,18 @@ ], "additionalProperties": false }, + "copilot-enterprise-content-exclusion-details": { + "title": "Copilot Enterprise Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an enterprise.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, "copilot-ide-code-completions": { "type": "object", "description": "Usage metrics for Copilot editor code completions in the IDE.", @@ -135703,6 +136524,18 @@ ], "additionalProperties": true }, + "copilot-organization-content-exclusion-details": { + "title": "Copilot Organization Content Exclusion Details", + "description": "List all Copilot Content Exclusion rules for an organization.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "The path to the file that will be excluded." + } + } + }, "credential-authorization": { "title": "Credential Authorization", "description": "Credential Authorization", @@ -141154,6 +141987,80 @@ } } }, + "rule-suite-pull-request": { + "title": "Pull request rule suite metadata", + "description": "Metadata for a pull request rule evaluation result.", + "type": "object", + "properties": { + "pull_request": { + "type": "object", + "description": "The pull request associated with the rule evaluation.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the pull request." + }, + "number": { + "type": "integer", + "description": "The number of the pull request." + }, + "user": { + "type": "object", + "description": "The user who created the pull request.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "reviews": { + "type": "array", + "description": "The reviews associated with the pull request.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the review." + }, + "user": { + "type": "object", + "description": "The user who submitted the review.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "state": { + "type": "string", + "description": "The state of the review." + } + } + } + } + } + } + } + }, "rule-suite": { "title": "Rule Suite", "description": "Response", @@ -155820,36 +156727,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -308884,6 +309761,16 @@ ] } }, + "copilot-enterprise-content-exclusion-details": { + "value": { + "git@github.com:*/copilot": [ + "/__tests__/**" + ], + "octo-org/octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "copilot-usage-metrics-for-day": { "value": [ { @@ -309197,6 +310084,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -309382,6 +310291,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -314018,6 +314928,13 @@ "plan_type": "business" } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "credential-authorization-items": { "value": [ { @@ -326048,7 +326965,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -326166,7 +327105,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -326293,7 +327233,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } }, "dependabot-alert-dismissed": { @@ -326427,7 +327389,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } }, "dependabot-secret-paginated": { @@ -333363,19 +334326,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -339801,6 +340751,14 @@ ] } }, + "dependabot-alert-comma-separated-assignees": { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -341477,15 +342435,6 @@ "type": "integer" } }, - "tag-protection-id": { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, "per": { "name": "per", "description": "The time frame to display results for.", @@ -341892,6 +342841,16 @@ "no_content": { "description": "A header with no content is returned." }, + "too_large": { + "description": "Payload Too Large", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "usage_metrics_api_disabled": { "description": "Copilot Usage Merics API setting is disabled at the organization or enterprise level.", "content": { @@ -342180,6 +343139,9 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, + "enterprise_team_unsupported": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." + }, "temporary_redirect": { "description": "Temporary Redirect", "content": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index e7f1b7aa57..c206a9c895 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5364,6 +5364,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -5645,6 +5653,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -6489,6 +6505,519 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-user-management + "/enterprises/{enterprise}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an enterprise's Copilot content exclusion path rules. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can view details about Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `read:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-enterprise-content-exclusion-details" + examples: + default: + "$ref": "#/components/examples/copilot-enterprise-content-exclusion-details" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an enterprise. + To configure these settings, go to the enterprise's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-enterprise)." + + Enterprise owners can set Copilot content exclusion rules for the enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `admin:enterprise` or `copilot` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '413': + "$ref": "#/components/responses/too_large" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + "/enterprises/{enterprise}/copilot/custom-agents": + get: + summary: Get custom agents for an enterprise + description: |- + Gets the list of all custom agents defined in the /agents/*.md files in the .github-private repository for the enterprise. + + If no source repository has been configured, returns `null` for `custom_agents`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-custom-agents-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + custom_agents: + type: array + description: List of custom agents defined in the repository. + Returns `null` if no source repository is configured. + items: + type: object + properties: + name: + type: string + description: The display name of the custom agent (derived + from filename). + file_path: + type: string + description: The path to the agent definition file. + url: + type: string + description: The URL to view the agent definition file. + nullable: true + examples: + with_agents: + summary: Response with custom agents + value: + custom_agents: + - name: Security Reviewer + file_path: agents/security_reviewer.md + url: https://github.com/my-org/.github-private/blob/main/agents/security_reviewer.md + - name: Code Documenter + file_path: agents/code_documenter.md + url: https://github.com/my-org/.github-private/blob/main/agents/code_documenter.md + no_source: + summary: Response when no source repository configured + value: + custom_agents: + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + description: Not found or source repository not found + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + repo_not_found: + summary: Configured source repository not found + value: + message: Configured source repository not found + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + "/enterprises/{enterprise}/copilot/custom-agents/source": + get: + summary: Get the source organization for custom agents in an enterprise + description: | + Gets the organization and repository configured as the source for custom agent definitions in an enterprise. + + Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. + An enterprise admin configures one organization as the "source" and that org must have a repo named + `.github-private` containing agent definitions in `/agents/*.md`. + + Enterprise owners with read access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/get-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#get-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - organization + - repository + properties: + organization: + nullable: true + type: object + required: + - id + - login + properties: + id: + type: integer + description: Unique identifier of the organization + login: + type: string + description: Login of the organization + repository: + nullable: true + type: object + required: + - id + - name + - full_name + properties: + id: + type: integer + description: Unique identifier of the repository + name: + type: string + description: Name of the repository + full_name: + type: string + description: Full name of the repository including owner + examples: + default: + value: + organization: + id: 1 + login: octocat-org + repository: + id: 123 + name: ".github-private" + full_name: octocat-org/.github-private + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + put: + summary: Set the source organization for custom agents in an enterprise + description: |- + Sets an organization as the source for custom agent definitions in the enterprise. + The organization must have a `.github-private` repository containing agent definitions. + + By default, this endpoint also creates an enterprise-level ruleset to protect + agent definition files (agents/*.md and .github/agents/*.md). You can opt out + of ruleset creation by setting `create_ruleset` to `false`. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/set-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The source organization configuration + required: true + content: + application/json: + schema: + type: object + required: + - organization_id + properties: + organization_id: + type: integer + description: The ID of the organization to use as the custom agents + source. + create_ruleset: + type: boolean + default: true + description: Whether to create a ruleset to protect agent definition + files. Defaults to true. + examples: + default: + summary: Set source organization with default ruleset creation + value: + organization_id: 123 + without_ruleset: + summary: Set source organization without creating a ruleset + value: + organization_id: 123 + create_ruleset: false + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + organization: + type: object + properties: + id: + type: integer + description: The ID of the organization. + login: + type: string + description: The login name of the organization. + avatar_url: + type: string + description: The avatar URL of the organization. + repository: + type: object + properties: + id: + type: integer + description: The ID of the .github-private repository. + name: + type: string + description: The name of the repository. + full_name: + type: string + description: The full name of the repository (owner/name). + ruleset: + type: object + description: The created or existing ruleset (if create_ruleset + was true). + properties: + id: + type: integer + description: The ID of the ruleset. + name: + type: string + description: The name of the ruleset. + enforcement: + type: string + description: The enforcement level of the ruleset. + examples: + with_ruleset: + summary: Response with ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + ruleset: + id: 10783894 + name: Enterprise Custom Agent Configuration + enforcement: enabled + without_ruleset: + summary: Response without ruleset + value: + organization: + id: 123 + login: my-org + avatar_url: https://avatars.githubusercontent.com/u/123 + repository: + id: 456 + name: ".github-private" + full_name: my-org/.github-private + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Validation failed + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + missing_org_id: + summary: Missing organization_id + value: + message: organization_id is required + org_not_found: + summary: Organization not in enterprise + value: + message: Organization not found in this enterprise + missing_repo: + summary: Missing .github-private repository + value: + message: Organization must have a .github-private repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + delete: + summary: Delete the custom agents source for an enterprise + description: |- + Removes the custom agents source configuration for the enterprise. + This effectively disables custom agents for the enterprise by removing + the reference to the source organization's `.github-private` repository. + + Note: This does not delete the `.github-private` repository or any agent + definition files. It only removes the association between the enterprise + and the source repository. + + Enterprise owners with write access to AI Controls can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - copilot + operationId: copilot/delete-copilot-custom-agents-source-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#delete-the-custom-agents-source-for-an-enterprise + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: copilot + subcategory: copilot-custom-agents + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '204': + description: No Content - The custom agents source was successfully removed. + '404': + description: Not found - Enterprise not found, feature not enabled, or no + custom agents source is configured. + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '403': + description: Forbidden - The user does not have enterprise admin access. + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" "/enterprises/{enterprise}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise @@ -6747,6 +7276,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -17063,20 +17593,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -17172,7 +17704,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -17185,17 +17717,17 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 deployments: type: array description: The list of deployments to record. + maxItems: 100 items: type: object - maxLength: 100 properties: name: type: string @@ -17235,7 +17767,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -18924,6 +19456,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -19301,6 +19840,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -20647,6 +21193,148 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-user-management + "/orgs/{org}/copilot/content_exclusion": + get: + summary: Get Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets information about an organization's Copilot content exclusion path rules. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can view details about Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need either the `copilot` or `read:org` scopes to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. This endpoint will not return any comments in the existing rules. + > * At this time, the API does not support duplicate keys. If your content exclusion configuration contains duplicate keys, the API will return only the last occurrence of that key. For example, if duplicate entries are present, only the final value will be included in the response. + tags: + - copilot + operationId: copilot/copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: OK + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-organization-content-exclusion-details" + examples: + default: + "$ref": "#/components/examples/copilot-organization-content-exclusion-details" + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management + put: + summary: Set Copilot content exclusion rules for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Sets Copilot content exclusion path rules for an organization. + To configure these settings, go to the organization's settings on GitHub. + For more information, see "[Excluding content from GitHub Copilot](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot#configuring-content-exclusions-for-your-organization)." + + Organization owners can set Copilot content exclusion rules for the organization. + + OAuth app tokens and personal access tokens (classic) need the `copilot` scope to use this endpoint. + + > [!CAUTION] + > * At this time, the API does not support comments. When using this endpoint, any existing comments in your rules will be deleted. + > * At this time, the API does not support duplicate keys. If you submit content exclusions through the API with duplicate keys, only the last occurrence will be saved. Earlier entries with the same key will be overwritten. + tags: + - copilot + operationId: copilot/set-copilot-content-exclusion-for-organization + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + description: The content exclusion rules to set + required: true + content: + application/json: + schema: + type: object + additionalProperties: + type: array + items: + anyOf: + - type: string + description: The path to the file that will be excluded. + - type: object + properties: + ifAnyMatch: + type: array + items: + type: string + required: + - ifAnyMatch + additionalProperties: false + - type: object + properties: + ifNoneMatch: + type: array + items: + type: string + required: + - ifNoneMatch + additionalProperties: false + examples: + default: + summary: Example of content exclusion paths + value: + octo-repo: + - "/src/some-dir/kernel.rs" + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + message: + type: string + examples: + default: + value: + message: Content exclusion rules updated successfully. + '500': + "$ref": "#/components/responses/internal_error" + '401': + "$ref": "#/components/responses/requires_authentication" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '413': + "$ref": "#/components/responses/too_large" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: + enabledForGitHubApps: true + category: copilot + subcategory: copilot-content-exclusion-management "/orgs/{org}/copilot/metrics": get: summary: Get Copilot metrics for an organization @@ -21382,6 +22070,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" @@ -21575,9 +22264,7 @@ paths: an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -28088,6 +28775,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/orgs/{org}/rulesets/rule-suites": @@ -28301,6 +28990,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -29705,6 +30396,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29736,6 +30429,8 @@ paths: examples: default: "$ref": "#/components/examples/external-groups" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29783,6 +30478,8 @@ paths: examples: default: "$ref": "#/components/examples/external-group" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29806,6 +30503,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -29845,6 +30544,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30228,6 +30929,8 @@ paths: examples: default: "$ref": "#/components/examples/group-mapping-3" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -30298,6 +31001,8 @@ paths: examples: default: "$ref": "#/components/examples/group-mapping" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41277,6 +41982,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -41285,9 +42007,9 @@ paths: schema: "$ref": "#/components/schemas/content-tree" examples: - response-if-content-is-a-file: + response-if-content-is-a-file-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" application/json: schema: @@ -41638,6 +42360,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -41756,8 +42479,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -53898,6 +54632,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/rulesets/rule-suites": @@ -54114,6 +54850,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -55504,139 +56242,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection-items" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/tag-protection-id" - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -56734,7 +57339,36 @@ paths: You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > + > ``` + >{ + > "schemas": [ + > "urn:ietf:params:scim:schemas:core:2.0:User" + > ], + > "externalId": "E012345", + > "active": false, + > "userName": "E012345", + > "name": { + > "familyName": "Octocat", + > "givenName": "Mona", + > "middleName": "Lisa" + > }, + > "displayName": "Mona Lisa", + > "emails": [ + > { + > "value": "mlisa@example.com", + > "type": "work", + > "primary": true + > } + > ], + > "roles": [ + > { + > "value": "User" + > } + > ] + >} + > ``` operationId: enterprise-admin/set-information-for-provisioned-enterprise-user tags: - enterprise-admin @@ -56793,15 +57427,21 @@ paths: > Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `"path": "emails[type eq \"work\"]"` will be ineffective. > [!WARNING] - > Setting `active: false` will suspend a user, and their handle and email will be obfuscated. + > Setting `active: false` will suspend a user. As a result, their handle and primary email address will be obfuscated. + > > ``` > { - > "Operations":[{ - > "op":"replace", - > "value":{ - > "active":false + > "schemas": [ + > "urn:ietf:params:scim:api:messages:2.0:PatchOp" + > ], + > "Operations": [ + > { + > "op": "replace", + > "value": { + > "active": false + > } > } - > }] + > ] > } > ``` operationId: enterprise-admin/update-attribute-for-enterprise-user @@ -67910,7 +68550,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -67977,7 +68617,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68045,7 +68685,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68113,7 +68753,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68179,7 +68819,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68245,7 +68885,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68312,7 +68952,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -68378,7 +69018,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -90215,6 +90855,13 @@ components: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -90775,6 +91422,15 @@ components: required: - created_at additionalProperties: false + copilot-enterprise-content-exclusion-details: + title: Copilot Enterprise Content Exclusion Details + description: List all Copilot Content Exclusion rules for an enterprise. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. copilot-ide-code-completions: type: object description: Usage metrics for Copilot editor code completions in the IDE. @@ -98985,6 +99641,15 @@ components: - public_code_suggestions - seat_management_setting additionalProperties: true + copilot-organization-content-exclusion-details: + title: Copilot Organization Content Exclusion Details + description: List all Copilot Content Exclusion rules for an organization. + type: object + additionalProperties: + type: array + items: + type: string + description: The path to the file that will be excluded. credential-authorization: title: Credential Authorization description: Credential Authorization @@ -103298,6 +103963,59 @@ components: description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + rule-suite-pull-request: + title: Pull request rule suite metadata + description: Metadata for a pull request rule evaluation result. + type: object + properties: + pull_request: + type: object + description: The pull request associated with the rule evaluation. + properties: + id: + type: integer + description: The unique identifier of the pull request. + number: + type: integer + description: The number of the pull request. + user: + type: object + description: The user who created the pull request. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + reviews: + type: array + description: The reviews associated with the pull request. + items: + type: object + properties: + id: + type: integer + description: The unique identifier of the review. + user: + type: object + description: The user who submitted the review. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + state: + type: string + description: The state of the review. rule-suite: title: Rule Suite description: Response @@ -114460,28 +115178,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -230497,6 +231193,12 @@ components: received_events_url: https://api.github.com/users/octokitten/received_events type: User site_admin: false + copilot-enterprise-content-exclusion-details: + value: + git@github.com:*/copilot: + - "/__tests__/**" + octo-org/octo-repo: + - "/src/some-dir/kernel.rs" copilot-usage-metrics-for-day: value: - date: '2024-06-24' @@ -230711,6 +231413,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -230858,6 +231579,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -234798,6 +235520,10 @@ components: cli: enabled public_code_suggestions: block plan_type: business + copilot-organization-content-exclusion-details: + value: + octo-repo: + - "/src/some-dir/kernel.rs" credential-authorization-items: value: - login: octocat @@ -245030,6 +245756,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octo{"code":"deadline_exceeded","msg":"operation timed out"}