diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 248bfd79f3..4c84f57364 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2630,6 +2630,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", @@ -2991,6 +3001,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", @@ -3400,6 +3420,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13667,20 +13690,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", @@ -13804,7 +13829,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13820,19 +13845,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", @@ -13869,7 +13894,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", @@ -16040,6 +16065,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", @@ -16524,6 +16558,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", @@ -18298,6 +18341,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", @@ -18425,6 +18649,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" }, @@ -18690,7 +18917,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": [ { @@ -27148,6 +27375,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27473,6 +27703,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29311,6 +29544,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29370,6 +29606,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44279,6 +44518,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", @@ -44288,10 +44554,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" } } @@ -44806,6 +45072,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44978,10 +45247,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 }, @@ -60964,6 +61249,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -61297,6 +61585,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63339,186 +63630,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)", @@ -78589,7 +78700,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78682,7 +78793,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78775,7 +78886,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78868,7 +78979,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78961,7 +79072,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79054,7 +79165,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79147,7 +79258,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79240,7 +79351,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -104917,6 +105028,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", @@ -114162,6 +114282,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", @@ -120178,6 +120310,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", @@ -137680,46 +137886,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "v1.*" - ] - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -293795,6 +293961,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=", @@ -293980,6 +294168,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -298398,6 +298587,13 @@ ] } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "copilot-usage-metrics-for-day": { "value": [ { @@ -310406,7 +310602,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, @@ -310524,7 +310742,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -310651,7 +310870,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": { @@ -310785,7 +311026,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": { @@ -317631,19 +317873,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -323531,6 +323760,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", @@ -325107,15 +325344,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.", @@ -325601,6 +325829,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": { @@ -325614,6 +325852,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index f09f3ff749..b84ac89694 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -1866,6 +1866,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 @@ -2147,6 +2155,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 @@ -2445,6 +2461,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" @@ -9858,20 +9875,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. @@ -9968,7 +9987,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9981,17 +10000,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 @@ -10032,7 +10051,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: |- @@ -11610,6 +11629,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 @@ -11987,6 +12013,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 @@ -13333,6 +13366,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 @@ -13432,6 +13607,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" @@ -13625,9 +13801,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 @@ -19642,6 +19816,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": @@ -19855,6 +20031,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: @@ -21178,6 +21356,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21217,6 +21397,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32261,6 +32443,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 @@ -32269,9 +32468,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: @@ -32624,6 +32823,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" @@ -32742,8 +32942,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: @@ -44257,6 +44468,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": @@ -44473,6 +44686,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: @@ -45865,139 +46080,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) @@ -56760,7 +56842,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56827,7 +56909,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56895,7 +56977,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56963,7 +57045,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57029,7 +57111,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57095,7 +57177,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57162,7 +57244,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57228,7 +57310,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75759,6 +75841,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 @@ -82643,6 +82732,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 @@ -87122,6 +87220,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 @@ -99591,33 +99742,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -216209,6 +216333,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= @@ -216356,6 +216499,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -220143,6 +220287,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' @@ -230402,6 +230550,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: @@ -230484,6 +230651,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -230571,6 +230739,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 @@ -230670,6 +230857,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 @@ -236556,13 +236744,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: @@ -241773,6 +241954,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 @@ -243122,13 +243312,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. @@ -243459,6 +243642,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. @@ -243469,6 +243658,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 248bfd79f3..4c84f57364 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2630,6 +2630,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", @@ -2991,6 +3001,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", @@ -3400,6 +3420,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13667,20 +13690,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", @@ -13804,7 +13829,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13820,19 +13845,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", @@ -13869,7 +13894,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", @@ -16040,6 +16065,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", @@ -16524,6 +16558,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", @@ -18298,6 +18341,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", @@ -18425,6 +18649,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" }, @@ -18690,7 +18917,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": [ { @@ -27148,6 +27375,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27473,6 +27703,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29311,6 +29544,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29370,6 +29606,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44279,6 +44518,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", @@ -44288,10 +44554,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" } } @@ -44806,6 +45072,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44978,10 +45247,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 }, @@ -60964,6 +61249,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -61297,6 +61585,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63339,186 +63630,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)", @@ -78589,7 +78700,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78682,7 +78793,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78775,7 +78886,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78868,7 +78979,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78961,7 +79072,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79054,7 +79165,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79147,7 +79258,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79240,7 +79351,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -104917,6 +105028,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", @@ -114162,6 +114282,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", @@ -120178,6 +120310,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", @@ -137680,46 +137886,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "v1.*" - ] - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -293795,6 +293961,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=", @@ -293980,6 +294168,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -298398,6 +298587,13 @@ ] } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "copilot-usage-metrics-for-day": { "value": [ { @@ -310406,7 +310602,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, @@ -310524,7 +310742,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -310651,7 +310870,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": { @@ -310785,7 +311026,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": { @@ -317631,19 +317873,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -323531,6 +323760,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", @@ -325107,15 +325344,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.", @@ -325601,6 +325829,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": { @@ -325614,6 +325852,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index f09f3ff749..b84ac89694 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -1866,6 +1866,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 @@ -2147,6 +2155,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 @@ -2445,6 +2461,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" @@ -9858,20 +9875,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. @@ -9968,7 +9987,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9981,17 +10000,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 @@ -10032,7 +10051,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: |- @@ -11610,6 +11629,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 @@ -11987,6 +12013,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 @@ -13333,6 +13366,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 @@ -13432,6 +13607,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" @@ -13625,9 +13801,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 @@ -19642,6 +19816,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": @@ -19855,6 +20031,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: @@ -21178,6 +21356,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21217,6 +21397,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32261,6 +32443,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 @@ -32269,9 +32468,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: @@ -32624,6 +32823,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" @@ -32742,8 +32942,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: @@ -44257,6 +44468,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": @@ -44473,6 +44686,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: @@ -45865,139 +46080,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) @@ -56760,7 +56842,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56827,7 +56909,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56895,7 +56977,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56963,7 +57045,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57029,7 +57111,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57095,7 +57177,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57162,7 +57244,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57228,7 +57310,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75759,6 +75841,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 @@ -82643,6 +82732,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 @@ -87122,6 +87220,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 @@ -99591,33 +99742,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -216209,6 +216333,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= @@ -216356,6 +216499,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -220143,6 +220287,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' @@ -230402,6 +230550,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: @@ -230484,6 +230651,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -230571,6 +230739,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 @@ -230670,6 +230857,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 @@ -236556,13 +236744,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: @@ -241773,6 +241954,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 @@ -243122,13 +243312,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. @@ -243459,6 +243642,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. @@ -243469,6 +243658,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 4271801edf..ac021ba75b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -19433,6 +19433,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", @@ -19838,6 +19847,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", @@ -20139,6 +20158,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", @@ -20638,6 +20666,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", @@ -21068,6 +21105,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", @@ -21442,6 +21488,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", @@ -21734,6 +21790,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", @@ -22588,6 +22653,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", @@ -23613,6 +23687,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", @@ -25370,6 +25452,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=", @@ -25555,6 +25659,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -104970,20 +105075,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", @@ -105187,7 +105294,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -105203,19 +105310,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", @@ -105252,7 +105359,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", @@ -112742,6 +112849,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", @@ -113204,6 +113320,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", @@ -113505,6 +113630,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", @@ -113891,6 +114025,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", @@ -114592,6 +114735,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", @@ -115020,6 +115172,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", @@ -115312,6 +115473,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", @@ -116032,6 +116202,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", @@ -123829,27 +124008,390 @@ } } }, - "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." + "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", + "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, 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, + "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]\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": [ + { + "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-user-management" + "subcategory": "copilot-content-exclusion-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.", + "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/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/set-copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -123863,60 +124405,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 for which to revoke 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": { "200": { - "description": "OK", + "description": "Success", "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" + "message": { + "type": "string" } - }, - "required": [ - "seats_cancelled" - ] + } }, "examples": { "default": { "value": { - "seats_cancelled": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -124027,15 +124593,68 @@ } } }, + "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": "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." + "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": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -124795,6 +125414,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", @@ -126560,6 +127187,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=", @@ -126745,6 +127394,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -127368,7 +128018,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": [ { @@ -224455,6 +225105,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -229160,6 +229885,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -242276,6 +243076,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -242634,6 +243437,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -339117,6 +339923,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", @@ -368743,6 +369558,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", @@ -368930,7 +369772,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", @@ -368951,7 +369793,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", @@ -371200,6 +372042,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", @@ -372404,7 +373254,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, @@ -372522,7 +373394,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -373854,7 +374727,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 + } + ] } } } @@ -373997,10 +374892,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 }, @@ -375142,7 +376053,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -607567,6 +608479,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -612138,6 +613125,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -638758,508 +639820,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", - "examples": [ - "v0.1" - ] - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/zipball/v0.1" - ] - }, - "tarball_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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": [ { @@ -639281,67 +639864,108 @@ } }, { - "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", + "examples": [ + "v0.1" + ] + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/zipball/v0.1" + ] + }, + "tarball_url": { + "type": "string", + "format": "uri", + "examples": [ + "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" } } } @@ -639351,11 +639975,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}": { @@ -909254,7 +909875,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -912238,7 +912859,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -915222,7 +915843,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -918206,7 +918827,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -921190,7 +921811,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -924174,7 +924795,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -927158,7 +927779,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -930142,7 +930763,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 36b2246c65..9ab54b29b5 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &301 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &615 + - &617 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &194 + - &195 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 @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &196 + default: &197 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &198 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &198 + default: &199 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7756,6 +7756,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 @@ -8044,6 +8052,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 @@ -8424,6 +8440,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 @@ -9182,7 +9206,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 - - &456 + - &458 name: has in: query description: |- @@ -9197,6 +9221,15 @@ paths: enum: - patch - &186 + 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 + - &187 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9206,7 +9239,7 @@ paths: enum: - development - runtime - - &187 + - &188 name: sort in: query description: |- @@ -9232,7 +9265,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 type: object description: A Dependabot alert. properties: @@ -9302,7 +9335,7 @@ paths: - direct - transitive - - security_advisory: &457 + security_advisory: &459 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9570,7 +9603,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &458 + auto_dismissed_at: &460 type: - string - 'null' @@ -9578,7 +9611,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &459 + dismissal_request: &461 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9641,7 +9674,7 @@ paths: - repository additionalProperties: false examples: - default: &189 + default: &190 value: - number: 2 state: dismissed @@ -9745,6 +9778,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= @@ -9894,6 +9946,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -10985,7 +11038,7 @@ paths: properties: action: type: string - discussion: &708 + discussion: &709 title: Discussion description: A Discussion in a repository. type: object @@ -11488,7 +11541,7 @@ paths: milestone: anyOf: - type: 'null' - - &252 + - &253 title: Milestone description: A collection of related issues and pull requests. @@ -11660,7 +11713,7 @@ paths: timeline_url: type: string format: uri - type: &216 + type: &217 title: Issue Type description: The type of issue. type: @@ -11771,7 +11824,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &627 + sub_issues_summary: &628 title: Sub-issues Summary type: object properties: @@ -11855,7 +11908,7 @@ paths: pin: anyOf: - type: 'null' - - &528 + - &530 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -11882,7 +11935,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &628 + issue_dependencies_summary: &629 title: Issue Dependencies Summary type: object properties: @@ -11901,7 +11954,7 @@ paths: - total_blocking issue_field_values: type: array - items: &629 + items: &630 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12682,7 +12735,7 @@ paths: type: string release: allOf: - - &560 + - &562 title: Release description: A release. type: object @@ -12764,7 +12817,7 @@ paths: author: *4 assets: type: array - items: &561 + items: &563 title: Release Asset description: Data related to a release. type: object @@ -13367,7 +13420,7 @@ paths: url: type: string format: uri - user: &635 + user: &636 title: Public User description: Public User type: object @@ -15264,7 +15317,7 @@ paths: - closed - all default: open - - &219 + - &220 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15315,7 +15368,7 @@ paths: type: array items: *73 examples: - default: &220 + default: &221 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16727,14 +16780,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &310 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &311 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16796,7 +16849,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &314 + '301': &316 description: Moved permanently content: application/json: @@ -16818,7 +16871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &536 + - &538 name: all description: If `true`, show notifications marked as read. in: query @@ -16826,7 +16879,7 @@ paths: schema: type: boolean default: false - - &537 + - &539 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16836,7 +16889,7 @@ paths: type: boolean default: false - *78 - - &538 + - &540 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: @@ -17218,7 +17271,7 @@ paths: type: boolean examples: - false - security_and_analysis: &267 + security_and_analysis: &268 type: - object - 'null' @@ -17422,7 +17475,7 @@ paths: - url - subscription_url examples: - default: &539 + default: &541 value: - id: '1' repository: @@ -18955,7 +19008,7 @@ paths: required: false schema: type: string - - &685 + - &686 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19101,7 +19154,7 @@ paths: parameters: - *65 - *108 - - &686 + - &687 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 @@ -19213,7 +19266,7 @@ paths: - *108 - *110 - *109 - - &687 + - &688 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19221,7 +19274,7 @@ paths: schema: type: string - *111 - - &688 + - &689 name: sku description: The SKU to query for usage. in: query @@ -20200,7 +20253,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21447,7 +21500,7 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &329 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` @@ -21530,7 +21583,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 type: object properties: days: @@ -21572,7 +21625,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &334 type: object properties: days: @@ -21629,7 +21682,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -21688,7 +21741,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -21742,7 +21795,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -22377,7 +22430,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 type: object properties: default_workflow_permissions: &138 @@ -22428,7 +22481,7 @@ paths: required: false content: application/json: - schema: &337 + schema: &339 type: object properties: default_workflow_permissions: *138 @@ -22921,7 +22974,7 @@ paths: type: array items: *145 examples: - default: &638 + default: &639 value: total_count: 1 repositories: @@ -23568,7 +23621,7 @@ paths: application/json: schema: type: array - items: &338 + items: &340 title: Runner Application description: Runner Application type: object @@ -23593,7 +23646,7 @@ paths: - download_url - filename examples: - default: &339 + default: &341 value: - os: osx architecture: x64 @@ -23679,7 +23732,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &342 description: Response content: application/json: @@ -23794,7 +23847,7 @@ paths: - token - expires_at examples: - default: &341 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23833,7 +23886,7 @@ paths: application/json: schema: *149 examples: - default: &342 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23867,7 +23920,7 @@ paths: application/json: schema: *147 examples: - default: &343 + default: &345 value: id: 23 name: MBP @@ -24093,7 +24146,7 @@ paths: - *65 - *146 responses: - '200': &344 + '200': &346 description: Response content: application/json: @@ -24150,7 +24203,7 @@ paths: parameters: - *65 - *146 - - &345 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24282,7 +24335,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24317,7 +24370,7 @@ paths: - key_id - key examples: - default: &358 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24730,7 +24783,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *65 - - &326 + - &328 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)." @@ -25264,20 +25317,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. @@ -25429,7 +25484,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -25442,17 +25497,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 @@ -25493,7 +25548,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: |- @@ -25904,12 +25959,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &668 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &669 value: subject_digests: - sha256:abc123 @@ -25968,7 +26023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &670 value: attestations_subject_digests: - sha256:abc: @@ -26319,7 +26374,7 @@ paths: initiator: type: string examples: - default: &371 + default: &373 value: attestations: - bundle: @@ -26672,7 +26727,7 @@ paths: parent: anyOf: - type: 'null' - - &231 + - &232 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27275,7 +27330,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *65 - - &395 + - &397 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`, @@ -27285,7 +27340,7 @@ paths: schema: &170 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &398 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 @@ -27309,7 +27364,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -27332,7 +27387,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -27366,7 +27421,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: &400 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27388,7 +27443,7 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: &401 + dismissed_reason: &403 type: - string - 'null' @@ -27399,14 +27454,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &405 type: object properties: id: @@ -27467,7 +27522,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &406 type: object properties: name: *170 @@ -27478,26 +27533,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *171 - most_recent_instance: &405 + most_recent_instance: &407 type: object properties: - ref: &397 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &417 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: &416 + environment: &418 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: &417 + category: &419 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27511,7 +27566,7 @@ paths: properties: text: type: string - location: &418 + location: &420 type: object description: Describe a region within a file for the alert. properties: @@ -27532,7 +27587,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: &419 + items: &421 type: - string - 'null' @@ -28126,6 +28181,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 @@ -28484,6 +28546,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 @@ -28808,7 +28877,7 @@ paths: type: integer codespaces: type: array - items: &221 + items: &222 type: object title: Codespace description: A codespace. @@ -28843,7 +28912,7 @@ paths: machine: anyOf: - type: 'null' - - &431 + - &433 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29130,7 +29199,7 @@ paths: - pulls_url - recent_folders examples: - default: &222 + default: &223 value: total_count: 3 codespaces: @@ -29795,7 +29864,7 @@ paths: - updated_at - visibility examples: - default: &432 + default: &434 value: total_count: 2 secrets: @@ -29833,7 +29902,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &435 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29868,7 +29937,7 @@ paths: - key_id - key examples: - default: &434 + default: &436 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29900,7 +29969,7 @@ paths: application/json: schema: *179 examples: - default: &436 + default: &438 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30367,7 +30436,7 @@ paths: currently being billed. seats: type: array - items: &224 + items: &225 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30842,6 +30911,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: + - *65 + 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': *105 + '401': *23 + '403': *27 + '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: + - *65 + 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': *105 + '401': *23 + '403': *27 + '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 @@ -30898,7 +31112,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31213,7 +31427,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -31315,7 +31529,7 @@ paths: '500': *105 '403': *27 '404': *6 - '422': &306 + '422': &307 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -31377,6 +31591,7 @@ paths: enum: - patch - deployment + - *186 - name: runtime_risk in: query description: |- @@ -31385,8 +31600,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *186 - *187 + - *188 - *51 - *43 - *44 @@ -31398,9 +31613,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *35 '400': *14 '403': *27 @@ -31444,7 +31659,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &191 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31523,7 +31738,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &464 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31542,7 +31757,7 @@ paths: - key_id - key examples: - default: &463 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31572,7 +31787,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -31637,9 +31852,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 @@ -31873,7 +32086,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Package description: A software package type: object @@ -31944,7 +32157,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &235 value: - id: 197 name: hello_docker @@ -32114,7 +32327,7 @@ paths: application/json: schema: type: array - items: &213 + items: &214 title: Organization Invitation description: Organization Invitation type: object @@ -32168,7 +32381,7 @@ paths: - invitation_teams_url - node_id examples: - default: &214 + default: &215 value: - id: 1 login: monalisa @@ -32235,7 +32448,7 @@ paths: application/json: schema: type: array - items: &191 + items: &192 title: Org Hook description: Org Hook type: object @@ -32420,9 +32633,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: &192 + default: &193 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32470,7 +32683,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *65 - - &193 + - &194 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. @@ -32483,9 +32696,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '404': *6 x-github: githubCloudOnly: false @@ -32513,7 +32726,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32559,7 +32772,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: default: value: @@ -32601,7 +32814,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32629,7 +32842,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *65 - - *193 + - *194 responses: '200': description: Response @@ -32660,7 +32873,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32711,9 +32924,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *65 - - *193 - - *17 - *194 + - *17 + - *195 responses: '200': description: Response @@ -32721,9 +32934,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -32749,16 +32962,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *65 - - *193 + - *194 - *16 responses: '200': description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: *198 + default: *199 '400': *14 '422': *15 x-github: @@ -32784,7 +32997,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *65 - - *193 + - *194 - *16 responses: '202': *37 @@ -32814,7 +33027,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32837,7 +33050,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *65 - - &203 + - &204 name: actor_type in: path description: The type of the actor @@ -32850,14 +33063,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &204 + - &205 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &199 + - &200 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`.' @@ -32865,7 +33078,7 @@ paths: required: true schema: type: string - - &200 + - &201 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) @@ -32960,12 +33173,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *65 - - *199 - *200 + - *201 - *19 - *17 - *51 - - &209 + - &210 name: sort description: The property to sort the results by. in: query @@ -33044,14 +33257,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *65 - - *199 - *200 + - *201 responses: '200': description: Response content: application/json: - schema: &201 + schema: &202 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33067,7 +33280,7 @@ paths: type: integer format: int64 examples: - default: &202 + default: &203 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33088,23 +33301,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *65 - - &205 + - &206 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *199 - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 x-github: enabledForGitHubApps: true category: orgs @@ -33123,18 +33336,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *65 - - *199 - *200 - - *203 + - *201 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 x-github: enabledForGitHubApps: true category: orgs @@ -33152,9 +33365,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *65 - - *199 - *200 - - &206 + - *201 + - &207 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33167,7 +33380,7 @@ paths: description: Response content: application/json: - schema: &207 + schema: &208 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33183,7 +33396,7 @@ paths: type: integer format: int64 examples: - default: &208 + default: &209 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33220,18 +33433,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *65 - - *205 - - *199 - - *200 - *206 + - *200 + - *201 + - *207 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -33249,19 +33462,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *65 - - *203 - *204 - - *199 + - *205 - *200 - - *206 + - *201 + - *207 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -33279,13 +33492,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *65 - - *205 - - *199 + - *206 - *200 + - *201 - *19 - *17 - *51 - - *209 + - *210 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33369,7 +33582,7 @@ paths: application/json: schema: *20 examples: - default: &501 + default: &503 value: id: 1 account: @@ -33535,12 +33748,12 @@ paths: application/json: schema: anyOf: - - &211 + - &212 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &210 + limit: &211 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33568,7 +33781,7 @@ paths: properties: {} additionalProperties: false examples: - default: &212 + default: &213 value: limit: collaborators_only origin: organization @@ -33597,13 +33810,13 @@ paths: required: true content: application/json: - schema: &502 + schema: &504 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *210 + limit: *211 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33628,9 +33841,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -33706,9 +33919,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 '404': *6 @@ -33785,7 +33998,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: default: value: @@ -33840,7 +34053,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *65 - - &215 + - &216 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33871,7 +34084,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *65 - - *215 + - *216 - *17 - *19 responses: @@ -33883,7 +34096,7 @@ paths: type: array items: *180 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33926,7 +34139,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -34014,9 +34227,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: &217 + default: &218 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34049,7 +34262,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *65 - - &218 + - &219 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34105,9 +34318,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 '422': *7 x-github: @@ -34132,7 +34345,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *65 - - *218 + - *219 responses: '204': description: Response @@ -34195,7 +34408,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: type description: Can be the name of an issue type. in: query @@ -34226,7 +34439,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -34385,9 +34598,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -34414,7 +34627,7 @@ paths: parameters: - *65 - *61 - - &223 + - &224 name: codespace_name in: path required: true @@ -34449,15 +34662,15 @@ paths: parameters: - *65 - *61 - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: &430 + default: &432 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34637,7 +34850,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -34713,7 +34926,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &226 title: Org Membership description: Org Membership type: object @@ -34782,7 +34995,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &226 + response-if-user-has-an-active-admin-membership-with-organization: &227 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -34883,9 +35096,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: - response-if-user-already-had-membership-with-organization: *226 + response-if-user-already-had-membership-with-organization: *227 '422': *15 '403': *27 x-github: @@ -34957,7 +35170,7 @@ paths: application/json: schema: type: array - items: &227 + items: &228 title: Migration description: A migration. type: object @@ -35295,7 +35508,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35474,7 +35687,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *65 - - &228 + - &229 name: migration_id description: The unique identifier of the migration. in: path @@ -35502,7 +35715,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35672,7 +35885,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *65 - - *228 + - *229 responses: '302': description: Response @@ -35694,7 +35907,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *65 - - *228 + - *229 responses: '204': description: Response @@ -35718,8 +35931,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *65 - - *228 - - &650 + - *229 + - &651 name: repo_name description: repo_name parameter in: path @@ -35747,7 +35960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *65 - - *228 + - *229 - *17 - *19 responses: @@ -35759,7 +35972,7 @@ paths: type: array items: *145 examples: - default: &239 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35914,7 +36127,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &230 + items: &231 title: Organization Role description: Organization roles type: object @@ -36091,7 +36304,7 @@ paths: parameters: - *65 - *67 - - &229 + - &230 name: role_id description: The unique identifier of the role. in: path @@ -36128,7 +36341,7 @@ paths: parameters: - *65 - *67 - - *229 + - *230 responses: '204': description: Response @@ -36181,7 +36394,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36213,7 +36426,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36242,13 +36455,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *65 - - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *230 + schema: *231 examples: default: value: @@ -36299,7 +36512,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *65 - - *229 + - *230 - *17 - *19 responses: @@ -36378,7 +36591,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 type: description: The ownership type of the team type: string @@ -36411,7 +36624,7 @@ paths: - type - parent examples: - default: *232 + default: *233 headers: Link: *57 '404': @@ -36441,7 +36654,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *65 - - *229 + - *230 - *17 - *19 responses: @@ -36470,7 +36683,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *231 + items: *232 name: type: - string @@ -36780,7 +36993,7 @@ paths: - nuget - container - *65 - - &651 + - &652 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -36816,12 +37029,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '403': *27 '401': *23 - '400': &653 + '400': &654 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36843,7 +37056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &235 + - &236 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 @@ -36861,7 +37074,7 @@ paths: - docker - nuget - container - - &236 + - &237 name: package_name description: The name of the package. in: path @@ -36874,7 +37087,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -36926,8 +37139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *235 - *236 + - *237 - *65 responses: '204': @@ -36960,8 +37173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - name: token description: package token @@ -36994,8 +37207,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: - - *235 - *236 + - *237 - *65 - *19 - *17 @@ -37016,7 +37229,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Package Version description: A version of a software package type: object @@ -37151,10 +37364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - &238 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -37166,7 +37379,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37202,10 +37415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - *238 + - *239 responses: '204': description: Response @@ -37237,10 +37450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - *238 + - *239 responses: '204': description: Response @@ -37270,7 +37483,7 @@ paths: - *65 - *17 - *19 - - &240 + - &241 name: sort description: The property by which to sort the results. in: query @@ -37281,7 +37494,7 @@ paths: - created_at default: created_at - *51 - - &241 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37293,7 +37506,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &242 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -37302,7 +37515,7 @@ paths: type: string examples: - Hello-World - - &243 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -37311,7 +37524,7 @@ paths: type: string examples: - issues_read - - &244 + - &245 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) @@ -37321,7 +37534,7 @@ paths: schema: type: string format: date-time - - &245 + - &246 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) @@ -37331,7 +37544,7 @@ paths: schema: type: string format: date-time - - &246 + - &247 name: token_id description: The ID of the token in: query @@ -37650,7 +37863,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -37676,14 +37889,14 @@ paths: - *65 - *17 - *19 - - *240 - - *51 - *241 + - *51 - *242 - *243 - *244 - *245 - *246 + - *247 responses: '500': *105 '422': *15 @@ -37967,7 +38180,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -38009,7 +38222,7 @@ paths: type: integer configurations: type: array - items: &247 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38305,7 +38518,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &248 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38403,9 +38616,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -38573,7 +38786,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -38647,7 +38860,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &736 + - &737 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38732,7 +38945,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38835,7 +39048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &252 name: project_number description: The project's number. in: path @@ -38848,9 +39061,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -38873,7 +39086,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true description: Details of the draft item to create in the project. @@ -38907,7 +39120,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Projects v2 Item description: An item belonging to a project type: object @@ -38921,7 +39134,7 @@ paths: content: oneOf: - *73 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -39041,7 +39254,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -39140,7 +39353,7 @@ paths: _links: type: object properties: - comments: &253 + comments: &254 title: Link description: Hypermedia Link type: object @@ -39149,13 +39362,13 @@ paths: type: string required: - href - commits: *253 - statuses: *253 - html: *253 - issue: *253 - review_comments: *253 - review_comment: *253 - self: *253 + commits: *254 + statuses: *254 + html: *254 + issue: *254 + review_comments: *254 + review_comment: *254 + self: *254 required: - comments - commits @@ -39166,7 +39379,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: &546 + auto_merge: &548 title: Auto merge description: The status of auto merging a pull request. type: @@ -39268,7 +39481,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &255 + content_type: &256 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39312,7 +39525,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &257 + draft_issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39386,7 +39599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *252 - *65 - *17 - *43 @@ -39398,7 +39611,7 @@ paths: application/json: schema: type: array - items: &254 + items: &255 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39548,7 +39761,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &673 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39678,7 +39891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *251 + - *252 - *65 requestBody: required: true @@ -39725,7 +39938,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &673 + items: &674 type: object properties: name: @@ -39762,7 +39975,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &674 + iteration_configuration: &675 type: object description: The configuration for iteration fields. properties: @@ -39812,7 +40025,7 @@ paths: value: name: Due date data_type: date - single_select_field: &675 + single_select_field: &676 summary: Create a single select field value: name: Priority @@ -39839,7 +40052,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &676 + iteration_field: &677 summary: Create an iteration field value: name: Sprint @@ -39863,9 +40076,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *254 + schema: *255 examples: - text_field: &677 + text_field: &678 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39874,7 +40087,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: &678 + number_field: &679 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -39883,7 +40096,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: &679 + date_field: &680 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -39892,7 +40105,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: &680 + single_select_field: &681 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39926,7 +40139,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &681 + iteration_field: &682 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -39971,8 +40184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &682 + - *252 + - &683 name: field_id description: The unique identifier of the field. in: path @@ -39985,9 +40198,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: &683 + default: &684 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40043,7 +40256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *252 - *65 - 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) @@ -40076,7 +40289,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Projects v2 Item description: An item belonging to a project type: object @@ -40093,7 +40306,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *255 + content_type: *256 content: type: - object @@ -40143,7 +40356,7 @@ paths: - updated_at - archived_at examples: - default: &259 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40841,7 +41054,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -40911,22 +41124,22 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *257 + value: *258 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *257 + value: *258 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *257 + value: *258 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *257 + value: *258 '304': *35 '403': *27 '401': *23 @@ -40946,9 +41159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *252 - *65 - - &260 + - &261 name: item_id description: The unique identifier of the project item. in: path @@ -40974,9 +41187,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -40997,9 +41210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *252 - *65 - - *260 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41072,13 +41285,13 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - text_field: *259 - number_field: *259 - date_field: *259 - single_select_field: *259 - iteration_field: *259 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *23 '403': *27 '404': *6 @@ -41098,9 +41311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *252 - *65 - - *260 + - *261 responses: '204': description: Response @@ -41124,7 +41337,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true content: @@ -41198,7 +41411,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &664 + schema: &665 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -41302,7 +41515,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &261 + value: &262 value: id: 1 number: 1 @@ -41348,10 +41561,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *261 + value: *262 roadmap_view: summary: Response for creating a roadmap view - value: *261 + value: *262 '304': *35 '403': *27 '401': *23 @@ -41379,9 +41592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *251 + - *252 - *65 - - &684 + - &685 name: view_number description: The number that identifies the project view. in: path @@ -41413,9 +41626,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -41448,7 +41661,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41526,7 +41739,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41586,7 +41799,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *263 minItems: 1 maxItems: 100 required: @@ -41616,9 +41829,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41640,7 +41853,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *65 - - &264 + - &265 name: custom_property_name description: The custom property name in: path @@ -41652,9 +41865,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &265 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41689,7 +41902,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *65 - - *264 + - *265 requestBody: required: true content: @@ -41769,9 +41982,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *27 '404': *6 x-github: @@ -41795,7 +42008,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *65 - - *264 + - *265 responses: '204': *176 '403': *27 @@ -41859,7 +42072,7 @@ paths: - octocat/Hello-World properties: type: array - items: &266 + items: &267 title: Custom Property Value description: Custom property name and associated value type: object @@ -41949,7 +42162,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *266 + items: *267 required: - repository_names - properties @@ -42141,7 +42354,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -42344,7 +42557,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Full Repository description: Full Repository type: object @@ -42822,7 +43035,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &450 + code_of_conduct: &452 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42852,7 +43065,7 @@ paths: - key - name - html_url - security_and_analysis: *267 + security_and_analysis: *268 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42936,7 +43149,7 @@ paths: - network_count - subscribers_count examples: - default: &315 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43457,7 +43670,7 @@ paths: - *65 - *17 - *19 - - &568 + - &570 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43476,7 +43689,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43511,7 +43724,7 @@ paths: source: type: string description: The name of the source - enforcement: &270 + enforcement: &271 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43524,7 +43737,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &271 + items: &272 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43595,7 +43808,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &268 + - &269 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43619,7 +43832,7 @@ paths: match. items: type: string - - &272 + - &273 title: Organization ruleset conditions type: object description: |- @@ -43633,7 +43846,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43667,7 +43880,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43689,7 +43902,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43702,7 +43915,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &269 + items: &270 title: Repository ruleset property targeting definition type: object @@ -43735,7 +43948,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *269 + items: *270 required: - repository_property type: @@ -43743,12 +43956,12 @@ paths: - object rules: type: array - items: &569 + items: &571 title: Repository Rule type: object description: A repository rule. oneOf: - - &273 + - &274 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43760,7 +43973,7 @@ paths: type: string enum: - creation - - &274 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -43781,7 +43994,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &275 + - &276 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43793,7 +44006,7 @@ paths: type: string enum: - deletion - - &276 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43805,7 +44018,7 @@ paths: type: string enum: - required_linear_history - - &567 + - &569 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43883,7 +44096,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &277 + - &278 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43907,7 +44120,7 @@ paths: type: string required: - required_deployment_environments - - &278 + - &279 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43919,7 +44132,7 @@ paths: type: string enum: - required_signatures - - &279 + - &280 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44025,7 +44238,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &280 + - &281 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44073,7 +44286,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &281 + - &282 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44085,7 +44298,7 @@ paths: type: string enum: - non_fast_forward - - &282 + - &283 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44122,7 +44335,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44159,7 +44372,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44196,7 +44409,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44233,7 +44446,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44270,7 +44483,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44295,7 +44508,7 @@ paths: type: string required: - restricted_file_paths - - &288 + - &289 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44319,7 +44532,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &289 + - &290 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44342,7 +44555,7 @@ paths: type: string required: - restricted_file_extensions - - &290 + - &291 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44367,7 +44580,7 @@ paths: maximum: 100 required: - max_file_size - - &291 + - &292 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44417,7 +44630,7 @@ paths: - repository_id required: - workflows - - &292 + - &293 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44478,7 +44691,7 @@ paths: - tool required: - code_scanning_tools - - &293 + - &294 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44577,21 +44790,20 @@ paths: - push - repository default: branch - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *272 + items: *272 + conditions: *273 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &297 title: Repository Rule type: object description: A repository rule. oneOf: - - *273 - *274 - *275 - *276 @@ -44612,6 +44824,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -44649,9 +44862,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: id: 21 name: super cool ruleset @@ -44691,6 +44904,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *105 "/orgs/{org}/rulesets/rule-suites": get: @@ -44706,7 +44920,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *65 - - &570 + - &572 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 @@ -44721,7 +44935,7 @@ paths: in: query schema: type: string - - &571 + - &573 name: time_period description: |- The time period to filter by. @@ -44737,14 +44951,14 @@ paths: - week - month default: day - - &572 + - &574 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 - - &573 + - &575 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44764,7 +44978,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suites description: Response type: array @@ -44820,7 +45034,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &575 + default: &577 value: - id: 21 actor_id: 12 @@ -44864,7 +45078,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *65 - - &576 + - &578 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44880,7 +45094,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: Rule Suite description: Response type: object @@ -44987,7 +45201,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &578 + default: &580 value: id: 21 actor_id: 12 @@ -45060,9 +45274,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *105 put: @@ -45106,16 +45320,16 @@ paths: - tag - push - repository - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *272 + items: *272 + conditions: *273 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *297 examples: default: value: @@ -45150,10 +45364,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 + '422': *15 '500': *105 delete: summary: Delete an organization repository ruleset @@ -45209,7 +45424,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Ruleset version type: object description: The historical version of a ruleset @@ -45233,7 +45448,7 @@ paths: type: string format: date-time examples: - default: &580 + default: &582 value: - version_id: 3 actor: @@ -45286,9 +45501,9 @@ paths: description: Response content: application/json: - schema: &581 + schema: &583 allOf: - - *297 + - *298 - type: object required: - state @@ -45358,7 +45573,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *65 - - &582 + - &584 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45369,7 +45584,7 @@ paths: enum: - open - resolved - - &583 + - &585 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45379,7 +45594,7 @@ paths: required: false schema: type: string - - &584 + - &586 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45388,7 +45603,7 @@ paths: required: false schema: type: string - - &585 + - &587 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45407,7 +45622,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &586 + - &588 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. @@ -45422,7 +45637,7 @@ paths: - *51 - *19 - *17 - - &587 + - &589 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 @@ -45432,7 +45647,7 @@ paths: required: false schema: type: string - - &588 + - &590 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 @@ -45442,7 +45657,7 @@ paths: required: false schema: type: string - - &589 + - &591 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45451,7 +45666,7 @@ paths: required: false schema: type: string - - &590 + - &592 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45460,7 +45675,7 @@ paths: schema: type: boolean default: false - - &591 + - &593 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45469,7 +45684,7 @@ paths: schema: type: boolean default: false - - &592 + - &594 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45501,14 +45716,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &595 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: &594 + resolution: &596 type: - string - 'null' @@ -45615,14 +45830,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &595 + - &597 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &597 + - &599 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45679,7 +45894,7 @@ paths: - blob_url - commit_sha - commit_url - - &598 + - &600 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. @@ -45740,7 +45955,7 @@ paths: - page_url - commit_sha - commit_url - - &599 + - &601 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45755,7 +45970,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &600 + - &602 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45770,7 +45985,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &601 + - &603 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45785,7 +46000,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &602 + - &604 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45800,7 +46015,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &603 + - &605 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45815,7 +46030,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &604 + - &606 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45830,7 +46045,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &605 + - &607 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. @@ -45845,7 +46060,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &606 + - &608 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. @@ -45860,7 +46075,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &607 + - &609 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. @@ -45875,7 +46090,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &608 + - &610 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. @@ -45890,7 +46105,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &609 + - &611 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 @@ -46130,7 +46345,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: - string - 'null' @@ -46140,7 +46355,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -46209,7 +46424,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *299 examples: default: value: @@ -46266,7 +46481,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *300 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46292,7 +46507,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *300 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46390,7 +46605,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 description: A repository security advisory. type: object properties: @@ -46634,7 +46849,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: - array @@ -46645,7 +46860,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *301 state: type: string description: The state of the user's acceptance of the @@ -46709,7 +46924,7 @@ paths: - private_fork additionalProperties: false examples: - default: &614 + default: &616 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47096,7 +47311,7 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: default: value: @@ -47451,7 +47666,7 @@ paths: type: integer network_configurations: type: array - items: &301 + items: &302 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47591,9 +47806,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 123456789ABCDEF name: My network configuration @@ -47622,7 +47837,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *65 - - &303 + - &304 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47634,9 +47849,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: Link: *57 x-github: @@ -47658,7 +47873,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *65 - - *303 + - *304 requestBody: required: true content: @@ -47698,9 +47913,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47720,7 +47935,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *65 - - *303 + - *304 responses: '204': description: Response @@ -47865,13 +48080,13 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 '500': *105 '403': *27 '404': *6 - '422': *306 + '422': *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47901,7 +48116,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '403': *27 @@ -47995,7 +48210,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48069,7 +48284,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 members_count: type: integer examples: @@ -48394,7 +48609,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48471,9 +48686,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -48558,16 +48773,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '201': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '422': *15 '403': *27 @@ -48597,6 +48812,9 @@ paths: responses: '204': description: Response + '422': &310 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48628,11 +48846,12 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 + '422': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48714,7 +48933,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &311 title: Team Membership description: Team Membership type: object @@ -48742,7 +48961,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48805,9 +49024,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48883,7 +49102,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -48914,14 +49133,14 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &633 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -49564,8 +49783,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -49612,8 +49831,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -49650,7 +49869,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &634 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49804,7 +50023,7 @@ paths: resources: type: object properties: - core: &312 + core: &314 title: Rate Limit type: object properties: @@ -49821,21 +50040,21 @@ paths: - remaining - reset - used - graphql: *312 - search: *312 - code_search: *312 - source_import: *312 - integration_manifest: *312 - code_scanning_upload: *312 - actions_runner_registration: *312 - scim: *312 - dependency_snapshots: *312 - dependency_sbom: *312 - code_scanning_autofix: *312 + graphql: *314 + search: *314 + code_search: *314 + source_import: *314 + integration_manifest: *314 + code_scanning_upload: *314 + actions_runner_registration: *314 + scim: *314 + dependency_snapshots: *314 + dependency_sbom: *314 + code_scanning_autofix: *314 required: - core - search - rate: *312 + rate: *314 required: - rate - resources @@ -49940,14 +50159,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default-response: summary: Default response @@ -50452,7 +50671,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50470,8 +50689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -50763,10 +50982,10 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 - '307': &316 + default: *317 + '307': &318 description: Temporary Redirect content: application/json: @@ -50795,8 +51014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -50818,7 +51037,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *316 + '307': *318 '404': *6 '409': *50 x-github: @@ -50842,11 +51061,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - - &349 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50869,7 +51088,7 @@ paths: type: integer artifacts: type: array - items: &317 + items: &319 title: Artifact description: An artifact type: object @@ -50964,7 +51183,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -51025,9 +51244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *310 - - *311 - - &318 + - *312 + - *313 + - &320 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51039,7 +51258,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: default: value: @@ -51077,9 +51296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *310 - - *311 - - *318 + - *312 + - *313 + - *320 responses: '204': description: Response @@ -51103,9 +51322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *310 - - *311 - - *318 + - *312 + - *313 + - *320 - name: archive_format in: path required: true @@ -51119,7 +51338,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': &505 + '410': &507 description: Gone content: application/json: @@ -51144,14 +51363,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &319 + schema: &321 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51185,13 +51404,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *319 + schema: *321 examples: selected_actions: *40 responses: @@ -51220,14 +51439,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &320 + schema: &322 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51261,13 +51480,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *320 + schema: *322 examples: selected_actions: *42 responses: @@ -51298,14 +51517,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -51331,11 +51550,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - - &322 + - &324 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 @@ -51369,7 +51588,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -51419,7 +51638,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -51451,23 +51670,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: - - *310 - - *311 + - *312 + - *313 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51487,8 +51706,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: - - *310 - - *311 + - *312 + - *313 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51519,9 +51738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *310 - - *311 - - &325 + - *312 + - *313 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -51533,7 +51752,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51880,9 +52099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *310 - - *311 - - *325 + - *312 + - *313 + - *327 responses: '302': description: Response @@ -51910,9 +52129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *310 - - *311 - - *325 + - *312 + - *313 + - *327 requestBody: required: false content: @@ -51958,8 +52177,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Status response @@ -52009,8 +52228,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -52073,8 +52292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52092,7 +52311,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52113,7 +52332,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -52146,9 +52365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *310 - - *311 - - *326 + - *312 + - *313 + - *328 - *19 responses: '200': @@ -52165,7 +52384,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -52199,7 +52418,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -52232,8 +52451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52242,11 +52461,11 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *130 - selected_actions_url: *327 + selected_actions_url: *329 sha_pinning_required: *131 required: - enabled @@ -52275,8 +52494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52287,7 +52506,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *130 sha_pinning_required: *131 required: @@ -52319,14 +52538,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 type: object properties: access_level: @@ -52343,7 +52562,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -52367,15 +52586,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 responses: '204': description: Response @@ -52399,14 +52618,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52430,8 +52649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Empty response for successful settings update @@ -52441,7 +52660,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -52465,8 +52684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52474,7 +52693,7 @@ paths: application/json: schema: *132 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -52493,8 +52712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52528,14 +52747,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: *133 '403': *27 @@ -52557,13 +52776,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: default: *133 responses: @@ -52589,8 +52808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52617,8 +52836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52650,14 +52869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: *140 x-github: @@ -52680,8 +52899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Success response @@ -52692,7 +52911,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *140 x-github: @@ -52721,8 +52940,8 @@ paths: in: query schema: type: string - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52766,8 +52985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52775,9 +52994,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52799,8 +53018,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -52843,7 +53062,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *50 @@ -52874,8 +53093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -52883,7 +53102,7 @@ paths: application/json: schema: *149 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52911,8 +53130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -52920,7 +53139,7 @@ paths: application/json: schema: *149 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52942,8 +53161,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '200': @@ -52952,7 +53171,7 @@ paths: application/json: schema: *147 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52973,8 +53192,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '204': @@ -53001,8 +53220,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '200': *151 @@ -53027,8 +53246,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: - - *310 - - *311 + - *312 + - *313 - *146 requestBody: required: true @@ -53077,8 +53296,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: - - *310 - - *311 + - *312 + - *313 - *146 requestBody: required: true @@ -53128,11 +53347,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: - '200': *344 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -53159,10 +53378,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: - - *310 - - *311 + - *312 + - *313 - *146 - - *345 + - *347 responses: '200': *151 '404': *6 @@ -53190,9 +53409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *310 - - *311 - - &363 + - *312 + - *313 + - &365 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. @@ -53200,7 +53419,7 @@ paths: required: false schema: type: string - - &364 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53208,7 +53427,7 @@ paths: required: false schema: type: string - - &365 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53217,7 +53436,7 @@ paths: required: false schema: type: string - - &366 + - &368 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 @@ -53244,7 +53463,7 @@ paths: - pending - *17 - *19 - - &367 + - &369 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)." @@ -53253,7 +53472,7 @@ paths: schema: type: string format: date-time - - &346 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53262,13 +53481,13 @@ paths: schema: type: boolean default: false - - &368 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53291,7 +53510,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -53469,7 +53688,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &393 title: Simple Commit description: A commit. type: object @@ -53584,7 +53803,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -53820,24 +54039,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *310 - - *311 - - &348 + - *312 + - *313 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: &351 + default: &353 value: id: 30433642 name: Build @@ -54078,9 +54297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '204': description: Response @@ -54103,9 +54322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -54233,9 +54452,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: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '201': description: Response @@ -54268,12 +54487,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 - *17 - *19 - - *349 + - *351 responses: '200': description: Response @@ -54289,9 +54508,9 @@ paths: type: integer artifacts: type: array - items: *317 + items: *319 examples: - default: *350 + default: *352 headers: Link: *57 x-github: @@ -54315,25 +54534,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *310 - - *311 - - *348 - - &352 + - *312 + - *313 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54356,10 +54575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *310 - - *311 - - *348 - - *352 + - *312 + - *313 + - *350 + - *354 - *17 - *19 responses: @@ -54377,9 +54596,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -54492,10 +54711,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *310 - - *311 - - *348 - - *352 + - *312 + - *313 + - *350 + - *354 responses: '302': description: Response @@ -54523,9 +54742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '202': description: Response @@ -54558,9 +54777,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: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: true content: @@ -54627,9 +54846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '202': description: Response @@ -54662,9 +54881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 - 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 @@ -54694,9 +54913,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -54721,9 +54940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '302': description: Response @@ -54750,9 +54969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '204': description: Response @@ -54779,9 +54998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -54850,7 +55069,7 @@ paths: items: type: object properties: - type: &471 + type: &473 type: string description: The type of reviewer. enum: @@ -54936,9 +55155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: true content: @@ -54988,7 +55207,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55100,7 +55319,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &469 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55156,9 +55375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: false content: @@ -55203,9 +55422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: false content: @@ -55259,9 +55478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -55398,8 +55617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -55417,9 +55636,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -55444,16 +55663,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55475,17 +55694,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &484 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55511,8 +55730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -55570,8 +55789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -55597,9 +55816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *310 - - *311 - - *326 + - *312 + - *313 + - *328 - *19 responses: '200': @@ -55616,9 +55835,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -55641,8 +55860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -55694,17 +55913,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &485 + default: &487 value: name: USERNAME value: octocat @@ -55730,8 +55949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 requestBody: required: true @@ -55774,8 +55993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 responses: '204': @@ -55801,8 +56020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -55820,7 +56039,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55938,9 +56157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *310 - - *311 - - &362 + - *312 + - *313 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55955,7 +56174,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55988,9 +56207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Response @@ -56015,9 +56234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -56104,9 +56323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Response @@ -56133,19 +56352,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *310 - - *311 - - *362 - - *363 + - *312 + - *313 - *364 - *365 - *366 - - *17 - - *19 - *367 - - *346 - *368 + - *17 + - *19 - *369 + - *348 + - *370 + - *371 responses: '200': description: Response @@ -56161,9 +56380,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *57 x-github: @@ -56195,9 +56414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '200': description: Response @@ -56258,8 +56477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *310 - - *311 + - *312 + - *313 - *51 - *17 - *43 @@ -56427,8 +56646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -56465,8 +56684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *310 - - *311 + - *312 + - *313 - name: assignee in: path required: true @@ -56502,8 +56721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -56615,8 +56834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *43 - *44 @@ -56673,7 +56892,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56693,8 +56912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -56702,7 +56921,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56761,8 +56980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -56801,9 +57020,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56834,9 +57053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *310 - - *311 - - &374 + - *312 + - *313 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56848,9 +57067,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56870,9 +57089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *310 - - *311 - - *374 + - *312 + - *313 + - *376 responses: '204': description: Response @@ -56896,8 +57115,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response if Dependabot is enabled @@ -56947,8 +57166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -56969,8 +57188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -56990,8 +57209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *310 - - *311 + - *312 + - *313 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57029,7 +57248,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -57072,7 +57291,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57089,7 +57308,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57173,7 +57392,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57466,9 +57685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *310 - - *311 - - &377 + - *312 + - *313 + - &379 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). @@ -57482,14 +57701,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &441 + commit: &443 title: Commit description: Commit type: object @@ -57528,7 +57747,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -57550,7 +57769,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -57574,7 +57793,7 @@ paths: required: - sha - url - verification: &491 + verification: &493 title: Verification type: object properties: @@ -57654,7 +57873,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -57750,7 +57969,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57859,7 +58078,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *314 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -57881,15 +58100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -58083,9 +58302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -58345,7 +58564,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -58504,7 +58723,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58616,9 +58835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58643,17 +58862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &380 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58675,17 +58894,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58704,9 +58923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58731,17 +58950,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &382 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58837,9 +59056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -58937,9 +59156,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58960,9 +59179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58989,17 +59208,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59022,17 +59241,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -59052,9 +59271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59079,17 +59298,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59115,9 +59334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59169,9 +59388,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -59193,9 +59412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59219,9 +59438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59255,9 +59474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59324,9 +59543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59390,9 +59609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: content: application/json: @@ -59458,15 +59677,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -59557,9 +59776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59582,9 +59801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59594,7 +59813,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -59651,9 +59870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59687,7 +59906,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59708,9 +59927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59744,7 +59963,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59765,9 +59984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59801,7 +60020,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59823,9 +60042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59835,7 +60054,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -59855,9 +60074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59895,7 +60114,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59916,9 +60135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59956,7 +60175,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59977,9 +60196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: content: application/json: @@ -60016,7 +60235,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -60038,9 +60257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -60074,9 +60293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60134,9 +60353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60194,9 +60413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60256,9 +60475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60280,7 +60499,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -60396,8 +60615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -60676,7 +60895,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60812,7 +61031,7 @@ paths: check. type: array items: *76 - deployment: &697 + deployment: &698 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61099,9 +61318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *310 - - *311 - - &389 + - *312 + - *313 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -61113,9 +61332,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61215,9 +61434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 requestBody: required: true content: @@ -61457,9 +61676,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61479,9 +61698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 - *17 - *19 responses: @@ -61591,9 +61810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 responses: '201': description: Response @@ -61637,8 +61856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -61660,7 +61879,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61758,7 +61977,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61786,7 +62005,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62077,9 +62296,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62098,8 +62317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -62408,9 +62627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *310 - - *311 - - &394 + - *312 + - *313 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62422,9 +62641,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62447,17 +62666,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *310 - - *311 - - *394 - - &447 + - *312 + - *313 + - *396 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &448 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -62496,9 +62715,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: &449 + default: &451 value: total_count: 1 check_runs: @@ -62600,9 +62819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *310 - - *311 - - *394 + - *312 + - *313 + - *396 responses: '201': description: Response @@ -62635,21 +62854,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *310 - - *311 - - *395 - - *396 + - *312 + - *313 + - *397 + - *398 - *19 - *17 - - &413 + - &415 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: *397 - - &414 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62674,13 +62893,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *401 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62704,7 +62923,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: *400 + instances_url: *402 state: *172 fixed_at: *168 dismissed_by: @@ -62712,11 +62931,11 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62839,7 +63058,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62866,9 +63085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *310 - - *311 - - &407 + - *312 + - *313 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62882,7 +63101,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &410 type: object properties: number: *163 @@ -62890,7 +63109,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: *400 + instances_url: *402 state: *172 fixed_at: *168 dismissed_by: @@ -62898,8 +63117,8 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62961,8 +63180,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -63058,7 +63277,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63078,9 +63297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: true content: @@ -63095,8 +63314,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63124,7 +63343,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -63200,7 +63419,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63227,15 +63446,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: status: @@ -63262,13 +63481,13 @@ paths: - description - started_at examples: - default: &410 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &413 description: Bad Request content: application/json: @@ -63279,7 +63498,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': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63304,29 +63523,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 responses: '200': description: OK content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 '202': description: Accepted content: application/json: - schema: *409 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63358,9 +63577,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: false content: @@ -63406,8 +63625,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity @@ -63431,13 +63650,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 - *19 - *17 - - *413 - - *414 + - *415 + - *416 responses: '200': description: Response @@ -63448,10 +63667,10 @@ paths: items: type: object properties: - ref: *397 - analysis_key: *415 - environment: *416 - category: *417 + ref: *399 + analysis_key: *417 + environment: *418 + category: *419 state: type: - string @@ -63468,7 +63687,7 @@ paths: properties: text: type: string - location: *418 + location: *420 html_url: type: string classifications: @@ -63476,7 +63695,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: *419 + items: *421 examples: default: value: @@ -63513,7 +63732,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63547,25 +63766,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *310 - - *311 - - *395 - - *396 + - *312 + - *313 + - *397 + - *398 - *19 - *17 - - *414 + - *416 - 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: *397 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &420 + schema: &422 type: string description: An identifier for the upload. examples: @@ -63587,23 +63806,23 @@ paths: application/json: schema: type: array - items: &421 + items: &423 type: object properties: - ref: *397 - commit_sha: &429 + ref: *399 + commit_sha: &431 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: *415 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *419 error: type: string examples: @@ -63628,8 +63847,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *420 - tool: *404 + sarif_id: *422 + tool: *406 deletable: type: boolean warning: @@ -63691,7 +63910,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63727,8 +63946,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: - - *310 - - *311 + - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63741,7 +63960,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: response: summary: application/json response @@ -63795,7 +64014,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed @@ -63882,8 +64101,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: - - *310 - - *311 + - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63939,7 +64158,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': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -63961,8 +64180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -63970,7 +64189,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -64082,7 +64301,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': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64111,8 +64330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -64124,7 +64343,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -64156,9 +64375,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': &454 + '302': &456 description: Found - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64180,8 +64399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *310 - - *311 + - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -64191,7 +64410,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -64219,8 +64438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -64229,7 +64448,7 @@ paths: type: object additionalProperties: false properties: - language: &423 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -64309,7 +64528,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &427 + schema: &429 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64319,7 +64538,7 @@ paths: description: The ID of the variant analysis. controller_repo: *56 actor: *4 - query_language: *423 + query_language: *425 query_pack_url: type: string description: The download url for the query pack. @@ -64367,7 +64586,7 @@ paths: items: type: object properties: - repository: &424 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -64409,7 +64628,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &428 + analysis_status: &430 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64441,7 +64660,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &425 + access_mismatch_repos: &427 type: object properties: repository_count: @@ -64456,7 +64675,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: *424 + items: *426 required: - repository_count - repositories @@ -64479,8 +64698,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *425 - over_limit_repos: *425 + no_codeql_db_repos: *427 + over_limit_repos: *427 required: - access_mismatch_repos - not_found_repos @@ -64496,7 +64715,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &426 + value: &428 summary: Default response value: id: 1 @@ -64642,10 +64861,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *426 + value: *428 repository_lists: summary: Response for a successful variant analysis submission - value: *426 + value: *428 '404': *6 '422': description: Unable to process variant analysis submission @@ -64673,8 +64892,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: - - *310 - - *311 + - *312 + - *313 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64686,9 +64905,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *426 + default: *428 '404': *6 '503': *106 x-github: @@ -64711,7 +64930,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: - - *310 + - *312 - name: repo in: path description: The name of the controller repository. @@ -64746,7 +64965,7 @@ paths: type: object properties: repository: *56 - analysis_status: *428 + analysis_status: *430 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64871,8 +65090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -64965,7 +65184,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64986,8 +65205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65081,7 +65300,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65152,8 +65371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65161,7 +65380,7 @@ paths: schema: type: object properties: - commit_sha: *429 + commit_sha: *431 ref: type: string description: |- @@ -65221,7 +65440,7 @@ paths: schema: type: object properties: - id: *420 + id: *422 url: type: string description: The REST API URL for checking the status of the upload. @@ -65235,7 +65454,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': *412 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65258,8 +65477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *310 - - *311 + - *312 + - *313 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65307,7 +65526,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': *406 + '403': *408 '404': description: Not Found if the sarif id does not match any upload '503': *106 @@ -65332,8 +65551,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65414,8 +65633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *310 - - *311 + - *312 + - *313 - 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 @@ -65543,8 +65762,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65560,7 +65779,7 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: default: value: @@ -65858,8 +66077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65923,17 +66142,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '400': *14 '401': *23 '403': *27 @@ -65962,8 +66181,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -66027,8 +66246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66065,9 +66284,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -66107,8 +66326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *310 - - *311 + - *312 + - *313 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66195,8 +66414,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: - - *310 - - *311 + - *312 + - *313 - 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 @@ -66265,8 +66484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -66284,7 +66503,7 @@ paths: type: integer secrets: type: array - items: &435 + items: &437 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66305,7 +66524,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -66328,16 +66547,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66357,17 +66576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66387,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -66441,8 +66660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -66471,8 +66690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *310 - - *311 + - *312 + - *313 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66510,7 +66729,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Collaborator description: Collaborator type: object @@ -66703,8 +66922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '204': @@ -66751,8 +66970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 requestBody: required: false @@ -66779,7 +66998,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &504 + schema: &506 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67007,8 +67226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '204': @@ -67040,8 +67259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '200': @@ -67062,7 +67281,7 @@ paths: user: anyOf: - type: 'null' - - *437 + - *439 required: - permission - role_name @@ -67116,8 +67335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -67127,7 +67346,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -67185,7 +67404,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67244,17 +67463,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: &444 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67311,8 +67530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -67335,7 +67554,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: default: value: @@ -67386,8 +67605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -67409,8 +67628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67437,7 +67656,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -67481,7 +67700,7 @@ paths: - content - created_at examples: - default: &507 + default: &509 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67526,8 +67745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -67560,9 +67779,9 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: &440 + default: &442 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67591,9 +67810,9 @@ paths: description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -67615,10 +67834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - &508 + - &510 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67673,8 +67892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *310 - - *311 + - *312 + - *313 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67730,9 +67949,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &553 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67826,9 +68045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *310 - - *311 - - &442 + - *312 + - *313 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -67900,9 +68119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 - *17 - *19 responses: @@ -67912,9 +68131,9 @@ paths: application/json: schema: type: array - items: *438 + items: *440 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -67942,9 +68161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 requestBody: required: true content: @@ -67979,9 +68198,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *444 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68009,9 +68228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 - *17 - *19 responses: @@ -68021,9 +68240,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: &545 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68560,11 +68779,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 - - &446 + - &448 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)" @@ -68579,9 +68798,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68694,11 +68913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *310 - - *311 - - *446 - - *447 + - *312 + - *313 - *448 + - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68732,9 +68951,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -68759,9 +68978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68769,7 +68988,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -68787,7 +69006,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *394 examples: default: value: @@ -68987,9 +69206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - *17 - *19 responses: @@ -69191,9 +69410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - *17 - *19 responses: @@ -69203,7 +69422,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Status description: The status of a commit. type: object @@ -69284,7 +69503,7 @@ paths: site_admin: false headers: Link: *57 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69312,8 +69531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -69346,11 +69565,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *450 + - *452 code_of_conduct_file: anyOf: - type: 'null' - - &451 + - &453 title: Community Health File type: object properties: @@ -69370,19 +69589,19 @@ paths: contributing: anyOf: - type: 'null' - - *451 + - *453 readme: anyOf: - type: 'null' - - *451 + - *453 issue_template: anyOf: - type: 'null' - - *451 + - *453 pull_request_template: anyOf: - type: 'null' - - *451 + - *453 required: - code_of_conduct - code_of_conduct_file @@ -69511,8 +69730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 - name: basehead @@ -69560,8 +69779,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *441 - merge_base_commit: *441 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -69585,10 +69804,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -69874,8 +70093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -69890,6 +70109,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 @@ -70028,7 +70264,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &453 + response-if-content-is-a-file-github-object: &455 summary: Response if content is a file value: type: file @@ -70046,7 +70282,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: @@ -70165,7 +70401,7 @@ paths: - size - type - url - - &558 + - &560 title: Content File description: Content File type: object @@ -70383,7 +70619,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *453 + response-if-content-is-a-file: *455 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70452,7 +70688,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *454 + '302': *456 '304': *35 x-github: githubCloudOnly: false @@ -70475,8 +70711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -70571,7 +70807,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -70727,7 +70963,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -70781,7 +71017,7 @@ paths: schema: oneOf: - *3 - - &486 + - &488 description: Repository rule violation was detected type: object properties: @@ -70802,7 +71038,7 @@ paths: items: type: object properties: - placeholder_id: &610 + placeholder_id: &612 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70834,8 +71070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -70896,7 +71132,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70951,8 +71187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *310 - - *311 + - *312 + - *313 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71076,8 +71312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *181 - *182 - *183 @@ -71089,9 +71325,10 @@ paths: schema: type: string - *185 - - *456 + - *458 - *186 - *187 + - *188 - *51 - *43 - *44 @@ -71103,7 +71340,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 type: object description: A Dependabot alert. properties: @@ -71153,7 +71390,7 @@ paths: - direct - transitive - - security_advisory: *457 + security_advisory: *459 security_vulnerability: *55 url: *166 html_url: *167 @@ -71184,8 +71421,8 @@ paths: dismissal. maxLength: 280 fixed_at: *168 - auto_dismissed_at: *458 - dismissal_request: *459 + auto_dismissed_at: *460 + dismissal_request: *461 assignees: type: array description: The users assigned to this alert. @@ -71312,6 +71549,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: @@ -71396,6 +71652,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -71420,9 +71677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *310 - - *311 - - &461 + - *312 + - *313 + - &463 name: alert_number in: path description: |- @@ -71437,7 +71694,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71528,6 +71785,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': *35 '403': *27 '404': *6 @@ -71550,9 +71826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *310 - - *311 - - *461 + - *312 + - *313 + - *463 requestBody: required: true content: @@ -71583,8 +71859,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: @@ -71597,7 +71884,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71700,6 +71987,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *27 '404': *6 @@ -71726,8 +72014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -71745,7 +72033,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71799,16 +72087,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71828,15 +72116,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -71862,8 +72150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -71916,8 +72204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -71940,8 +72228,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: - - *310 - - *311 + - *312 + - *313 - 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 @@ -72115,8 +72403,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -72376,8 +72664,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -72460,7 +72748,7 @@ paths: - version - url additionalProperties: false - metadata: &465 + metadata: &467 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72499,7 +72787,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *465 + metadata: *467 resolved: type: object description: A collection of resolved package dependencies. @@ -72513,7 +72801,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *465 + metadata: *467 relationship: type: string description: A notation of whether a dependency is requested @@ -72646,8 +72934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *310 - - *311 + - *312 + - *313 - name: sha description: The SHA recorded at creation time. in: query @@ -72688,9 +72976,9 @@ paths: application/json: schema: type: array - items: *466 + items: *468 examples: - default: *467 + default: *469 headers: Link: *57 x-github: @@ -72756,8 +73044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -72839,7 +73127,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: simple-example: summary: Simple example @@ -72912,9 +73200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *310 - - *311 - - &468 + - *312 + - *313 + - &470 name: deployment_id description: deployment_id parameter in: path @@ -72926,7 +73214,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -72991,9 +73279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 responses: '204': description: Response @@ -73015,9 +73303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 - *17 - *19 responses: @@ -73027,7 +73315,7 @@ paths: application/json: schema: type: array - items: &469 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -73191,9 +73479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 requestBody: required: true content: @@ -73268,9 +73556,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: &470 + default: &472 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73326,9 +73614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 - name: status_id in: path required: true @@ -73339,9 +73627,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -73366,8 +73654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -73424,8 +73712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -73443,7 +73731,7 @@ paths: - 5 environments: type: array - items: &472 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -73505,7 +73793,7 @@ paths: type: string examples: - wait_timer - wait_timer: &474 + wait_timer: &476 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73547,7 +73835,7 @@ paths: items: type: object properties: - type: *471 + type: *473 reviewer: anyOf: - *4 @@ -73574,7 +73862,7 @@ paths: - id - node_id - type - deployment_branch_policy: &475 + deployment_branch_policy: &477 type: - object - 'null' @@ -73691,9 +73979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *310 - - *311 - - &473 + - *312 + - *313 + - &475 name: environment_name in: path required: true @@ -73706,9 +73994,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &476 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73792,9 +74080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: false content: @@ -73804,7 +74092,7 @@ paths: - object - 'null' properties: - wait_timer: *474 + wait_timer: *476 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73823,14 +74111,14 @@ paths: items: type: object properties: - type: *471 + type: *473 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *475 + deployment_branch_policy: *477 additionalProperties: false examples: default: @@ -73850,9 +74138,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *476 + default: *478 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73876,9 +74164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 responses: '204': description: Default response @@ -73903,9 +74191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *17 - *19 responses: @@ -73924,7 +74212,7 @@ paths: - 2 branch_policies: type: array - items: &477 + items: &479 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73985,9 +74273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: true content: @@ -74035,9 +74323,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - example-wildcard: &478 + example-wildcard: &480 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74079,10 +74367,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - &479 + - *312 + - *313 + - *475 + - &481 name: branch_policy_id in: path required: true @@ -74094,9 +74382,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74115,10 +74403,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - *479 + - *312 + - *313 + - *475 + - *481 requestBody: required: true content: @@ -74147,9 +74435,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74168,10 +74456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - *479 + - *312 + - *313 + - *475 + - *481 responses: '204': description: Response @@ -74196,9 +74484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 responses: '200': description: List of deployment protection rules @@ -74215,7 +74503,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &480 + items: &482 title: Deployment protection rule description: Deployment protection rule type: object @@ -74237,7 +74525,7 @@ paths: for the environment. examples: - true - app: &481 + app: &483 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74340,9 +74628,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: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 requestBody: content: application/json: @@ -74363,9 +74651,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *480 + schema: *482 examples: - default: &482 + default: &484 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74400,9 +74688,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: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 - *19 - *17 responses: @@ -74422,7 +74710,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *481 + items: *483 examples: default: value: @@ -74457,10 +74745,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *310 - - *311 - - *473 - - &483 + - *312 + - *313 + - *475 + - &485 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74472,9 +74760,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74495,10 +74783,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *473 - - *311 - - *310 - - *483 + - *475 + - *313 + - *312 + - *485 responses: '204': description: Response @@ -74524,9 +74812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *17 - *19 responses: @@ -74544,9 +74832,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -74571,17 +74859,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74603,18 +74891,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *484 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74636,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 requestBody: required: true @@ -74696,9 +74984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 responses: '204': @@ -74724,10 +75012,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *310 - - *311 - - *473 - - *326 + - *312 + - *313 + - *475 + - *328 - *19 responses: '200': @@ -74744,9 +75032,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -74769,9 +75057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: true content: @@ -74823,18 +75111,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *156 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *485 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,10 +75143,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 - - *473 + - *475 requestBody: required: true content: @@ -74900,10 +75188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 - - *473 + - *475 responses: '204': description: Response @@ -74925,8 +75213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -74994,8 +75282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *310 - - *311 + - *312 + - *313 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75154,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -75188,9 +75476,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -75211,8 +75499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75272,7 +75560,7 @@ paths: schema: oneOf: - *114 - - *486 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75297,8 +75585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *310 - - *311 + - *312 + - *313 - name: file_sha in: path required: true @@ -75398,8 +75686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75508,7 +75796,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75735,15 +76023,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: default: value: @@ -75799,9 +76087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *310 - - *311 - - &488 + - *312 + - *313 + - &490 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. @@ -75818,7 +76106,7 @@ paths: application/json: schema: type: array - items: &489 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -75894,17 +76182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 responses: '200': description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &490 + default: &492 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75933,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75963,9 +76251,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75991,9 +76279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 requestBody: required: true content: @@ -76022,9 +76310,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '422': *15 '409': *50 x-github: @@ -76042,9 +76330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 responses: '204': description: Response @@ -76099,8 +76387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -76167,7 +76455,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -76223,7 +76511,7 @@ paths: - sha - type - url - verification: *491 + verification: *493 required: - sha - url @@ -76233,7 +76521,7 @@ paths: - tag - message examples: - default: &493 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76306,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *310 - - *311 + - *312 + - *313 - name: tag_sha in: path required: true @@ -76318,9 +76606,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *493 + default: *495 '404': *6 '409': *50 x-github: @@ -76344,8 +76632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -76419,7 +76707,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76521,8 +76809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *310 - - *311 + - *312 + - *313 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76545,7 +76833,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default-response: summary: Default response @@ -76604,8 +76892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -76615,7 +76903,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -76678,7 +76966,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &728 + last_response: &729 title: Hook Response type: object properties: @@ -76755,8 +77043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -76809,9 +77097,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: type: Repository id: 12345678 @@ -76859,17 +77147,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -76889,9 +77177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 requestBody: required: true content: @@ -76936,9 +77224,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '422': *15 '404': *6 x-github: @@ -76959,9 +77247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -76985,9 +77273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '200': description: Response @@ -77014,9 +77302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 requestBody: required: false content: @@ -77060,11 +77348,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 - - *17 + - *312 + - *313 - *194 + - *17 + - *195 responses: '200': description: Response @@ -77072,9 +77360,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -77093,18 +77381,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 - *16 responses: '200': description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: *198 + default: *199 '400': *14 '422': *15 x-github: @@ -77123,9 +77411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 - *16 responses: '202': *37 @@ -77148,9 +77436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -77175,9 +77463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -77200,8 +77488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response if immutable releases are enabled @@ -77249,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '409': *50 @@ -77270,8 +77558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '409': *50 @@ -77328,14 +77616,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &497 + schema: &499 title: Import description: A repository import from an external source. type: object @@ -77442,7 +77730,7 @@ paths: - html_url - authors_url examples: - default: &500 + default: &502 value: vcs: subversion use_lfs: true @@ -77458,7 +77746,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': &498 + '503': &500 description: Unavailable due to service under maintenance. content: application/json: @@ -77487,8 +77775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -77536,7 +77824,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -77561,7 +77849,7 @@ paths: type: string '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77589,8 +77877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -77642,7 +77930,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: example-1: summary: Example 1 @@ -77690,7 +77978,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': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77713,12 +78001,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77744,9 +78032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *310 - - *311 - - &662 + - *312 + - *313 + - &663 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77760,7 +78048,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Porter Author description: Porter Author type: object @@ -77814,7 +78102,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': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77839,8 +78127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *310 - - *311 + - *312 + - *313 - name: author_id in: path required: true @@ -77870,7 +78158,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77883,7 +78171,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77907,8 +78195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -77949,7 +78237,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77977,8 +78265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -78005,11 +78293,11 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *500 + default: *502 '422': *15 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78032,8 +78320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -78041,8 +78329,8 @@ paths: application/json: schema: *20 examples: - default: *501 - '301': *314 + default: *503 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -78062,8 +78350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -78071,12 +78359,12 @@ paths: application/json: schema: anyOf: - - *211 + - *212 - type: object properties: {} additionalProperties: false examples: - default: &503 + default: &505 value: limit: collaborators_only origin: repository @@ -78101,13 +78389,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *502 + schema: *504 examples: default: summary: Example request body @@ -78119,9 +78407,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *503 + default: *505 '409': description: Response x-github: @@ -78143,8 +78431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -78167,8 +78455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -78178,9 +78466,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &655 + default: &656 value: - id: 1 repository: @@ -78311,9 +78599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *310 - - *311 - - *215 + - *312 + - *313 + - *216 requestBody: required: false content: @@ -78342,7 +78630,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -78473,9 +78761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *310 - - *311 - - *215 + - *312 + - *313 + - *216 responses: '204': description: Response @@ -78506,8 +78794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *310 - - *311 + - *312 + - *313 - 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 @@ -78555,7 +78843,7 @@ paths: required: false schema: type: string - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -78580,7 +78868,7 @@ paths: type: array items: *73 examples: - default: &513 + default: &515 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78729,7 +79017,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *314 + '301': *316 '422': *15 '404': *6 x-github: @@ -78758,8 +79046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -78851,7 +79139,7 @@ paths: application/json: schema: *73 examples: - default: &510 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -79008,7 +79296,7 @@ paths: '422': *15 '503': *106 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -79036,8 +79324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *95 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79060,7 +79348,7 @@ paths: type: array items: *74 examples: - default: &512 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79118,8 +79406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': @@ -79128,7 +79416,7 @@ paths: application/json: schema: *74 examples: - default: &506 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79183,8 +79471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -79209,7 +79497,7 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -79227,8 +79515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -79257,8 +79545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': @@ -79321,7 +79609,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -79338,8 +79626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -79347,7 +79635,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '503': *106 x-github: githubCloudOnly: false @@ -79365,8 +79653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79393,9 +79681,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -79416,8 +79704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -79450,16 +79738,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -79481,10 +79769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - *508 + - *510 responses: '204': description: Response @@ -79504,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -79515,7 +79803,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Issue Event description: Issue Event type: object @@ -79855,8 +80143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *310 - - *311 + - *312 + - *313 - name: event_id in: path required: true @@ -79867,7 +80155,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -80060,7 +80348,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *505 + '410': *507 '403': *27 x-github: githubCloudOnly: false @@ -80094,9 +80382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *310 - - *311 - - &511 + - *312 + - *313 + - &513 name: issue_number description: The number that identifies the issue. in: path @@ -80121,7 +80409,7 @@ paths: examples: default: summary: Issue - value: *510 + value: *512 pinned_comment: summary: Issue with pinned comment value: @@ -80320,9 +80608,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 '304': *35 x-github: githubCloudOnly: false @@ -80347,9 +80635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -80470,13 +80758,13 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '422': *15 '503': *106 '403': *27 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80494,9 +80782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -80524,7 +80812,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80540,9 +80828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: content: application/json: @@ -80569,7 +80857,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80591,9 +80879,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: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: assignee in: path required: true @@ -80633,9 +80921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *78 - *17 - *19 @@ -80648,11 +80936,11 @@ paths: type: array items: *74 examples: - default: *512 + default: *514 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80681,9 +80969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -80707,14 +80995,14 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -80742,9 +81030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80756,12 +81044,12 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80789,9 +81077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -80815,15 +81103,15 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *314 + '301': *316 '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -80854,9 +81142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80870,13 +81158,13 @@ paths: application/json: schema: *73 examples: - default: *510 - '301': *314 + default: *512 + '301': *316 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -80902,9 +81190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80916,12 +81204,12 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80938,9 +81226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80954,7 +81242,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &515 + - &517 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81003,7 +81291,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81131,7 +81419,7 @@ paths: - performed_via_github_app - assignee - assigner - - &517 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81177,7 +81465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81223,7 +81511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81272,7 +81560,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81314,7 +81602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81356,7 +81644,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81412,7 +81700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -81457,7 +81745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81518,7 +81806,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &527 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81579,7 +81867,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &528 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81640,7 +81928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &529 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81733,7 +82021,7 @@ paths: color: red headers: Link: *57 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81750,9 +82038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -81764,7 +82052,7 @@ paths: type: array items: *72 examples: - default: &514 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81782,9 +82070,9 @@ paths: default: false headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81800,9 +82088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -81847,10 +82135,10 @@ paths: type: array items: *72 examples: - default: *514 - '301': *314 + default: *516 + '301': *316 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -81867,9 +82155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -81931,10 +82219,10 @@ paths: type: array items: *72 examples: - default: *514 - '301': *314 + default: *516 + '301': *316 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -81951,15 +82239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '204': description: Response - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81978,9 +82266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: name in: path required: true @@ -82004,9 +82292,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82026,9 +82314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -82057,7 +82345,7 @@ paths: '204': description: Response '403': *27 - '410': *505 + '410': *507 '404': *6 '422': *15 x-github: @@ -82075,9 +82363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '204': description: Response @@ -82107,9 +82395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '200': description: Response @@ -82117,10 +82405,10 @@ paths: application/json: schema: *73 examples: - default: *510 - '301': *314 + default: *512 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82137,9 +82425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - 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. @@ -82165,13 +82453,13 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82189,9 +82477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82223,16 +82511,16 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -82254,10 +82542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *310 - - *311 - - *511 - - *508 + - *312 + - *313 + - *513 + - *510 responses: '204': description: Response @@ -82286,9 +82574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82312,7 +82600,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82345,9 +82633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -82359,11 +82647,11 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82391,9 +82679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82422,14 +82710,14 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -82449,9 +82737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82484,7 +82772,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '403': *27 '404': *6 '422': *7 @@ -82506,9 +82794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -82523,8 +82811,6 @@ paths: description: Timeline Event type: object anyOf: - - *515 - - *516 - *517 - *518 - *519 @@ -82536,6 +82822,8 @@ paths: - *525 - *526 - *527 + - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82592,7 +82880,7 @@ paths: pin: anyOf: - type: 'null' - - *528 + - *530 required: - event - actor @@ -82868,7 +83156,7 @@ paths: type: string comments: type: array - items: &547 + items: &549 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83109,7 +83397,7 @@ paths: type: string comments: type: array - items: *438 + items: *440 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83384,7 +83672,7 @@ paths: headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83401,8 +83689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -83412,7 +83700,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83480,8 +83768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -83517,9 +83805,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &530 + default: &532 value: id: 1 key: ssh-rsa AAA... @@ -83553,9 +83841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *310 - - *311 - - &531 + - *312 + - *313 + - &533 name: key_id description: The unique identifier of the key. in: path @@ -83567,9 +83855,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -83587,9 +83875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *310 - - *311 - - *531 + - *312 + - *313 + - *533 responses: '204': description: Response @@ -83609,8 +83897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -83622,7 +83910,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 '404': *6 @@ -83643,8 +83931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -83682,7 +83970,7 @@ paths: application/json: schema: *72 examples: - default: &532 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83714,8 +84002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83728,7 +84016,7 @@ paths: application/json: schema: *72 examples: - default: *532 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -83745,8 +84033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83811,8 +84099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83838,8 +84126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -83878,9 +84166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *310 - - *311 - - *413 + - *312 + - *313 + - *415 responses: '200': description: Response @@ -84027,8 +84315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84093,8 +84381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84128,9 +84416,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *441 + schema: *443 examples: - default: *533 + default: *535 '204': description: Response when already merged '404': @@ -84155,8 +84443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *310 - - *311 + - *312 + - *313 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84197,7 +84485,7 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: default: value: @@ -84253,8 +84541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84294,9 +84582,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: &534 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84355,9 +84643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *310 - - *311 - - &535 + - *312 + - *313 + - &537 name: milestone_number description: The number that identifies the milestone. in: path @@ -84369,9 +84657,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -84388,9 +84676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 requestBody: required: false content: @@ -84428,9 +84716,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84446,9 +84734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 responses: '204': description: Response @@ -84469,9 +84757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 - *17 - *19 responses: @@ -84483,7 +84771,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 x-github: @@ -84502,12 +84790,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *310 - - *311 - - *536 - - *537 - - *78 + - *312 + - *313 - *538 + - *539 + - *78 + - *540 - *17 - *19 responses: @@ -84519,7 +84807,7 @@ paths: type: array items: *98 examples: - default: *539 + default: *541 headers: Link: *57 x-github: @@ -84543,8 +84831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -84602,14 +84890,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &540 + schema: &542 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84753,7 +85041,7 @@ paths: - custom_404 - public examples: - default: &541 + default: &543 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84794,8 +85082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84850,9 +85138,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *50 x-github: @@ -84875,8 +85163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84976,8 +85264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -85003,8 +85291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -85014,7 +85302,7 @@ paths: application/json: schema: type: array - items: &542 + items: &544 title: Page Build description: Page Build type: object @@ -85106,8 +85394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -85154,16 +85442,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &543 + default: &545 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85211,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *310 - - *311 + - *312 + - *313 - name: build_id in: path required: true @@ -85223,9 +85511,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85245,8 +85533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -85354,9 +85642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *310 - - *311 - - &544 + - *312 + - *313 + - &546 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85414,9 +85702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *310 - - *311 - - *544 + - *312 + - *313 + - *546 responses: '204': *176 '404': *6 @@ -85443,8 +85731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -85739,8 +86027,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Private vulnerability reporting status @@ -85777,8 +86065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '422': *14 @@ -85799,8 +86087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '422': *14 @@ -85822,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -85831,7 +86119,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -85862,8 +86150,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -85875,7 +86163,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *266 + items: *267 required: - properties examples: @@ -85925,8 +86213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *310 - - *311 + - *312 + - *313 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85986,9 +86274,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *545 + default: *547 headers: Link: *57 '304': *35 @@ -86020,8 +86308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -86088,7 +86376,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &551 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86217,7 +86505,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -86272,7 +86560,7 @@ paths: type: - array - 'null' - items: *231 + items: *232 head: type: object properties: @@ -86310,14 +86598,14 @@ paths: _links: type: object properties: - comments: *253 - commits: *253 - statuses: *253 - html: *253 - issue: *253 - review_comments: *253 - review_comment: *253 - self: *253 + comments: *254 + commits: *254 + statuses: *254 + html: *254 + issue: *254 + review_comments: *254 + review_comment: *254 + self: *254 required: - comments - commits @@ -86328,7 +86616,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: *546 + auto_merge: *548 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86430,7 +86718,7 @@ paths: - merged_by - review_comments examples: - default: &550 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86957,8 +87245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: sort in: query required: false @@ -86987,9 +87275,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: &552 + default: &554 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87066,17 +87354,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: &548 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87151,8 +87439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -87175,9 +87463,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87193,8 +87481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -87216,8 +87504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87244,9 +87532,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -87267,8 +87555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -87301,16 +87589,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -87332,10 +87620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - *508 + - *510 responses: '204': description: Response @@ -87378,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *310 - - *311 - - &551 + - *312 + - *313 + - &553 name: pull_number description: The number that identifies the pull request. in: path @@ -87393,9 +87681,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '304': *35 '404': *6 '406': @@ -87430,9 +87718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -87474,9 +87762,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '422': *15 '403': *27 x-github: @@ -87498,9 +87786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -87561,17 +87849,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -87601,9 +87889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *95 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -87624,9 +87912,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *552 + default: *554 headers: Link: *57 x-github: @@ -87659,9 +87947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -87767,7 +88055,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -87855,9 +88143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *87 requestBody: required: true @@ -87880,7 +88168,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: default: value: @@ -87966,9 +88254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -87978,9 +88266,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *553 + default: *555 headers: Link: *57 x-github: @@ -88010,9 +88298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -88022,7 +88310,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -88060,9 +88348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 responses: '204': description: Response if pull request has been merged @@ -88085,9 +88373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -88199,9 +88487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 responses: '200': description: Response @@ -88276,9 +88564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -88315,7 +88603,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -88851,9 +89139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -88887,7 +89175,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -89392,9 +89680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -89404,7 +89692,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89560,9 +89848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -89652,9 +89940,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89717,10 +90005,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - &555 + - *312 + - *313 + - *553 + - &557 name: review_id description: The unique identifier of the review. in: path @@ -89732,9 +90020,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &557 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89793,10 +90081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -89819,7 +90107,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -89881,18 +90169,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 responses: '200': description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *556 + default: *558 '422': *7 '404': *6 x-github: @@ -89919,10 +90207,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 - *17 - *19 responses: @@ -90020,9 +90308,9 @@ paths: _links: type: object properties: - self: *253 - html: *253 - pull_request: *253 + self: *254 + html: *254 + pull_request: *254 required: - self - html @@ -90180,10 +90468,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -90212,7 +90500,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -90275,10 +90563,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -90313,9 +90601,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *557 + default: *559 '404': *6 '422': *7 '403': *27 @@ -90337,9 +90625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -90403,8 +90691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *310 - - *311 + - *312 + - *313 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90417,9 +90705,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: type: file encoding: base64 @@ -90461,8 +90749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *310 - - *311 + - *312 + - *313 - name: dir description: The alternate path to look for a README file in: path @@ -90482,9 +90770,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '422': *15 x-github: @@ -90506,8 +90794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -90517,7 +90805,7 @@ paths: application/json: schema: type: array - items: *560 + items: *562 examples: default: value: @@ -90611,8 +90899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -90688,9 +90976,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: &564 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90795,9 +91083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *310 - - *311 - - &562 + - *312 + - *313 + - &564 name: asset_id description: The unique identifier of the asset. in: path @@ -90809,9 +91097,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &563 + default: &565 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 @@ -90846,7 +91134,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,9 +91150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *310 - - *311 - - *562 + - *312 + - *313 + - *564 requestBody: required: false content: @@ -90893,9 +91181,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90911,9 +91199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *310 - - *311 - - *562 + - *312 + - *313 + - *564 responses: '204': description: Response @@ -90937,8 +91225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -91024,16 +91312,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91050,8 +91338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *310 - - *311 + - *312 + - *313 - name: tag description: tag parameter in: path @@ -91064,9 +91352,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91088,9 +91376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *310 - - *311 - - &565 + - *312 + - *313 + - &567 name: release_id description: The unique identifier of the release. in: path @@ -91104,9 +91392,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: *560 + schema: *562 examples: - default: *564 + default: *566 '401': description: Unauthorized x-github: @@ -91124,9 +91412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 requestBody: required: false content: @@ -91190,9 +91478,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': description: Not Found if the discussion category name is invalid content: @@ -91213,9 +91501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 responses: '204': description: Response @@ -91235,9 +91523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - *17 - *19 responses: @@ -91247,7 +91535,7 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: default: value: @@ -91328,9 +91616,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: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - name: name in: query required: true @@ -91356,7 +91644,7 @@ paths: description: Response for successful upload content: application/json: - schema: *561 + schema: *563 examples: response-for-successful-upload: value: @@ -91411,9 +91699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - 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. @@ -91437,9 +91725,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -91460,9 +91748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 requestBody: required: true content: @@ -91492,16 +91780,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -91523,10 +91811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *310 - - *311 - - *565 - - *508 + - *312 + - *313 + - *567 + - *510 responses: '204': description: Response @@ -91550,9 +91838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 - *17 - *19 responses: @@ -91568,8 +91856,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *273 - - &566 + - *274 + - &568 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91588,69 +91876,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *274 - - *566 - allOf: - *275 - - *566 + - *568 - allOf: - *276 - - *566 - - allOf: - - *567 - - *566 + - *568 - allOf: - *277 - - *566 + - *568 + - allOf: + - *569 + - *568 - allOf: - *278 - - *566 + - *568 - allOf: - *279 - - *566 + - *568 - allOf: - *280 - - *566 + - *568 - allOf: - *281 - - *566 + - *568 - allOf: - *282 - - *566 + - *568 - allOf: - *283 - - *566 + - *568 - allOf: - *284 - - *566 + - *568 - allOf: - *285 - - *566 + - *568 - allOf: - *286 - - *566 + - *568 - allOf: - *287 - - *566 + - *568 - allOf: - *288 - - *566 + - *568 - allOf: - *289 - - *566 + - *568 - allOf: - *290 - - *566 + - *568 - allOf: - *291 - - *566 + - *568 - allOf: - *292 - - *566 + - *568 - allOf: - *293 - - *566 + - *568 + - allOf: + - *294 + - *568 examples: default: value: @@ -91689,8 +91977,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: includes_parents @@ -91701,7 +91989,7 @@ paths: schema: type: boolean default: true - - *568 + - *570 responses: '200': description: Response @@ -91709,7 +91997,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -91756,8 +92044,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 requestBody: description: Request body required: true @@ -91777,16 +92065,16 @@ paths: - tag - push default: branch - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *268 + items: *272 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: *569 + items: *571 required: - name - enforcement @@ -91817,9 +92105,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &579 + default: &581 value: id: 42 name: super cool ruleset @@ -91852,6 +92140,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *105 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -91866,12 +92155,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *310 - - *311 - - *570 - - *571 + - *312 + - *313 - *572 - *573 + - *574 + - *575 - *17 - *19 responses: @@ -91879,9 +92168,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *105 x-github: @@ -91902,17 +92191,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *310 - - *311 - - *576 + - *312 + - *313 + - *578 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '404': *6 '500': *105 x-github: @@ -91940,8 +92229,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91961,9 +92250,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 '500': *105 put: @@ -91981,8 +92270,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92007,16 +92296,16 @@ paths: - branch - tag - push - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *268 + items: *272 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *569 + items: *571 examples: default: value: @@ -92044,10 +92333,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 + '422': *15 '500': *105 delete: summary: Delete a repository ruleset @@ -92064,8 +92354,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92088,8 +92378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: ruleset_id @@ -92105,9 +92395,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *580 + default: *582 '404': *6 '500': *105 x-github: @@ -92126,8 +92416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92145,7 +92435,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -92200,22 +92490,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *310 - - *311 - - *582 - - *583 + - *312 + - *313 - *584 - *585 - *586 + - *587 + - *588 - *51 - *19 - *17 - - *587 - - *588 - *589 - *590 - *591 - *592 + - *593 + - *594 responses: '200': description: Response @@ -92223,7 +92513,7 @@ paths: application/json: schema: type: array - items: &596 + items: &598 type: object properties: number: *163 @@ -92239,8 +92529,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *595 + resolution: *596 resolved_at: type: - string @@ -92334,7 +92624,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *595 + - *597 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -92479,16 +92769,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 - - *592 + - *312 + - *313 + - *409 + - *594 responses: '200': description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92542,9 +92832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: true content: @@ -92552,8 +92842,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *595 + resolution: *596 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92589,7 +92879,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92684,9 +92974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 - *19 - *17 responses: @@ -92697,7 +92987,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &748 + items: &749 type: object properties: type: @@ -92724,8 +93014,6 @@ paths: - commit details: oneOf: - - *597 - - *598 - *599 - *600 - *601 @@ -92737,6 +93025,8 @@ paths: - *607 - *608 - *609 + - *610 + - *611 examples: default: value: @@ -92822,8 +93112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -92831,14 +93121,14 @@ paths: schema: type: object properties: - reason: &611 + reason: &613 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *610 + placeholder_id: *612 required: - reason - placeholder_id @@ -92855,7 +93145,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *613 expire_at: type: - string @@ -92902,8 +93192,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: - - *310 - - *311 + - *312 + - *313 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92918,7 +93208,7 @@ paths: properties: incremental_scans: type: array - items: &612 + items: &614 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92946,15 +93236,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *612 + items: *614 backfill_scans: type: array - items: *612 + items: *614 custom_pattern_backfill_scans: type: array items: allOf: - - *612 + - *614 - type: object properties: pattern_name: @@ -93024,8 +93314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *310 - - *311 + - *312 + - *313 - *51 - name: sort description: The property to sort the results by. @@ -93069,9 +93359,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *614 + default: *616 '400': *14 '404': *6 x-github: @@ -93094,8 +93384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -93175,7 +93465,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93265,9 +93555,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &616 + default: &618 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93500,8 +93790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -93614,7 +93904,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -93761,17 +94051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *616 + default: *618 '403': *27 '404': *6 x-github: @@ -93795,9 +94085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 requestBody: required: true content: @@ -93877,7 +94167,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93968,10 +94258,10 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *616 - add_credit: *616 + default: *618 + add_credit: *618 '403': *27 '404': *6 '422': @@ -94009,9 +94299,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: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '202': *37 '400': *14 @@ -94038,17 +94328,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '202': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -94074,8 +94364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94171,8 +94461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94181,7 +94471,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94214,8 +94504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -94293,8 +94583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -94388,8 +94678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94543,8 +94833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94554,7 +94844,7 @@ paths: application/json: schema: type: array - items: *617 + items: *619 examples: default: value: @@ -94587,8 +94877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *310 - - *311 + - *312 + - *313 - name: sha in: path required: true @@ -94644,7 +94934,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -94698,8 +94988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94731,14 +95021,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &619 + schema: &621 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94811,8 +95101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -94838,7 +95128,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -94865,8 +95155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -94886,8 +95176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94952,165 +95242,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: - - *310 - - *311 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &620 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *27 - '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: - - *310 - - *311 - 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: *620 - examples: - default: - value: - enabled: true - '403': *27 - '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: - - *310 - - *311 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *27 - '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) @@ -95128,8 +95259,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *310 - - *311 + - *312 + - *313 - name: ref in: path required: true @@ -95165,8 +95296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -95178,7 +95309,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '404': *6 @@ -95198,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 responses: @@ -95207,7 +95338,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &622 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95219,7 +95350,7 @@ paths: required: - names examples: - default: &622 + default: &623 value: names: - octocat @@ -95242,8 +95373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -95274,9 +95405,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 '404': *6 '422': *7 x-github: @@ -95297,9 +95428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *310 - - *311 - - &623 + - *312 + - *313 + - &624 name: per description: The time frame to display results for. in: query @@ -95330,7 +95461,7 @@ paths: - 128 clones: type: array - items: &624 + items: &625 title: Traffic type: object properties: @@ -95417,8 +95548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -95512,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -95576,9 +95707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *310 - - *311 - - *623 + - *312 + - *313 + - *624 responses: '200': description: Response @@ -95599,7 +95730,7 @@ paths: - 3782 views: type: array - items: *624 + items: *625 required: - uniques - count @@ -95676,8 +95807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -95951,8 +96082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95975,8 +96106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -95998,8 +96129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -96025,8 +96156,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *310 - - *311 + - *312 + - *313 - name: ref in: path required: true @@ -96118,9 +96249,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96369,7 +96500,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &625 + text_matches: &626 title: Search Result Text Matches type: array items: @@ -96532,7 +96663,7 @@ paths: enum: - author-date - committer-date - - &626 + - &627 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 @@ -96601,7 +96732,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -96620,7 +96751,7 @@ paths: url: type: string format: uri - verification: *491 + verification: *493 required: - author - committer @@ -96635,7 +96766,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -96652,7 +96783,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *626 required: - sha - node_id @@ -96844,7 +96975,7 @@ paths: - interactions - created - updated - - *626 + - *627 - *17 - *19 - name: advanced_search @@ -96941,11 +97072,11 @@ paths: type: - string - 'null' - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: type: string state_reason: @@ -96959,7 +97090,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 comments: type: integer created_at: @@ -96973,7 +97104,7 @@ paths: - string - 'null' format: date-time - text_matches: *625 + text_matches: *626 pull_request: type: object properties: @@ -97022,7 +97153,7 @@ paths: timeline_url: type: string format: uri - type: *216 + type: *217 performed_via_github_app: anyOf: - type: 'null' @@ -97200,7 +97331,7 @@ paths: enum: - created - updated - - *626 + - *627 - *17 - *19 responses: @@ -97245,7 +97376,7 @@ paths: - 'null' score: type: number - text_matches: *625 + text_matches: *626 required: - id - node_id @@ -97330,7 +97461,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *627 - *17 - *19 responses: @@ -97576,7 +97707,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *626 temp_clone_token: type: string allow_merge_commit: @@ -97884,7 +98015,7 @@ paths: - string - 'null' format: uri - text_matches: *625 + text_matches: *626 related: type: - array @@ -98077,7 +98208,7 @@ paths: - followers - repositories - joined - - *626 + - *627 - *17 - *19 responses: @@ -98187,7 +98318,7 @@ paths: type: - boolean - 'null' - text_matches: *625 + text_matches: *626 blog: type: - string @@ -98269,7 +98400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &630 + - &631 name: team_id description: The unique identifier of the team. in: path @@ -98281,9 +98412,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -98310,7 +98441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *630 + - *631 requestBody: required: true content: @@ -98374,16 +98505,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '201': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '422': *15 '403': *27 @@ -98411,7 +98542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *630 + - *631 responses: '204': description: Response @@ -98440,7 +98571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -98450,9 +98581,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 x-github: @@ -98478,7 +98609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *630 + - *631 - name: role description: Filters members returned by their role in the team. in: query @@ -98529,7 +98660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98566,7 +98697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98606,7 +98737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98643,16 +98774,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *632 '404': *6 x-github: githubCloudOnly: false @@ -98685,7 +98816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 requestBody: required: false @@ -98711,9 +98842,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -98747,7 +98878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98775,7 +98906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -98787,7 +98918,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -98817,15 +98948,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *633 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -98976,9 +99107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 requestBody: required: false content: @@ -99028,9 +99159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 responses: '204': description: Response @@ -99055,7 +99186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -99067,7 +99198,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *634 + response-if-child-teams-exist: *635 headers: Link: *57 '404': *6 @@ -99100,7 +99231,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -99350,7 +99481,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *635 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99510,7 +99641,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -99713,9 +99844,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -99854,17 +99985,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -99908,7 +100039,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99950,7 +100081,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -100028,7 +100159,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -100174,7 +100305,7 @@ paths: type: array items: *145 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -100318,15 +100449,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '304': *35 '500': *105 '401': *23 @@ -100352,7 +100483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 requestBody: required: false content: @@ -100382,9 +100513,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -100406,7 +100537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '202': *37 '304': *35 @@ -100435,13 +100566,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '202': description: Response content: application/json: - schema: &639 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100494,7 +100625,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &640 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100526,7 +100657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *223 + - *224 - name: export_id in: path required: true @@ -100539,9 +100670,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100562,7 +100693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *223 + - *224 responses: '200': description: Response @@ -100578,9 +100709,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: *641 + default: *642 '304': *35 '500': *105 '401': *23 @@ -100609,7 +100740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *223 + - *224 requestBody: required: true content: @@ -100665,11 +100796,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *313 + repository: *315 machine: anyOf: - type: 'null' - - *431 + - *433 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101466,15 +101597,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '304': *35 '500': *105 '400': *14 @@ -101506,15 +101637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '500': *105 '401': *23 '403': *27 @@ -101544,9 +101675,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &652 + default: &653 value: - id: 197 name: hello_docker @@ -101647,7 +101778,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -101717,9 +101848,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: &654 + default: &655 value: - email: octocat@github.com verified: true @@ -101796,7 +101927,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -102054,7 +102185,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102199,7 +102330,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -102284,9 +102415,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -102343,7 +102474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &645 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102355,9 +102486,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102380,7 +102511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *645 + - *646 responses: '204': description: Response @@ -102658,12 +102789,12 @@ paths: application/json: schema: anyOf: - - *211 + - *212 - type: object properties: {} additionalProperties: false examples: - default: *212 + default: *213 '204': description: Response when there are no restrictions x-github: @@ -102687,7 +102818,7 @@ paths: required: true content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -102698,7 +102829,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -102779,7 +102910,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -102804,7 +102935,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -102837,7 +102968,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -102940,9 +103071,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102975,15 +103106,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *531 + - *533 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: *647 + default: *648 '404': *6 '304': *35 '403': *27 @@ -103006,7 +103137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *531 + - *533 responses: '204': description: Response @@ -103039,7 +103170,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103118,7 +103249,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103180,9 +103311,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *57 '304': *35 @@ -103222,7 +103353,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -103336,7 +103467,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103423,7 +103554,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103495,7 +103626,7 @@ paths: application/json: schema: type: array - items: *227 + items: *228 examples: default: value: @@ -103757,7 +103888,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -103937,7 +104068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *228 + - *229 - name: exclude in: query required: false @@ -103950,7 +104081,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -104144,7 +104275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *228 + - *229 responses: '302': description: Response @@ -104170,7 +104301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *228 + - *229 responses: '204': description: Response @@ -104199,8 +104330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *228 - - *650 + - *229 + - *651 responses: '204': description: Response @@ -104224,7 +104355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *228 + - *229 - *17 - *19 responses: @@ -104236,7 +104367,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -104315,7 +104446,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *19 - *17 responses: @@ -104325,10 +104456,10 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 - '400': *653 + default: *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104348,16 +104479,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &671 + default: &672 value: id: 40201 name: octo-name @@ -104470,8 +104601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 responses: '204': description: Response @@ -104501,8 +104632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 - name: token description: package token schema: @@ -104534,8 +104665,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: - - *235 - *236 + - *237 - *19 - *17 - name: state @@ -104555,7 +104686,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -104604,15 +104735,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -104648,9 +104779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '204': description: Response @@ -104680,9 +104811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '204': description: Response @@ -104719,9 +104850,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *654 + default: *655 headers: Link: *57 '304': *35 @@ -104834,7 +104965,7 @@ paths: type: array items: *69 examples: - default: &661 + default: &662 summary: Default response value: - id: 1296269 @@ -105152,9 +105283,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105192,9 +105323,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *655 + default: *656 headers: Link: *57 '304': *35 @@ -105217,7 +105348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *215 + - *216 responses: '204': description: Response @@ -105240,7 +105371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *215 + - *216 responses: '204': description: Response @@ -105273,7 +105404,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Social account description: Social media account type: object @@ -105290,7 +105421,7 @@ paths: - provider - url examples: - default: &657 + default: &658 value: - provider: twitter url: https://twitter.com/github @@ -105353,9 +105484,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105443,7 +105574,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105463,7 +105594,7 @@ paths: - title - created_at examples: - default: &689 + default: &690 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105528,9 +105659,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: &659 + default: &660 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105560,7 +105691,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: - - &660 + - &661 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105572,9 +105703,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105597,7 +105728,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: - - *660 + - *661 responses: '204': description: Response @@ -105626,7 +105757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &690 + - &691 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 @@ -105651,11 +105782,11 @@ paths: type: array items: *69 examples: - default-response: *661 + default-response: *662 application/vnd.github.v3.star+json: schema: type: array - items: &691 + items: &692 title: Starred Repository description: Starred Repository type: object @@ -105811,8 +105942,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: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response if this repository is starred by you @@ -105840,8 +105971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -105865,8 +105996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -105901,7 +106032,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '304': *35 @@ -105938,7 +106069,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -106024,10 +106155,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -106062,7 +106193,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &667 summary: Response with GitHub plan information value: login: octocat @@ -106119,14 +106250,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &663 + - &664 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *251 + - *252 requestBody: required: true description: Details of the draft item to create in the project. @@ -106160,9 +106291,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - draft_issue: *257 + draft_issue: *258 '304': *35 '403': *27 '401': *23 @@ -106185,7 +106316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *662 + - *663 - *17 responses: '200': @@ -106220,8 +106351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *663 - - *251 + - *664 + - *252 requestBody: required: true content: @@ -106295,17 +106426,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *664 + schema: *665 examples: table_view: summary: Response for creating a table view - value: *261 + value: *262 board_view: summary: Response for creating a board view with filter - value: *261 + value: *262 roadmap_view: summary: Response for creating a roadmap view - value: *261 + value: *262 '304': *35 '403': *27 '401': *23 @@ -106347,11 +106478,11 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *666 + response-with-git-hub-plan-information: *667 '404': *6 x-github: githubCloudOnly: false @@ -106401,8 +106532,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *668 + withPredicateType: *669 responses: '200': description: Response @@ -106456,7 +106587,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106661,7 +106792,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106700,9 +106831,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 x-github: @@ -107086,9 +107217,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *670 + default: *671 headers: Link: *57 x-github: @@ -107192,7 +107323,7 @@ paths: application/json: schema: *20 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107317,7 +107448,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *61 - *19 - *17 @@ -107328,12 +107459,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 - '400': *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107353,17 +107484,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107384,8 +107515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 responses: '204': @@ -107418,8 +107549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 - name: token description: package token @@ -107452,8 +107583,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: - - *235 - *236 + - *237 - *61 responses: '200': @@ -107462,7 +107593,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -107520,16 +107651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 - *61 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -107564,10 +107695,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *235 - *236 + - *237 - *61 - - *238 + - *239 responses: '204': description: Response @@ -107599,10 +107730,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *235 - *236 + - *237 - *61 - - *238 + - *239 responses: '204': description: Response @@ -107643,9 +107774,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107667,16 +107798,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *252 - *61 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107698,7 +107829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *252 - *61 - *17 - *43 @@ -107710,9 +107841,9 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: - default: *672 + default: *673 headers: Link: *57 '304': *35 @@ -107734,7 +107865,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *61 - - *251 + - *252 requestBody: required: true content: @@ -107772,7 +107903,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *673 + items: *674 required: - name - data_type @@ -107788,7 +107919,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *674 + iteration_configuration: *675 required: - name - data_type @@ -107810,20 +107941,20 @@ paths: value: name: Due date data_type: date - single_select_field: *675 - iteration_field: *676 + single_select_field: *676 + iteration_field: *677 responses: '201': description: Response content: application/json: - schema: *254 + schema: *255 examples: - text_field: *677 - number_field: *678 - date_field: *679 - single_select_field: *680 - iteration_field: *681 + text_field: *678 + number_field: *679 + date_field: *680 + single_select_field: *681 + iteration_field: *682 '304': *35 '403': *27 '401': *23 @@ -107844,17 +107975,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *682 + - *252 + - *683 - *61 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *683 + default: *684 headers: Link: *57 '304': *35 @@ -107877,7 +108008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *252 - *61 - *43 - *44 @@ -107910,9 +108041,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -107934,7 +108065,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *61 - - *251 + - *252 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108004,22 +108135,22 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *257 + value: *258 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *257 + value: *258 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *257 + value: *258 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *257 + value: *258 '304': *35 '403': *27 '401': *23 @@ -108039,9 +108170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *252 - *61 - - *260 + - *261 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108061,9 +108192,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108084,9 +108215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *252 - *61 - - *260 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -108159,13 +108290,13 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - text_field: *259 - number_field: *259 - date_field: *259 - single_select_field: *259 - iteration_field: *259 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *23 '403': *27 '404': *6 @@ -108185,9 +108316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *252 - *61 - - *260 + - *261 responses: '204': description: Response @@ -108209,9 +108340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *251 + - *252 - *61 - - *684 + - *685 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -108237,9 +108368,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108460,7 +108591,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -108486,7 +108617,7 @@ paths: - *108 - *110 - *109 - - *685 + - *686 - *111 responses: '200': @@ -108617,7 +108748,7 @@ paths: parameters: - *61 - *108 - - *686 + - *687 - *109 responses: '200': @@ -108716,9 +108847,9 @@ paths: - *108 - *110 - *109 - - *687 - - *111 - *688 + - *111 + - *689 responses: '200': description: Response when getting a billing usage summary @@ -108852,9 +108983,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 headers: Link: *57 x-github: @@ -108884,9 +109015,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *689 + default: *690 headers: Link: *57 x-github: @@ -108911,7 +109042,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *61 - - *690 + - *691 - *51 - *17 - *19 @@ -108923,11 +109054,11 @@ paths: schema: anyOf: - type: array - items: *691 + items: *692 - type: array items: *69 examples: - default-response: *661 + default-response: *662 headers: Link: *57 x-github: @@ -108958,7 +109089,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -109087,7 +109218,7 @@ webhooks: type: string enum: - disabled - enterprise: &692 + enterprise: &693 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109156,7 +109287,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &693 + installation: &694 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109177,7 +109308,7 @@ webhooks: required: - id - node_id - organization: &694 + organization: &695 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109250,7 +109381,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &695 + repository: &696 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110176,10 +110307,10 @@ webhooks: type: string enum: - enabled - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -110255,11 +110386,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: &696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: &697 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) @@ -110482,11 +110613,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: *696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *4 required: - action @@ -110674,11 +110805,11 @@ webhooks: - everyone required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: *696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *4 required: - action @@ -110762,7 +110893,7 @@ webhooks: type: string enum: - completed - check_run: &698 + check_run: &699 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110872,7 +111003,7 @@ webhooks: - examples: - neutral - deployment: *697 + deployment: *698 details_url: type: string examples: @@ -110970,10 +111101,10 @@ webhooks: - output - app - pull_requests - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -111364,11 +111495,11 @@ webhooks: type: string enum: - created - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -111762,11 +111893,11 @@ webhooks: type: string enum: - requested_action - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 requested_action: description: The action requested by the user. type: object @@ -112169,11 +112300,11 @@ webhooks: type: string enum: - rerequested - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -113158,10 +113289,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -113865,10 +113996,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -114566,10 +114697,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -114738,7 +114869,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114890,20 +115021,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &699 + commit_oid: &700 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: *692 - installation: *693 - organization: *694 - ref: &700 + enterprise: *693 + installation: *694 + organization: *695 + ref: &701 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: *695 + repository: *696 sender: *4 required: - action @@ -115070,7 +115201,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115311,12 +115442,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -115414,7 +115545,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115599,12 +115730,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -115773,7 +115904,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115950,12 +116081,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -116056,7 +116187,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116245,9 +116376,9 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116255,7 +116386,7 @@ webhooks: type: - string - 'null' - repository: *695 + repository: *696 sender: *4 required: - action @@ -116354,7 +116485,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116501,12 +116632,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -116675,7 +116806,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116827,10 +116958,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -117090,10 +117221,10 @@ webhooks: - updated_at - author_association - body - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -117174,18 +117305,18 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *694 - pusher_type: &701 + organization: *695 + pusher_type: &702 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &702 + ref: &703 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -117195,7 +117326,7 @@ webhooks: enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117277,10 +117408,10 @@ webhooks: type: string enum: - created - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117365,9 +117496,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117444,10 +117575,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117524,10 +117655,10 @@ webhooks: type: string enum: - updated - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117604,19 +117735,19 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - repository: *695 - organization: *694 + enterprise: *693 + installation: *694 + repository: *696 + organization: *695 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *266 + items: *267 old_property_values: type: array description: The old custom property values for the repository. - items: *266 + items: *267 required: - action - repository @@ -117692,18 +117823,18 @@ webhooks: title: delete event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - pusher_type: *701 - ref: *702 + enterprise: *693 + installation: *694 + organization: *695 + pusher_type: *702 + ref: *703 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117748,7 +117879,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117783,11 +117914,11 @@ webhooks: type: string enum: - assignees_changed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -117832,7 +117963,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117867,11 +117998,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -117917,7 +118048,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117952,11 +118083,11 @@ webhooks: type: string enum: - auto_reopened - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118002,7 +118133,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118037,11 +118168,11 @@ webhooks: type: string enum: - created - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118085,7 +118216,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118120,11 +118251,11 @@ webhooks: type: string enum: - dismissed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118168,7 +118299,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118203,11 +118334,11 @@ webhooks: type: string enum: - fixed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118252,7 +118383,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118287,11 +118418,11 @@ webhooks: type: string enum: - reintroduced - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118335,7 +118466,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118370,11 +118501,11 @@ webhooks: type: string enum: - reopened - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118451,9 +118582,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - key: &703 + enterprise: *693 + installation: *694 + key: &704 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118491,8 +118622,8 @@ webhooks: - verified - created_at - read_only - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -118569,11 +118700,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - key: *703 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + key: *704 + organization: *695 + repository: *696 sender: *4 required: - action @@ -119140,12 +119271,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: &707 + workflow: &708 title: Workflow type: - object @@ -119896,13 +120027,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *466 + - *468 pull_requests: type: array - items: *549 - repository: *695 - organization: *694 - installation: *693 + items: *551 + repository: *696 + organization: *695 + installation: *694 sender: *4 responses: '200': @@ -119973,7 +120104,7 @@ webhooks: type: string enum: - approved - approver: &704 + approver: &705 type: object properties: avatar_url: @@ -120016,11 +120147,11 @@ webhooks: type: string comment: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - reviewers: &705 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: &706 type: array items: type: object @@ -120101,7 +120232,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &706 + workflow_job_run: &707 type: object properties: conclusion: @@ -120847,18 +120978,18 @@ webhooks: type: string enum: - rejected - approver: *704 + approver: *705 comment: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - reviewers: *705 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: *706 sender: *4 since: type: string - workflow_job_run: *706 + workflow_job_run: *707 workflow_job_runs: type: array items: @@ -121575,13 +121706,13 @@ webhooks: type: string enum: - requested - enterprise: *692 + enterprise: *693 environment: type: string - installation: *693 - organization: *694 - repository: *695 - requestor: &712 + installation: *694 + organization: *695 + repository: *696 + requestor: &713 title: User type: - object @@ -123514,12 +123645,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Deployment Workflow Run type: @@ -124210,7 +124341,7 @@ webhooks: type: string enum: - answered - answer: &710 + answer: &711 type: object properties: author_association: @@ -124370,11 +124501,11 @@ webhooks: - created_at - updated_at - body - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124501,11 +124632,11 @@ webhooks: - from required: - category - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124588,11 +124719,11 @@ webhooks: type: string enum: - closed - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124674,7 +124805,7 @@ webhooks: type: string enum: - created - comment: &709 + comment: &710 type: object properties: author_association: @@ -124834,11 +124965,11 @@ webhooks: - updated_at - body - reactions - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124921,12 +125052,12 @@ webhooks: type: string enum: - deleted - comment: *709 - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + comment: *710 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125021,12 +125152,12 @@ webhooks: - from required: - body - comment: *709 - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + comment: *710 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125110,11 +125241,11 @@ webhooks: type: string enum: - created - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125196,11 +125327,11 @@ webhooks: type: string enum: - deleted - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125300,11 +125431,11 @@ webhooks: type: string required: - from - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125386,10 +125517,10 @@ webhooks: type: string enum: - labeled - discussion: *708 - enterprise: *692 - installation: *693 - label: &711 + discussion: *709 + enterprise: *693 + installation: *694 + label: &712 title: Label type: object properties: @@ -125422,8 +125553,8 @@ webhooks: - color - default - description - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125506,11 +125637,11 @@ webhooks: type: string enum: - locked - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125592,11 +125723,11 @@ webhooks: type: string enum: - pinned - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125678,11 +125809,11 @@ webhooks: type: string enum: - reopened - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125767,16 +125898,16 @@ webhooks: changes: type: object properties: - new_discussion: *708 - new_repository: *695 + new_discussion: *709 + new_repository: *696 required: - new_discussion - new_repository - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125859,10 +125990,10 @@ webhooks: type: string enum: - unanswered - discussion: *708 - old_answer: *710 - organization: *694 - repository: *695 + discussion: *709 + old_answer: *711 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125944,12 +126075,12 @@ webhooks: type: string enum: - unlabeled - discussion: *708 - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126032,11 +126163,11 @@ webhooks: type: string enum: - unlocked - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126118,11 +126249,11 @@ webhooks: type: string enum: - unpinned - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126195,7 +126326,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *692 + enterprise: *693 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126873,9 +127004,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - forkee @@ -127021,9 +127152,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pages: description: The pages that were updated. type: array @@ -127061,7 +127192,7 @@ webhooks: - action - sha - html_url - repository: *695 + repository: *696 sender: *4 required: - pages @@ -127137,10 +127268,10 @@ webhooks: type: string enum: - created - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: &713 + organization: *695 + repositories: &714 description: An array of repository objects that the installation can access. type: array @@ -127166,8 +127297,8 @@ webhooks: - name - full_name - private - repository: *695 - requester: *712 + repository: *696 + requester: *713 sender: *4 required: - action @@ -127242,11 +127373,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127323,11 +127454,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127404,10 +127535,10 @@ webhooks: type: string enum: - added - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories_added: &714 + organization: *695 + repositories_added: &715 description: An array of repository objects, which were added to the installation. type: array @@ -127453,15 +127584,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *695 - repository_selection: &715 + repository: *696 + repository_selection: &716 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *712 + requester: *713 sender: *4 required: - action @@ -127540,10 +127671,10 @@ webhooks: type: string enum: - removed - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories_added: *714 + organization: *695 + repositories_added: *715 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127570,9 +127701,9 @@ webhooks: - name - full_name - private - repository: *695 - repository_selection: *715 - requester: *712 + repository: *696 + repository_selection: *716 + requester: *713 sender: *4 required: - action @@ -127651,11 +127782,11 @@ webhooks: type: string enum: - suspend - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127837,10 +127968,10 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 target_type: type: string @@ -127919,11 +128050,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -128089,7 +128220,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 user: title: User type: @@ -128175,8 +128306,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128988,8 +129119,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129006,7 +129137,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -129350,8 +129481,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -129431,7 +129562,7 @@ webhooks: type: string enum: - deleted - comment: &716 + comment: &717 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129588,7 +129719,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 required: - url - html_url @@ -129602,8 +129733,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130411,8 +130542,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130429,7 +130560,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -130775,8 +130906,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -130856,7 +130987,7 @@ webhooks: type: string enum: - edited - changes: &740 + changes: &741 description: The changes to the comment. type: object properties: @@ -130868,9 +130999,9 @@ webhooks: type: string required: - from - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131681,8 +131812,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131699,7 +131830,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -132043,8 +132174,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -132125,9 +132256,9 @@ webhooks: type: string enum: - pinned - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132940,8 +133071,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132958,7 +133089,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -133304,8 +133435,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -133385,9 +133516,9 @@ webhooks: type: string enum: - unpinned - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134200,8 +134331,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134218,7 +134349,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -134564,8 +134695,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134654,9 +134785,9 @@ webhooks: type: number blocking_issue: *73 blocking_issue_repo: *69 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134745,9 +134876,9 @@ webhooks: type: number blocking_issue: *73 blocking_issue_repo: *69 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134835,9 +134966,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134926,9 +135057,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -135008,10 +135139,10 @@ webhooks: type: string enum: - assigned - assignee: *712 - enterprise: *692 - installation: *693 - issue: &719 + assignee: *713 + enterprise: *693 + installation: *694 + issue: &720 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135822,11 +135953,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135843,7 +135974,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -135946,8 +136077,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -136027,8 +136158,8 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136844,11 +136975,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136865,7 +136996,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -137111,8 +137242,8 @@ webhooks: required: - state - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -137191,8 +137322,8 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137999,11 +138130,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138020,7 +138151,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -138122,8 +138253,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -138202,8 +138333,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139033,11 +139164,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139054,7 +139185,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -139135,7 +139266,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &717 + milestone: &718 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139278,8 +139409,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -139378,8 +139509,8 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140190,11 +140321,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140208,7 +140339,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -140314,9 +140445,9 @@ webhooks: - active_lock_reason - body - reactions - label: *711 - organization: *694 - repository: *695 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -140396,8 +140527,8 @@ webhooks: type: string enum: - labeled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,11 +141338,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141225,7 +141356,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -141331,9 +141462,9 @@ webhooks: - active_lock_reason - body - reactions - label: *711 - organization: *694 - repository: *695 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -141413,8 +141544,8 @@ webhooks: type: string enum: - locked - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142249,11 +142380,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142267,7 +142398,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -142350,8 +142481,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -142430,8 +142561,8 @@ webhooks: type: string enum: - milestoned - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143260,11 +143391,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143281,7 +143412,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -143361,9 +143492,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *717 - organization: *694 - repository: *695 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -144250,11 +144381,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144354,7 +144485,7 @@ webhooks: required: - login - id - type: *216 + type: *217 required: - id - number @@ -144846,8 +144977,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145654,11 +145785,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145675,7 +145806,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -145781,8 +145912,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -145862,9 +145993,9 @@ webhooks: type: string enum: - pinned - enterprise: *692 - installation: *693 - issue: &718 + enterprise: *693 + installation: *694 + issue: &719 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146669,11 +146800,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146690,7 +146821,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -146792,8 +146923,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -146872,8 +147003,8 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147706,11 +147837,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147807,9 +147938,9 @@ webhooks: format: uri user_view_type: type: string - type: *216 - organization: *694 - repository: *695 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -148697,11 +148828,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148718,7 +148849,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -149311,11 +149442,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *692 - installation: *693 - issue: *718 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *719 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149395,12 +149526,12 @@ webhooks: type: string enum: - typed - enterprise: *692 - installation: *693 - issue: *719 - type: *216 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149481,7 +149612,7 @@ webhooks: type: string enum: - unassigned - assignee: &743 + assignee: &744 title: User type: - object @@ -149553,11 +149684,11 @@ webhooks: required: - login - id - enterprise: *692 - installation: *693 - issue: *719 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149636,12 +149767,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *692 - installation: *693 - issue: *719 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149721,8 +149852,8 @@ webhooks: type: string enum: - unlocked - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150555,11 +150686,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150576,7 +150707,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -150656,8 +150787,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150737,11 +150868,11 @@ webhooks: type: string enum: - unpinned - enterprise: *692 - installation: *693 - issue: *718 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *719 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150820,12 +150951,12 @@ webhooks: type: string enum: - untyped - enterprise: *692 - installation: *693 - issue: *719 - type: *216 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150905,11 +151036,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150987,11 +151118,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -151101,11 +151232,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -151187,9 +151318,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: &720 + enterprise: *693 + installation: *694 + marketplace_purchase: &721 title: Marketplace Purchase type: object required: @@ -151277,8 +151408,8 @@ webhooks: type: integer unit_count: type: integer - organization: *694 - previous_marketplace_purchase: &721 + organization: *695 + previous_marketplace_purchase: &722 title: Marketplace Purchase type: object properties: @@ -151362,7 +151493,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151442,10 +151573,10 @@ webhooks: - changed effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151533,7 +151664,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151615,10 +151746,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151704,7 +151835,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151785,8 +151916,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 marketplace_purchase: title: Marketplace Purchase type: object @@ -151872,9 +152003,9 @@ webhooks: type: integer unit_count: type: integer - organization: *694 - previous_marketplace_purchase: *721 - repository: *695 + organization: *695 + previous_marketplace_purchase: *722 + repository: *696 sender: *4 required: - action @@ -151954,12 +152085,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 - previous_marketplace_purchase: *721 - repository: *695 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 + previous_marketplace_purchase: *722 + repository: *696 sender: *4 required: - action @@ -152061,11 +152192,11 @@ webhooks: type: string required: - to - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152167,11 +152298,11 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152250,11 +152381,11 @@ webhooks: type: string enum: - removed - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152332,11 +152463,11 @@ webhooks: type: string enum: - added - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152414,7 +152545,7 @@ webhooks: required: - login - id - team: &722 + team: &723 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152644,11 +152775,11 @@ webhooks: type: string enum: - removed - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152727,7 +152858,7 @@ webhooks: required: - login - id - team: *722 + team: *723 required: - action - scope @@ -152809,8 +152940,8 @@ webhooks: type: string enum: - checks_requested - installation: *693 - merge_group: &723 + installation: *694 + merge_group: &724 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152829,15 +152960,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152923,10 +153054,10 @@ webhooks: - merged - invalidated - dequeued - installation: *693 - merge_group: *723 - organization: *694 - repository: *695 + installation: *694 + merge_group: *724 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152999,7 +153130,7 @@ webhooks: type: string enum: - deleted - enterprise: *692 + enterprise: *693 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153108,12 +153239,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *693 - organization: *694 + installation: *694 + organization: *695 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -153193,11 +153324,11 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153276,9 +153407,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - milestone: &724 + enterprise: *693 + installation: *694 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153420,8 +153551,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153500,11 +153631,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153614,11 +153745,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153698,11 +153829,11 @@ webhooks: type: string enum: - opened - enterprise: *692 - installation: *693 - milestone: *724 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153781,11 +153912,11 @@ webhooks: type: string enum: - blocked - blocked_user: *712 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + blocked_user: *713 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153864,11 +153995,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *712 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + blocked_user: *713 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153947,9 +154078,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - membership: &725 + enterprise: *693 + installation: *694 + membership: &726 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154059,8 +154190,8 @@ webhooks: - role - organization_url - user - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154138,11 +154269,11 @@ webhooks: type: string enum: - member_added - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154221,8 +154352,8 @@ webhooks: type: string enum: - member_invited - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -154344,10 +154475,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 - user: *712 + user: *713 required: - action - invitation @@ -154425,11 +154556,11 @@ webhooks: type: string enum: - member_removed - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154516,11 +154647,11 @@ webhooks: properties: from: type: string - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154597,9 +154728,9 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -155122,7 +155253,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &726 + items: &727 title: Ruby Gems metadata type: object properties: @@ -155219,7 +155350,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155295,9 +155426,9 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -155659,7 +155790,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 source_url: type: string format: uri @@ -155730,7 +155861,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155910,12 +156041,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *692 + enterprise: *693 id: type: integer - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - id @@ -155992,7 +156123,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &727 + personal_access_token_request: &728 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156142,10 +156273,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *692 - organization: *694 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156222,11 +156353,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *727 - enterprise: *692 - organization: *694 + personal_access_token_request: *728 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156302,11 +156433,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *727 - enterprise: *692 - organization: *694 + personal_access_token_request: *728 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156381,11 +156512,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *727 - organization: *694 - enterprise: *692 + personal_access_token_request: *728 + organization: *695 + enterprise: *693 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156490,7 +156621,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *728 + last_response: *729 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156522,8 +156653,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 zen: description: Random string of GitHub zen. @@ -156768,10 +156899,10 @@ webhooks: - from required: - note - enterprise: *692 - installation: *693 - organization: *694 - project_card: &729 + enterprise: *693 + installation: *694 + organization: *695 + project_card: &730 title: Project Card type: object properties: @@ -156894,7 +157025,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -156975,11 +157106,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project_card: *729 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *730 + repository: *696 sender: *4 required: - action @@ -157059,9 +157190,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 project_card: title: Project Card type: object @@ -157191,7 +157322,7 @@ webhooks: repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -157285,11 +157416,11 @@ webhooks: - from required: - note - enterprise: *692 - installation: *693 - organization: *694 - project_card: *729 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *730 + repository: *696 sender: *4 required: - action @@ -157383,9 +157514,9 @@ webhooks: - from required: - column_id - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 project_card: allOf: - title: Project Card @@ -157582,7 +157713,7 @@ webhooks: type: string required: - after_id - repository: *695 + repository: *696 sender: *4 required: - action @@ -157662,10 +157793,10 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - organization: *694 - project: &731 + enterprise: *693 + installation: *694 + organization: *695 + project: &732 title: Project type: object properties: @@ -157792,7 +157923,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157872,10 +158003,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project_column: &730 + enterprise: *693 + installation: *694 + organization: *695 + project_column: &731 title: Project Column type: object properties: @@ -157915,7 +158046,7 @@ webhooks: - name - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157994,14 +158125,14 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -158090,11 +158221,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 + repository: *696 sender: *4 required: - action @@ -158174,11 +158305,11 @@ webhooks: type: string enum: - moved - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 + repository: *696 sender: *4 required: - action @@ -158258,11 +158389,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158342,14 +158473,14 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - project: *731 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -158450,11 +158581,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158533,11 +158664,11 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158618,9 +158749,9 @@ webhooks: type: string enum: - closed - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158701,9 +158832,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158784,9 +158915,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158907,9 +159038,9 @@ webhooks: type: string to: type: string - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158992,7 +159123,7 @@ webhooks: type: string enum: - archived - changes: &735 + changes: &736 type: object properties: archived_at: @@ -159008,9 +159139,9 @@ webhooks: - string - 'null' format: date-time - installation: *693 - organization: *694 - projects_v2_item: &732 + installation: *694 + organization: *695 + projects_v2_item: &733 title: Projects v2 Item description: An item belonging to a project type: object @@ -159028,7 +159159,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *255 + content_type: *256 creator: *4 created_at: type: string @@ -159150,9 +159281,9 @@ webhooks: - 'null' to: type: string - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159234,9 +159365,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159317,9 +159448,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159424,7 +159555,7 @@ webhooks: oneOf: - type: string - type: integer - - &733 + - &734 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159448,7 +159579,7 @@ webhooks: required: - id - name - - &734 + - &735 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159488,8 +159619,8 @@ webhooks: oneOf: - type: string - type: integer - - *733 - *734 + - *735 type: - 'null' - string @@ -159512,9 +159643,9 @@ webhooks: - 'null' required: - body - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159611,9 +159742,9 @@ webhooks: type: - string - 'null' - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159696,10 +159827,10 @@ webhooks: type: string enum: - restored - changes: *735 - installation: *693 - organization: *694 - projects_v2_item: *732 + changes: *736 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159781,9 +159912,9 @@ webhooks: type: string enum: - reopened - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -159864,9 +159995,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -159947,9 +160078,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -160095,9 +160226,9 @@ webhooks: - string - 'null' format: date - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -160168,10 +160299,10 @@ webhooks: title: public event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - repository @@ -160248,13 +160379,13 @@ webhooks: type: string enum: - assigned - assignee: *712 - enterprise: *692 - installation: *693 - number: &737 + assignee: *713 + enterprise: *693 + installation: *694 + number: &738 description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -162625,7 +162756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -162707,11 +162838,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -165075,7 +165206,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -165157,11 +165288,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -167525,7 +167656,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -167607,13 +167738,13 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: &738 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: &739 allOf: - - *549 + - *551 - type: object properties: allow_auto_merge: @@ -167675,7 +167806,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *695 + repository: *696 sender: *4 required: - action @@ -167756,12 +167887,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -167841,11 +167972,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *692 - milestone: *252 - number: *737 - organization: *694 - pull_request: &739 + enterprise: *693 + milestone: *253 + number: *738 + organization: *695 + pull_request: &740 title: Pull Request type: object properties: @@ -170194,7 +170325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -170273,11 +170404,11 @@ webhooks: type: string enum: - dequeued - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -172645,7 +172776,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *695 + repository: *696 sender: *4 required: - action @@ -172769,12 +172900,12 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -172854,11 +172985,11 @@ webhooks: type: string enum: - enqueued - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -175211,7 +175342,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -175291,11 +175422,11 @@ webhooks: type: string enum: - labeled - enterprise: *692 - installation: *693 - label: *711 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + label: *712 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -177665,7 +177796,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -177746,10 +177877,10 @@ webhooks: type: string enum: - locked - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -180117,7 +180248,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -180197,12 +180328,12 @@ webhooks: type: string enum: - milestoned - enterprise: *692 - milestone: *252 - number: *737 - organization: *694 - pull_request: *739 - repository: *695 + enterprise: *693 + milestone: *253 + number: *738 + organization: *695 + pull_request: *740 + repository: *696 sender: *4 required: - action @@ -180281,12 +180412,12 @@ webhooks: type: string enum: - opened - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180367,12 +180498,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180452,12 +180583,12 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180832,9 +180963,9 @@ webhooks: - start_side - side - reactions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -183086,7 +183217,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -183166,7 +183297,7 @@ webhooks: type: string enum: - deleted - comment: &741 + comment: &742 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183459,9 +183590,9 @@ webhooks: - start_side - side - reactions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -185701,7 +185832,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -185781,11 +185912,11 @@ webhooks: type: string enum: - edited - changes: *740 - comment: *741 - enterprise: *692 - installation: *693 - organization: *694 + changes: *741 + comment: *742 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -188028,7 +188159,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -188109,9 +188240,9 @@ webhooks: type: string enum: - dismissed - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -190366,7 +190497,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 review: description: The review that was affected. type: object @@ -190617,9 +190748,9 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -192733,8 +192864,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: &742 + repository: *696 + review: &743 description: The review that was affected. type: object properties: @@ -192972,12 +193103,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -195346,7 +195477,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -195432,12 +195563,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -197813,7 +197944,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198008,12 +198139,12 @@ webhooks: type: string enum: - review_requested - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -200384,7 +200515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -200471,12 +200602,12 @@ webhooks: type: string enum: - review_requested - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -202838,7 +202969,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203022,9 +203153,9 @@ webhooks: type: string enum: - submitted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -205282,8 +205413,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: *742 + repository: *696 + review: *743 sender: *4 required: - action @@ -205363,9 +205494,9 @@ webhooks: type: string enum: - resolved - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -207518,7 +207649,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -207915,9 +208046,9 @@ webhooks: type: string enum: - unresolved - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -210053,7 +210184,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -210452,10 +210583,10 @@ webhooks: type: string before: type: string - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -212812,7 +212943,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -212894,11 +213025,11 @@ webhooks: type: string enum: - unassigned - assignee: *743 - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + assignee: *744 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -215270,7 +215401,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -215349,11 +215480,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *692 - installation: *693 - label: *711 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + label: *712 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -217714,7 +217845,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -217795,10 +217926,10 @@ webhooks: type: string enum: - unlocked - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -220149,7 +220280,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -220352,7 +220483,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *692 + enterprise: *693 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -220447,8 +220578,8 @@ webhooks: - url - author - committer - installation: *693 - organization: *694 + installation: *694 + organization: *695 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -221047,9 +221178,9 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -221526,7 +221657,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -221582,7 +221713,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -221660,9 +221791,9 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -221974,7 +222105,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -222024,7 +222155,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -222101,10 +222232,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - release: &744 + enterprise: *693 + installation: *694 + organization: *695 + release: &745 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -222435,7 +222566,7 @@ webhooks: - updated_at - zipball_url - body - repository: *695 + repository: *696 sender: *4 required: - action @@ -222512,11 +222643,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -222633,11 +222764,11 @@ webhooks: type: boolean required: - to - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -222715,9 +222846,9 @@ webhooks: type: string enum: - prereleased - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -223053,7 +223184,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223129,10 +223260,10 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - release: &745 + enterprise: *693 + installation: *694 + organization: *695 + release: &746 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -223465,7 +223596,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223541,11 +223672,11 @@ webhooks: type: string enum: - released - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -223621,11 +223752,11 @@ webhooks: type: string enum: - unpublished - enterprise: *692 - installation: *693 - organization: *694 - release: *745 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *746 + repository: *696 sender: *4 required: - action @@ -223701,11 +223832,11 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_advisory: *613 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *615 sender: *4 required: - action @@ -223781,11 +223912,11 @@ webhooks: type: string enum: - reported - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_advisory: *613 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *615 sender: *4 required: - action @@ -223861,10 +223992,10 @@ webhooks: type: string enum: - archived - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -223941,10 +224072,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224022,10 +224153,10 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224110,10 +224241,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224228,10 +224359,10 @@ webhooks: - 'null' items: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224303,10 +224434,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 status: type: string @@ -224387,10 +224518,10 @@ webhooks: type: string enum: - privatized - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224467,10 +224598,10 @@ webhooks: type: string enum: - publicized - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224564,10 +224695,10 @@ webhooks: - name required: - repository - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224647,11 +224778,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 sender: *4 required: - action @@ -224729,11 +224860,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 sender: *4 required: - action @@ -224811,11 +224942,11 @@ webhooks: type: string enum: - edited - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 changes: type: object properties: @@ -224834,16 +224965,16 @@ webhooks: properties: added: type: array - items: *268 + items: *269 deleted: type: array - items: *268 + items: *269 updated: type: array items: type: object properties: - condition: *268 + condition: *269 changes: type: object properties: @@ -224876,16 +225007,16 @@ webhooks: properties: added: type: array - items: *569 + items: *571 deleted: type: array - items: *569 + items: *571 updated: type: array items: type: object properties: - rule: *569 + rule: *571 changes: type: object properties: @@ -225122,10 +225253,10 @@ webhooks: - from required: - owner - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225203,10 +225334,10 @@ webhooks: type: string enum: - unarchived - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225284,7 +225415,7 @@ webhooks: type: string enum: - create - alert: &746 + alert: &747 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -225409,10 +225540,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225622,10 +225753,10 @@ webhooks: type: string enum: - dismissed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225703,11 +225834,11 @@ webhooks: type: string enum: - reopen - alert: *746 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *747 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225909,10 +226040,10 @@ webhooks: enum: - fixed - open - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225990,7 +226121,7 @@ webhooks: type: string enum: - assigned - alert: &747 + alert: &748 type: object properties: number: *163 @@ -226105,10 +226236,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226186,11 +226317,11 @@ webhooks: type: string enum: - created - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226271,11 +226402,11 @@ webhooks: type: string enum: - created - alert: *747 - installation: *693 - location: *748 - organization: *694 - repository: *695 + alert: *748 + installation: *694 + location: *749 + organization: *695 + repository: *696 sender: *4 required: - location @@ -226513,11 +226644,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226595,11 +226726,11 @@ webhooks: type: string enum: - reopened - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226677,11 +226808,11 @@ webhooks: type: string enum: - resolved - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226759,12 +226890,12 @@ webhooks: type: string enum: - unassigned - alert: *747 + alert: *748 assignee: *4 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226842,11 +226973,11 @@ webhooks: type: string enum: - validated - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226976,10 +227107,10 @@ webhooks: - organization - enterprise - - repository: *695 - enterprise: *692 - installation: *693 - organization: *694 + repository: *696 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -227057,11 +227188,11 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - security_advisory: &749 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: &750 description: The details of the security advisory, including summary, description, and severity. type: object @@ -227247,11 +227378,11 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - security_advisory: *749 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: *750 sender: *4 required: - action @@ -227324,10 +227455,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -227513,11 +227644,11 @@ webhooks: from: type: object properties: - security_and_analysis: *267 - enterprise: *692 - installation: *693 - organization: *694 - repository: *313 + security_and_analysis: *268 + enterprise: *693 + installation: *694 + organization: *695 + repository: *315 sender: *4 required: - changes @@ -227595,12 +227726,12 @@ webhooks: type: string enum: - cancelled - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: &750 + sponsorship: &751 type: object properties: created_at: @@ -227905,12 +228036,12 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - sponsorship @@ -227998,12 +228129,12 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228080,17 +228211,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &751 + effective_date: &752 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: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - sponsorship @@ -228164,7 +228295,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &752 + changes: &753 type: object properties: tier: @@ -228208,13 +228339,13 @@ webhooks: - from required: - tier - effective_date: *751 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + effective_date: *752 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228291,13 +228422,13 @@ webhooks: type: string enum: - tier_changed - changes: *752 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + changes: *753 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228371,10 +228502,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228458,10 +228589,10 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228895,15 +229026,15 @@ webhooks: type: - string - 'null' - enterprise: *692 + enterprise: *693 id: description: The unique identifier of the status. type: integer - installation: *693 + installation: *694 name: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 sha: description: The Commit SHA. @@ -229019,9 +229150,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229111,9 +229242,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229203,9 +229334,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229295,9 +229426,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229374,12 +229505,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - team: &753 + team: &754 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -229609,9 +229740,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -230081,7 +230212,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230157,9 +230288,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -230629,7 +230760,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230706,9 +230837,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -231178,7 +231309,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -231322,9 +231453,9 @@ webhooks: - from required: - permissions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -231794,7 +231925,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - changes @@ -231872,9 +232003,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -232344,7 +232475,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -232420,10 +232551,10 @@ webhooks: type: string enum: - started - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -232496,17 +232627,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *692 + enterprise: *693 inputs: type: - object - 'null' additionalProperties: true - installation: *693 - organization: *694 + installation: *694 + organization: *695 ref: type: string - repository: *695 + repository: *696 sender: *4 workflow: type: string @@ -232588,10 +232719,10 @@ webhooks: type: string enum: - completed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: allOf: @@ -232847,7 +232978,7 @@ webhooks: type: string required: - conclusion - deployment: *466 + deployment: *468 required: - action - repository @@ -232926,10 +233057,10 @@ webhooks: type: string enum: - in_progress - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: allOf: @@ -233211,7 +233342,7 @@ webhooks: required: - status - steps - deployment: *466 + deployment: *468 required: - action - repository @@ -233290,10 +233421,10 @@ webhooks: type: string enum: - queued - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: type: object @@ -233439,7 +233570,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233518,10 +233649,10 @@ webhooks: type: string enum: - waiting - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: type: object @@ -233668,7 +233799,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233748,12 +233879,12 @@ webhooks: type: string enum: - completed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object @@ -234772,12 +234903,12 @@ webhooks: type: string enum: - in_progress - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object @@ -235781,12 +235912,12 @@ webhooks: type: string enum: - requested - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 4271801edf..ac021ba75b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -19433,6 +19433,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", @@ -19838,6 +19847,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", @@ -20139,6 +20158,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", @@ -20638,6 +20666,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", @@ -21068,6 +21105,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", @@ -21442,6 +21488,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", @@ -21734,6 +21790,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", @@ -22588,6 +22653,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", @@ -23613,6 +23687,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", @@ -25370,6 +25452,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=", @@ -25555,6 +25659,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -104970,20 +105075,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", @@ -105187,7 +105294,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -105203,19 +105310,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", @@ -105252,7 +105359,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", @@ -112742,6 +112849,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", @@ -113204,6 +113320,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", @@ -113505,6 +113630,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", @@ -113891,6 +114025,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", @@ -114592,6 +114735,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", @@ -115020,6 +115172,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", @@ -115312,6 +115473,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", @@ -116032,6 +116202,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", @@ -123829,27 +124008,390 @@ } } }, - "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." + "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", + "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, 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, + "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]\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": [ + { + "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-user-management" + "subcategory": "copilot-content-exclusion-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.", + "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/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/set-copilot-content-exclusion-for-organization", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization" + "url": "https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -123863,60 +124405,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 for which to revoke 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": { "200": { - "description": "OK", + "description": "Success", "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" + "message": { + "type": "string" } - }, - "required": [ - "seats_cancelled" - ] + } }, "examples": { "default": { "value": { - "seats_cancelled": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -124027,15 +124593,68 @@ } } }, + "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": "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." + "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": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -124795,6 +125414,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", @@ -126560,6 +127187,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=", @@ -126745,6 +127394,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -127368,7 +128018,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": [ { @@ -224455,6 +225105,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -229160,6 +229885,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -242276,6 +243076,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -242634,6 +243437,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -339117,6 +339923,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", @@ -368743,6 +369558,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", @@ -368930,7 +369772,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", @@ -368951,7 +369793,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", @@ -371200,6 +372042,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", @@ -372404,7 +373254,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, @@ -372522,7 +373394,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -373854,7 +374727,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 + } + ] } } } @@ -373997,10 +374892,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 }, @@ -375142,7 +376053,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -607567,6 +608479,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -612138,6 +613125,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -638758,508 +639820,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", - "examples": [ - "v0.1" - ] - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/zipball/v0.1" - ] - }, - "tarball_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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": [ { @@ -639281,67 +639864,108 @@ } }, { - "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", + "examples": [ + "v0.1" + ] + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/zipball/v0.1" + ] + }, + "tarball_url": { + "type": "string", + "format": "uri", + "examples": [ + "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" } } } @@ -639351,11 +639975,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}": { @@ -909254,7 +909875,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -912238,7 +912859,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -915222,7 +915843,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -918206,7 +918827,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -921190,7 +921811,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -924174,7 +924795,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -927158,7 +927779,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -930142,7 +930763,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 36b2246c65..9ab54b29b5 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &301 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &615 + - &617 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &194 + - &195 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 @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &196 + default: &197 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &198 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &198 + default: &199 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7756,6 +7756,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 @@ -8044,6 +8052,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 @@ -8424,6 +8440,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 @@ -9182,7 +9206,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 - - &456 + - &458 name: has in: query description: |- @@ -9197,6 +9221,15 @@ paths: enum: - patch - &186 + 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 + - &187 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9206,7 +9239,7 @@ paths: enum: - development - runtime - - &187 + - &188 name: sort in: query description: |- @@ -9232,7 +9265,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 type: object description: A Dependabot alert. properties: @@ -9302,7 +9335,7 @@ paths: - direct - transitive - - security_advisory: &457 + security_advisory: &459 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9570,7 +9603,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &458 + auto_dismissed_at: &460 type: - string - 'null' @@ -9578,7 +9611,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &459 + dismissal_request: &461 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9641,7 +9674,7 @@ paths: - repository additionalProperties: false examples: - default: &189 + default: &190 value: - number: 2 state: dismissed @@ -9745,6 +9778,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= @@ -9894,6 +9946,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -10985,7 +11038,7 @@ paths: properties: action: type: string - discussion: &708 + discussion: &709 title: Discussion description: A Discussion in a repository. type: object @@ -11488,7 +11541,7 @@ paths: milestone: anyOf: - type: 'null' - - &252 + - &253 title: Milestone description: A collection of related issues and pull requests. @@ -11660,7 +11713,7 @@ paths: timeline_url: type: string format: uri - type: &216 + type: &217 title: Issue Type description: The type of issue. type: @@ -11771,7 +11824,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &627 + sub_issues_summary: &628 title: Sub-issues Summary type: object properties: @@ -11855,7 +11908,7 @@ paths: pin: anyOf: - type: 'null' - - &528 + - &530 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -11882,7 +11935,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &628 + issue_dependencies_summary: &629 title: Issue Dependencies Summary type: object properties: @@ -11901,7 +11954,7 @@ paths: - total_blocking issue_field_values: type: array - items: &629 + items: &630 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12682,7 +12735,7 @@ paths: type: string release: allOf: - - &560 + - &562 title: Release description: A release. type: object @@ -12764,7 +12817,7 @@ paths: author: *4 assets: type: array - items: &561 + items: &563 title: Release Asset description: Data related to a release. type: object @@ -13367,7 +13420,7 @@ paths: url: type: string format: uri - user: &635 + user: &636 title: Public User description: Public User type: object @@ -15264,7 +15317,7 @@ paths: - closed - all default: open - - &219 + - &220 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15315,7 +15368,7 @@ paths: type: array items: *73 examples: - default: &220 + default: &221 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16727,14 +16780,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &310 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &311 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16796,7 +16849,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &314 + '301': &316 description: Moved permanently content: application/json: @@ -16818,7 +16871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &536 + - &538 name: all description: If `true`, show notifications marked as read. in: query @@ -16826,7 +16879,7 @@ paths: schema: type: boolean default: false - - &537 + - &539 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16836,7 +16889,7 @@ paths: type: boolean default: false - *78 - - &538 + - &540 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: @@ -17218,7 +17271,7 @@ paths: type: boolean examples: - false - security_and_analysis: &267 + security_and_analysis: &268 type: - object - 'null' @@ -17422,7 +17475,7 @@ paths: - url - subscription_url examples: - default: &539 + default: &541 value: - id: '1' repository: @@ -18955,7 +19008,7 @@ paths: required: false schema: type: string - - &685 + - &686 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19101,7 +19154,7 @@ paths: parameters: - *65 - *108 - - &686 + - &687 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 @@ -19213,7 +19266,7 @@ paths: - *108 - *110 - *109 - - &687 + - &688 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19221,7 +19274,7 @@ paths: schema: type: string - *111 - - &688 + - &689 name: sku description: The SKU to query for usage. in: query @@ -20200,7 +20253,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21447,7 +21500,7 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &329 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` @@ -21530,7 +21583,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 type: object properties: days: @@ -21572,7 +21625,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &334 type: object properties: days: @@ -21629,7 +21682,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -21688,7 +21741,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -21742,7 +21795,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -22377,7 +22430,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 type: object properties: default_workflow_permissions: &138 @@ -22428,7 +22481,7 @@ paths: required: false content: application/json: - schema: &337 + schema: &339 type: object properties: default_workflow_permissions: *138 @@ -22921,7 +22974,7 @@ paths: type: array items: *145 examples: - default: &638 + default: &639 value: total_count: 1 repositories: @@ -23568,7 +23621,7 @@ paths: application/json: schema: type: array - items: &338 + items: &340 title: Runner Application description: Runner Application type: object @@ -23593,7 +23646,7 @@ paths: - download_url - filename examples: - default: &339 + default: &341 value: - os: osx architecture: x64 @@ -23679,7 +23732,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &342 description: Response content: application/json: @@ -23794,7 +23847,7 @@ paths: - token - expires_at examples: - default: &341 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23833,7 +23886,7 @@ paths: application/json: schema: *149 examples: - default: &342 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23867,7 +23920,7 @@ paths: application/json: schema: *147 examples: - default: &343 + default: &345 value: id: 23 name: MBP @@ -24093,7 +24146,7 @@ paths: - *65 - *146 responses: - '200': &344 + '200': &346 description: Response content: application/json: @@ -24150,7 +24203,7 @@ paths: parameters: - *65 - *146 - - &345 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24282,7 +24335,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24317,7 +24370,7 @@ paths: - key_id - key examples: - default: &358 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24730,7 +24783,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *65 - - &326 + - &328 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)." @@ -25264,20 +25317,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. @@ -25429,7 +25484,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -25442,17 +25497,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 @@ -25493,7 +25548,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: |- @@ -25904,12 +25959,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &668 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &669 value: subject_digests: - sha256:abc123 @@ -25968,7 +26023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &670 value: attestations_subject_digests: - sha256:abc: @@ -26319,7 +26374,7 @@ paths: initiator: type: string examples: - default: &371 + default: &373 value: attestations: - bundle: @@ -26672,7 +26727,7 @@ paths: parent: anyOf: - type: 'null' - - &231 + - &232 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27275,7 +27330,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *65 - - &395 + - &397 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`, @@ -27285,7 +27340,7 @@ paths: schema: &170 type: string description: The name of the tool used to generate the code scanning analysis. - - &396 + - &398 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 @@ -27309,7 +27364,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -27332,7 +27387,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -27366,7 +27421,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: &400 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27388,7 +27443,7 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: &401 + dismissed_reason: &403 type: - string - 'null' @@ -27399,14 +27454,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &402 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &403 + rule: &405 type: object properties: id: @@ -27467,7 +27522,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &404 + tool: &406 type: object properties: name: *170 @@ -27478,26 +27533,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *171 - most_recent_instance: &405 + most_recent_instance: &407 type: object properties: - ref: &397 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &415 + analysis_key: &417 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: &416 + environment: &418 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: &417 + category: &419 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27511,7 +27566,7 @@ paths: properties: text: type: string - location: &418 + location: &420 type: object description: Describe a region within a file for the alert. properties: @@ -27532,7 +27587,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: &419 + items: &421 type: - string - 'null' @@ -28126,6 +28181,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 @@ -28484,6 +28546,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 @@ -28808,7 +28877,7 @@ paths: type: integer codespaces: type: array - items: &221 + items: &222 type: object title: Codespace description: A codespace. @@ -28843,7 +28912,7 @@ paths: machine: anyOf: - type: 'null' - - &431 + - &433 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29130,7 +29199,7 @@ paths: - pulls_url - recent_folders examples: - default: &222 + default: &223 value: total_count: 3 codespaces: @@ -29795,7 +29864,7 @@ paths: - updated_at - visibility examples: - default: &432 + default: &434 value: total_count: 2 secrets: @@ -29833,7 +29902,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &435 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29868,7 +29937,7 @@ paths: - key_id - key examples: - default: &434 + default: &436 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29900,7 +29969,7 @@ paths: application/json: schema: *179 examples: - default: &436 + default: &438 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30367,7 +30436,7 @@ paths: currently being billed. seats: type: array - items: &224 + items: &225 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30842,6 +30911,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: + - *65 + 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': *105 + '401': *23 + '403': *27 + '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: + - *65 + 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': *105 + '401': *23 + '403': *27 + '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 @@ -30898,7 +31112,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31213,7 +31427,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -31315,7 +31529,7 @@ paths: '500': *105 '403': *27 '404': *6 - '422': &306 + '422': &307 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -31377,6 +31591,7 @@ paths: enum: - patch - deployment + - *186 - name: runtime_risk in: query description: |- @@ -31385,8 +31600,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *186 - *187 + - *188 - *51 - *43 - *44 @@ -31398,9 +31613,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *35 '400': *14 '403': *27 @@ -31444,7 +31659,7 @@ paths: type: integer secrets: type: array - items: &190 + items: &191 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -31523,7 +31738,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &464 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31542,7 +31757,7 @@ paths: - key_id - key examples: - default: &463 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31572,7 +31787,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -31637,9 +31852,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 @@ -31873,7 +32086,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Package description: A software package type: object @@ -31944,7 +32157,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &235 value: - id: 197 name: hello_docker @@ -32114,7 +32327,7 @@ paths: application/json: schema: type: array - items: &213 + items: &214 title: Organization Invitation description: Organization Invitation type: object @@ -32168,7 +32381,7 @@ paths: - invitation_teams_url - node_id examples: - default: &214 + default: &215 value: - id: 1 login: monalisa @@ -32235,7 +32448,7 @@ paths: application/json: schema: type: array - items: &191 + items: &192 title: Org Hook description: Org Hook type: object @@ -32420,9 +32633,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: &192 + default: &193 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -32470,7 +32683,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *65 - - &193 + - &194 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. @@ -32483,9 +32696,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '404': *6 x-github: githubCloudOnly: false @@ -32513,7 +32726,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32559,7 +32772,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: default: value: @@ -32601,7 +32814,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32629,7 +32842,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *65 - - *193 + - *194 responses: '200': description: Response @@ -32660,7 +32873,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32711,9 +32924,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *65 - - *193 - - *17 - *194 + - *17 + - *195 responses: '200': description: Response @@ -32721,9 +32934,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -32749,16 +32962,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *65 - - *193 + - *194 - *16 responses: '200': description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: *198 + default: *199 '400': *14 '422': *15 x-github: @@ -32784,7 +32997,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *65 - - *193 + - *194 - *16 responses: '202': *37 @@ -32814,7 +33027,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32837,7 +33050,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *65 - - &203 + - &204 name: actor_type in: path description: The type of the actor @@ -32850,14 +33063,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &204 + - &205 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &199 + - &200 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`.' @@ -32865,7 +33078,7 @@ paths: required: true schema: type: string - - &200 + - &201 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) @@ -32960,12 +33173,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *65 - - *199 - *200 + - *201 - *19 - *17 - *51 - - &209 + - &210 name: sort description: The property to sort the results by. in: query @@ -33044,14 +33257,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *65 - - *199 - *200 + - *201 responses: '200': description: Response content: application/json: - schema: &201 + schema: &202 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -33067,7 +33280,7 @@ paths: type: integer format: int64 examples: - default: &202 + default: &203 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33088,23 +33301,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *65 - - &205 + - &206 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *199 - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 x-github: enabledForGitHubApps: true category: orgs @@ -33123,18 +33336,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *65 - - *199 - *200 - - *203 + - *201 - *204 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *202 + default: *203 x-github: enabledForGitHubApps: true category: orgs @@ -33152,9 +33365,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *65 - - *199 - *200 - - &206 + - *201 + - &207 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -33167,7 +33380,7 @@ paths: description: Response content: application/json: - schema: &207 + schema: &208 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -33183,7 +33396,7 @@ paths: type: integer format: int64 examples: - default: &208 + default: &209 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33220,18 +33433,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *65 - - *205 - - *199 - - *200 - *206 + - *200 + - *201 + - *207 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -33249,19 +33462,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *65 - - *203 - *204 - - *199 + - *205 - *200 - - *206 + - *201 + - *207 responses: '200': description: Response content: application/json: - schema: *207 + schema: *208 examples: - default: *208 + default: *209 x-github: enabledForGitHubApps: true category: orgs @@ -33279,13 +33492,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *65 - - *205 - - *199 + - *206 - *200 + - *201 - *19 - *17 - *51 - - *209 + - *210 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -33369,7 +33582,7 @@ paths: application/json: schema: *20 examples: - default: &501 + default: &503 value: id: 1 account: @@ -33535,12 +33748,12 @@ paths: application/json: schema: anyOf: - - &211 + - &212 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &210 + limit: &211 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -33568,7 +33781,7 @@ paths: properties: {} additionalProperties: false examples: - default: &212 + default: &213 value: limit: collaborators_only origin: organization @@ -33597,13 +33810,13 @@ paths: required: true content: application/json: - schema: &502 + schema: &504 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *210 + limit: *211 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -33628,9 +33841,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -33706,9 +33919,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 '404': *6 @@ -33785,7 +33998,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: default: value: @@ -33840,7 +34053,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *65 - - &215 + - &216 name: invitation_id description: The unique identifier of the invitation. in: path @@ -33871,7 +34084,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *65 - - *215 + - *216 - *17 - *19 responses: @@ -33883,7 +34096,7 @@ paths: type: array items: *180 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33926,7 +34139,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -34014,9 +34227,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: &217 + default: &218 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -34049,7 +34262,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *65 - - &218 + - &219 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -34105,9 +34318,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 '422': *7 x-github: @@ -34132,7 +34345,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *65 - - *218 + - *219 responses: '204': description: Response @@ -34195,7 +34408,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: type description: Can be the name of an issue type. in: query @@ -34226,7 +34439,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -34385,9 +34598,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -34414,7 +34627,7 @@ paths: parameters: - *65 - *61 - - &223 + - &224 name: codespace_name in: path required: true @@ -34449,15 +34662,15 @@ paths: parameters: - *65 - *61 - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: &430 + default: &432 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34637,7 +34850,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -34713,7 +34926,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &226 title: Org Membership description: Org Membership type: object @@ -34782,7 +34995,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &226 + response-if-user-has-an-active-admin-membership-with-organization: &227 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -34883,9 +35096,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: - response-if-user-already-had-membership-with-organization: *226 + response-if-user-already-had-membership-with-organization: *227 '422': *15 '403': *27 x-github: @@ -34957,7 +35170,7 @@ paths: application/json: schema: type: array - items: &227 + items: &228 title: Migration description: A migration. type: object @@ -35295,7 +35508,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35474,7 +35687,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *65 - - &228 + - &229 name: migration_id description: The unique identifier of the migration. in: path @@ -35502,7 +35715,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35672,7 +35885,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *65 - - *228 + - *229 responses: '302': description: Response @@ -35694,7 +35907,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *65 - - *228 + - *229 responses: '204': description: Response @@ -35718,8 +35931,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *65 - - *228 - - &650 + - *229 + - &651 name: repo_name description: repo_name parameter in: path @@ -35747,7 +35960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *65 - - *228 + - *229 - *17 - *19 responses: @@ -35759,7 +35972,7 @@ paths: type: array items: *145 examples: - default: &239 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35914,7 +36127,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &230 + items: &231 title: Organization Role description: Organization roles type: object @@ -36091,7 +36304,7 @@ paths: parameters: - *65 - *67 - - &229 + - &230 name: role_id description: The unique identifier of the role. in: path @@ -36128,7 +36341,7 @@ paths: parameters: - *65 - *67 - - *229 + - *230 responses: '204': description: Response @@ -36181,7 +36394,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36213,7 +36426,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36242,13 +36455,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *65 - - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *230 + schema: *231 examples: default: value: @@ -36299,7 +36512,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *65 - - *229 + - *230 - *17 - *19 responses: @@ -36378,7 +36591,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 type: description: The ownership type of the team type: string @@ -36411,7 +36624,7 @@ paths: - type - parent examples: - default: *232 + default: *233 headers: Link: *57 '404': @@ -36441,7 +36654,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *65 - - *229 + - *230 - *17 - *19 responses: @@ -36470,7 +36683,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *231 + items: *232 name: type: - string @@ -36780,7 +36993,7 @@ paths: - nuget - container - *65 - - &651 + - &652 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -36816,12 +37029,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '403': *27 '401': *23 - '400': &653 + '400': &654 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36843,7 +37056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &235 + - &236 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 @@ -36861,7 +37074,7 @@ paths: - docker - nuget - container - - &236 + - &237 name: package_name description: The name of the package. in: path @@ -36874,7 +37087,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -36926,8 +37139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *235 - *236 + - *237 - *65 responses: '204': @@ -36960,8 +37173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - name: token description: package token @@ -36994,8 +37207,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: - - *235 - *236 + - *237 - *65 - *19 - *17 @@ -37016,7 +37229,7 @@ paths: application/json: schema: type: array - items: &237 + items: &238 title: Package Version description: A version of a software package type: object @@ -37151,10 +37364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - &238 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -37166,7 +37379,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37202,10 +37415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - *238 + - *239 responses: '204': description: Response @@ -37237,10 +37450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *235 - *236 + - *237 - *65 - - *238 + - *239 responses: '204': description: Response @@ -37270,7 +37483,7 @@ paths: - *65 - *17 - *19 - - &240 + - &241 name: sort description: The property by which to sort the results. in: query @@ -37281,7 +37494,7 @@ paths: - created_at default: created_at - *51 - - &241 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -37293,7 +37506,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &242 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -37302,7 +37515,7 @@ paths: type: string examples: - Hello-World - - &243 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -37311,7 +37524,7 @@ paths: type: string examples: - issues_read - - &244 + - &245 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) @@ -37321,7 +37534,7 @@ paths: schema: type: string format: date-time - - &245 + - &246 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) @@ -37331,7 +37544,7 @@ paths: schema: type: string format: date-time - - &246 + - &247 name: token_id description: The ID of the token in: query @@ -37650,7 +37863,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -37676,14 +37889,14 @@ paths: - *65 - *17 - *19 - - *240 - - *51 - *241 + - *51 - *242 - *243 - *244 - *245 - *246 + - *247 responses: '500': *105 '422': *15 @@ -37967,7 +38180,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -38009,7 +38222,7 @@ paths: type: integer configurations: type: array - items: &247 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38305,7 +38518,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &248 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -38403,9 +38616,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -38573,7 +38786,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -38647,7 +38860,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &736 + - &737 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38732,7 +38945,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38835,7 +39048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &252 name: project_number description: The project's number. in: path @@ -38848,9 +39061,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -38873,7 +39086,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true description: Details of the draft item to create in the project. @@ -38907,7 +39120,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Projects v2 Item description: An item belonging to a project type: object @@ -38921,7 +39134,7 @@ paths: content: oneOf: - *73 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -39041,7 +39254,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -39140,7 +39353,7 @@ paths: _links: type: object properties: - comments: &253 + comments: &254 title: Link description: Hypermedia Link type: object @@ -39149,13 +39362,13 @@ paths: type: string required: - href - commits: *253 - statuses: *253 - html: *253 - issue: *253 - review_comments: *253 - review_comment: *253 - self: *253 + commits: *254 + statuses: *254 + html: *254 + issue: *254 + review_comments: *254 + review_comment: *254 + self: *254 required: - comments - commits @@ -39166,7 +39379,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: &546 + auto_merge: &548 title: Auto merge description: The status of auto merging a pull request. type: @@ -39268,7 +39481,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &255 + content_type: &256 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -39312,7 +39525,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &257 + draft_issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39386,7 +39599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *252 - *65 - *17 - *43 @@ -39398,7 +39611,7 @@ paths: application/json: schema: type: array - items: &254 + items: &255 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -39548,7 +39761,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &673 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39678,7 +39891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *251 + - *252 - *65 requestBody: required: true @@ -39725,7 +39938,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &673 + items: &674 type: object properties: name: @@ -39762,7 +39975,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &674 + iteration_configuration: &675 type: object description: The configuration for iteration fields. properties: @@ -39812,7 +40025,7 @@ paths: value: name: Due date data_type: date - single_select_field: &675 + single_select_field: &676 summary: Create a single select field value: name: Priority @@ -39839,7 +40052,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &676 + iteration_field: &677 summary: Create an iteration field value: name: Sprint @@ -39863,9 +40076,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *254 + schema: *255 examples: - text_field: &677 + text_field: &678 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39874,7 +40087,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: &678 + number_field: &679 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -39883,7 +40096,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: &679 + date_field: &680 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -39892,7 +40105,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: &680 + single_select_field: &681 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39926,7 +40139,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &681 + iteration_field: &682 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -39971,8 +40184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &682 + - *252 + - &683 name: field_id description: The unique identifier of the field. in: path @@ -39985,9 +40198,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: &683 + default: &684 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40043,7 +40256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *252 - *65 - 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) @@ -40076,7 +40289,7 @@ paths: application/json: schema: type: array - items: &258 + items: &259 title: Projects v2 Item description: An item belonging to a project type: object @@ -40093,7 +40306,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *255 + content_type: *256 content: type: - object @@ -40143,7 +40356,7 @@ paths: - updated_at - archived_at examples: - default: &259 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40841,7 +41054,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -40911,22 +41124,22 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *257 + value: *258 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *257 + value: *258 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *257 + value: *258 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *257 + value: *258 '304': *35 '403': *27 '401': *23 @@ -40946,9 +41159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *252 - *65 - - &260 + - &261 name: item_id description: The unique identifier of the project item. in: path @@ -40974,9 +41187,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -40997,9 +41210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *252 - *65 - - *260 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -41072,13 +41285,13 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - text_field: *259 - number_field: *259 - date_field: *259 - single_select_field: *259 - iteration_field: *259 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *23 '403': *27 '404': *6 @@ -41098,9 +41311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *252 - *65 - - *260 + - *261 responses: '204': description: Response @@ -41124,7 +41337,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *65 - - *251 + - *252 requestBody: required: true content: @@ -41198,7 +41411,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &664 + schema: &665 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -41302,7 +41515,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &261 + value: &262 value: id: 1 number: 1 @@ -41348,10 +41561,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *261 + value: *262 roadmap_view: summary: Response for creating a roadmap view - value: *261 + value: *262 '304': *35 '403': *27 '401': *23 @@ -41379,9 +41592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *251 + - *252 - *65 - - &684 + - &685 name: view_number description: The number that identifies the project view. in: path @@ -41413,9 +41626,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -41448,7 +41661,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41526,7 +41739,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41586,7 +41799,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *263 minItems: 1 maxItems: 100 required: @@ -41616,9 +41829,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41640,7 +41853,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *65 - - &264 + - &265 name: custom_property_name description: The custom property name in: path @@ -41652,9 +41865,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &265 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41689,7 +41902,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *65 - - *264 + - *265 requestBody: required: true content: @@ -41769,9 +41982,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *27 '404': *6 x-github: @@ -41795,7 +42008,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *65 - - *264 + - *265 responses: '204': *176 '403': *27 @@ -41859,7 +42072,7 @@ paths: - octocat/Hello-World properties: type: array - items: &266 + items: &267 title: Custom Property Value description: Custom property name and associated value type: object @@ -41949,7 +42162,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *266 + items: *267 required: - repository_names - properties @@ -42141,7 +42354,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -42344,7 +42557,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Full Repository description: Full Repository type: object @@ -42822,7 +43035,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &450 + code_of_conduct: &452 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42852,7 +43065,7 @@ paths: - key - name - html_url - security_and_analysis: *267 + security_and_analysis: *268 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42936,7 +43149,7 @@ paths: - network_count - subscribers_count examples: - default: &315 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43457,7 +43670,7 @@ paths: - *65 - *17 - *19 - - &568 + - &570 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43476,7 +43689,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43511,7 +43724,7 @@ paths: source: type: string description: The name of the source - enforcement: &270 + enforcement: &271 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43524,7 +43737,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &271 + items: &272 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43595,7 +43808,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &268 + - &269 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43619,7 +43832,7 @@ paths: match. items: type: string - - &272 + - &273 title: Organization ruleset conditions type: object description: |- @@ -43633,7 +43846,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43667,7 +43880,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43689,7 +43902,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *268 + - *269 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43702,7 +43915,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &269 + items: &270 title: Repository ruleset property targeting definition type: object @@ -43735,7 +43948,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *269 + items: *270 required: - repository_property type: @@ -43743,12 +43956,12 @@ paths: - object rules: type: array - items: &569 + items: &571 title: Repository Rule type: object description: A repository rule. oneOf: - - &273 + - &274 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43760,7 +43973,7 @@ paths: type: string enum: - creation - - &274 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -43781,7 +43994,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &275 + - &276 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43793,7 +44006,7 @@ paths: type: string enum: - deletion - - &276 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43805,7 +44018,7 @@ paths: type: string enum: - required_linear_history - - &567 + - &569 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43883,7 +44096,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &277 + - &278 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43907,7 +44120,7 @@ paths: type: string required: - required_deployment_environments - - &278 + - &279 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43919,7 +44132,7 @@ paths: type: string enum: - required_signatures - - &279 + - &280 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -44025,7 +44238,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &280 + - &281 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -44073,7 +44286,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &281 + - &282 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -44085,7 +44298,7 @@ paths: type: string enum: - non_fast_forward - - &282 + - &283 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -44122,7 +44335,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -44159,7 +44372,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44196,7 +44409,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44233,7 +44446,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44270,7 +44483,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -44295,7 +44508,7 @@ paths: type: string required: - restricted_file_paths - - &288 + - &289 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -44319,7 +44532,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &289 + - &290 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -44342,7 +44555,7 @@ paths: type: string required: - restricted_file_extensions - - &290 + - &291 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -44367,7 +44580,7 @@ paths: maximum: 100 required: - max_file_size - - &291 + - &292 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -44417,7 +44630,7 @@ paths: - repository_id required: - workflows - - &292 + - &293 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44478,7 +44691,7 @@ paths: - tool required: - code_scanning_tools - - &293 + - &294 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44577,21 +44790,20 @@ paths: - push - repository default: branch - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *272 + items: *272 + conditions: *273 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &297 title: Repository Rule type: object description: A repository rule. oneOf: - - *273 - *274 - *275 - *276 @@ -44612,6 +44824,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -44649,9 +44862,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: id: 21 name: super cool ruleset @@ -44691,6 +44904,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *105 "/orgs/{org}/rulesets/rule-suites": get: @@ -44706,7 +44920,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *65 - - &570 + - &572 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 @@ -44721,7 +44935,7 @@ paths: in: query schema: type: string - - &571 + - &573 name: time_period description: |- The time period to filter by. @@ -44737,14 +44951,14 @@ paths: - week - month default: day - - &572 + - &574 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 - - &573 + - &575 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44764,7 +44978,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suites description: Response type: array @@ -44820,7 +45034,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &575 + default: &577 value: - id: 21 actor_id: 12 @@ -44864,7 +45078,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *65 - - &576 + - &578 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44880,7 +45094,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: Rule Suite description: Response type: object @@ -44987,7 +45201,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &578 + default: &580 value: id: 21 actor_id: 12 @@ -45060,9 +45274,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *105 put: @@ -45106,16 +45320,16 @@ paths: - tag - push - repository - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *272 + items: *272 + conditions: *273 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *297 examples: default: value: @@ -45150,10 +45364,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 + '422': *15 '500': *105 delete: summary: Delete an organization repository ruleset @@ -45209,7 +45424,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Ruleset version type: object description: The historical version of a ruleset @@ -45233,7 +45448,7 @@ paths: type: string format: date-time examples: - default: &580 + default: &582 value: - version_id: 3 actor: @@ -45286,9 +45501,9 @@ paths: description: Response content: application/json: - schema: &581 + schema: &583 allOf: - - *297 + - *298 - type: object required: - state @@ -45358,7 +45573,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *65 - - &582 + - &584 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -45369,7 +45584,7 @@ paths: enum: - open - resolved - - &583 + - &585 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -45379,7 +45594,7 @@ paths: required: false schema: type: string - - &584 + - &586 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -45388,7 +45603,7 @@ paths: required: false schema: type: string - - &585 + - &587 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -45407,7 +45622,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &586 + - &588 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. @@ -45422,7 +45637,7 @@ paths: - *51 - *19 - *17 - - &587 + - &589 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 @@ -45432,7 +45647,7 @@ paths: required: false schema: type: string - - &588 + - &590 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 @@ -45442,7 +45657,7 @@ paths: required: false schema: type: string - - &589 + - &591 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45451,7 +45666,7 @@ paths: required: false schema: type: string - - &590 + - &592 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45460,7 +45675,7 @@ paths: schema: type: boolean default: false - - &591 + - &593 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45469,7 +45684,7 @@ paths: schema: type: boolean default: false - - &592 + - &594 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45501,14 +45716,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &595 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: &594 + resolution: &596 type: - string - 'null' @@ -45615,14 +45830,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &595 + - &597 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &597 + - &599 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45679,7 +45894,7 @@ paths: - blob_url - commit_sha - commit_url - - &598 + - &600 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. @@ -45740,7 +45955,7 @@ paths: - page_url - commit_sha - commit_url - - &599 + - &601 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45755,7 +45970,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &600 + - &602 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45770,7 +45985,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &601 + - &603 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45785,7 +46000,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &602 + - &604 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45800,7 +46015,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &603 + - &605 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45815,7 +46030,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &604 + - &606 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45830,7 +46045,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &605 + - &607 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. @@ -45845,7 +46060,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &606 + - &608 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. @@ -45860,7 +46075,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &607 + - &609 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. @@ -45875,7 +46090,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &608 + - &610 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. @@ -45890,7 +46105,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &609 + - &611 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 @@ -46130,7 +46345,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: - string - 'null' @@ -46140,7 +46355,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -46209,7 +46424,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *299 examples: default: value: @@ -46266,7 +46481,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *300 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -46292,7 +46507,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *300 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -46390,7 +46605,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 description: A repository security advisory. type: object properties: @@ -46634,7 +46849,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: - array @@ -46645,7 +46860,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *301 state: type: string description: The state of the user's acceptance of the @@ -46709,7 +46924,7 @@ paths: - private_fork additionalProperties: false examples: - default: &614 + default: &616 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47096,7 +47311,7 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: default: value: @@ -47451,7 +47666,7 @@ paths: type: integer network_configurations: type: array - items: &301 + items: &302 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47591,9 +47806,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: &302 + default: &303 value: id: 123456789ABCDEF name: My network configuration @@ -47622,7 +47837,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *65 - - &303 + - &304 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47634,9 +47849,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: Link: *57 x-github: @@ -47658,7 +47873,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *65 - - *303 + - *304 requestBody: required: true content: @@ -47698,9 +47913,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47720,7 +47935,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *65 - - *303 + - *304 responses: '204': description: Response @@ -47865,13 +48080,13 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 '500': *105 '403': *27 '404': *6 - '422': *306 + '422': *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47901,7 +48116,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '403': *27 @@ -47995,7 +48210,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48069,7 +48284,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 members_count: type: integer examples: @@ -48394,7 +48609,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48471,9 +48686,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -48558,16 +48773,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '201': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '422': *15 '403': *27 @@ -48597,6 +48812,9 @@ paths: responses: '204': description: Response + '422': &310 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48628,11 +48846,12 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 + '422': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48714,7 +48933,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &311 title: Team Membership description: Team Membership type: object @@ -48742,7 +48961,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &632 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48805,9 +49024,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48883,7 +49102,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -48914,14 +49133,14 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &633 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -49564,8 +49783,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -49612,8 +49831,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -49650,7 +49869,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &634 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49804,7 +50023,7 @@ paths: resources: type: object properties: - core: &312 + core: &314 title: Rate Limit type: object properties: @@ -49821,21 +50040,21 @@ paths: - remaining - reset - used - graphql: *312 - search: *312 - code_search: *312 - source_import: *312 - integration_manifest: *312 - code_scanning_upload: *312 - actions_runner_registration: *312 - scim: *312 - dependency_snapshots: *312 - dependency_sbom: *312 - code_scanning_autofix: *312 + graphql: *314 + search: *314 + code_search: *314 + source_import: *314 + integration_manifest: *314 + code_scanning_upload: *314 + actions_runner_registration: *314 + scim: *314 + dependency_snapshots: *314 + dependency_sbom: *314 + code_scanning_autofix: *314 required: - core - search - rate: *312 + rate: *314 required: - rate - resources @@ -49940,14 +50159,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default-response: summary: Default response @@ -50452,7 +50671,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50470,8 +50689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -50763,10 +50982,10 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 - '307': &316 + default: *317 + '307': &318 description: Temporary Redirect content: application/json: @@ -50795,8 +51014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -50818,7 +51037,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *316 + '307': *318 '404': *6 '409': *50 x-github: @@ -50842,11 +51061,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - - &349 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50869,7 +51088,7 @@ paths: type: integer artifacts: type: array - items: &317 + items: &319 title: Artifact description: An artifact type: object @@ -50964,7 +51183,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -51025,9 +51244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *310 - - *311 - - &318 + - *312 + - *313 + - &320 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51039,7 +51258,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: default: value: @@ -51077,9 +51296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *310 - - *311 - - *318 + - *312 + - *313 + - *320 responses: '204': description: Response @@ -51103,9 +51322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *310 - - *311 - - *318 + - *312 + - *313 + - *320 - name: archive_format in: path required: true @@ -51119,7 +51338,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': &505 + '410': &507 description: Gone content: application/json: @@ -51144,14 +51363,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &319 + schema: &321 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -51185,13 +51404,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *319 + schema: *321 examples: selected_actions: *40 responses: @@ -51220,14 +51439,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &320 + schema: &322 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -51261,13 +51480,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *320 + schema: *322 examples: selected_actions: *42 responses: @@ -51298,14 +51517,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -51331,11 +51550,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - - &322 + - &324 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 @@ -51369,7 +51588,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -51419,7 +51638,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -51451,23 +51670,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: - - *310 - - *311 + - *312 + - *313 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51487,8 +51706,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: - - *310 - - *311 + - *312 + - *313 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51519,9 +51738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *310 - - *311 - - &325 + - *312 + - *313 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -51533,7 +51752,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51880,9 +52099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *310 - - *311 - - *325 + - *312 + - *313 + - *327 responses: '302': description: Response @@ -51910,9 +52129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *310 - - *311 - - *325 + - *312 + - *313 + - *327 requestBody: required: false content: @@ -51958,8 +52177,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Status response @@ -52009,8 +52228,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -52073,8 +52292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52092,7 +52311,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52113,7 +52332,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -52146,9 +52365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *310 - - *311 - - *326 + - *312 + - *313 + - *328 - *19 responses: '200': @@ -52165,7 +52384,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -52199,7 +52418,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -52232,8 +52451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52242,11 +52461,11 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *130 - selected_actions_url: *327 + selected_actions_url: *329 sha_pinning_required: *131 required: - enabled @@ -52275,8 +52494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52287,7 +52506,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *130 sha_pinning_required: *131 required: @@ -52319,14 +52538,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 type: object properties: access_level: @@ -52343,7 +52562,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -52367,15 +52586,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 responses: '204': description: Response @@ -52399,14 +52618,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52430,8 +52649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Empty response for successful settings update @@ -52441,7 +52660,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -52465,8 +52684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52474,7 +52693,7 @@ paths: application/json: schema: *132 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -52493,8 +52712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52528,14 +52747,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: *133 '403': *27 @@ -52557,13 +52776,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: default: *133 responses: @@ -52589,8 +52808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52617,8 +52836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -52650,14 +52869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: *140 x-github: @@ -52680,8 +52899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Success response @@ -52692,7 +52911,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *140 x-github: @@ -52721,8 +52940,8 @@ paths: in: query schema: type: string - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52766,8 +52985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -52775,9 +52994,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52799,8 +53018,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -52843,7 +53062,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *50 @@ -52874,8 +53093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -52883,7 +53102,7 @@ paths: application/json: schema: *149 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52911,8 +53130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -52920,7 +53139,7 @@ paths: application/json: schema: *149 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52942,8 +53161,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '200': @@ -52952,7 +53171,7 @@ paths: application/json: schema: *147 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52973,8 +53192,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '204': @@ -53001,8 +53220,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: '200': *151 @@ -53027,8 +53246,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: - - *310 - - *311 + - *312 + - *313 - *146 requestBody: required: true @@ -53077,8 +53296,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: - - *310 - - *311 + - *312 + - *313 - *146 requestBody: required: true @@ -53128,11 +53347,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: - - *310 - - *311 + - *312 + - *313 - *146 responses: - '200': *344 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -53159,10 +53378,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: - - *310 - - *311 + - *312 + - *313 - *146 - - *345 + - *347 responses: '200': *151 '404': *6 @@ -53190,9 +53409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *310 - - *311 - - &363 + - *312 + - *313 + - &365 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. @@ -53200,7 +53419,7 @@ paths: required: false schema: type: string - - &364 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53208,7 +53427,7 @@ paths: required: false schema: type: string - - &365 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53217,7 +53436,7 @@ paths: required: false schema: type: string - - &366 + - &368 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 @@ -53244,7 +53463,7 @@ paths: - pending - *17 - *19 - - &367 + - &369 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)." @@ -53253,7 +53472,7 @@ paths: schema: type: string format: date-time - - &346 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53262,13 +53481,13 @@ paths: schema: type: boolean default: false - - &368 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53291,7 +53510,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -53469,7 +53688,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &393 title: Simple Commit description: A commit. type: object @@ -53584,7 +53803,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -53820,24 +54039,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *310 - - *311 - - &348 + - *312 + - *313 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: &351 + default: &353 value: id: 30433642 name: Build @@ -54078,9 +54297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '204': description: Response @@ -54103,9 +54322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -54233,9 +54452,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: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '201': description: Response @@ -54268,12 +54487,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 - *17 - *19 - - *349 + - *351 responses: '200': description: Response @@ -54289,9 +54508,9 @@ paths: type: integer artifacts: type: array - items: *317 + items: *319 examples: - default: *350 + default: *352 headers: Link: *57 x-github: @@ -54315,25 +54534,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *310 - - *311 - - *348 - - &352 + - *312 + - *313 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54356,10 +54575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *310 - - *311 - - *348 - - *352 + - *312 + - *313 + - *350 + - *354 - *17 - *19 responses: @@ -54377,9 +54596,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -54492,10 +54711,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *310 - - *311 - - *348 - - *352 + - *312 + - *313 + - *350 + - *354 responses: '302': description: Response @@ -54523,9 +54742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '202': description: Response @@ -54558,9 +54777,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: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: true content: @@ -54627,9 +54846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '202': description: Response @@ -54662,9 +54881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 - 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 @@ -54694,9 +54913,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -54721,9 +54940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '302': description: Response @@ -54750,9 +54969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '204': description: Response @@ -54779,9 +54998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -54850,7 +55069,7 @@ paths: items: type: object properties: - type: &471 + type: &473 type: string description: The type of reviewer. enum: @@ -54936,9 +55155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: true content: @@ -54988,7 +55207,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55100,7 +55319,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &469 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55156,9 +55375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: false content: @@ -55203,9 +55422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 requestBody: required: false content: @@ -55259,9 +55478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *310 - - *311 - - *348 + - *312 + - *313 + - *350 responses: '200': description: Response @@ -55398,8 +55617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -55417,9 +55636,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -55444,16 +55663,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55475,17 +55694,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &484 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55511,8 +55730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -55570,8 +55789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -55597,9 +55816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *310 - - *311 - - *326 + - *312 + - *313 + - *328 - *19 responses: '200': @@ -55616,9 +55835,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -55641,8 +55860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -55694,17 +55913,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &485 + default: &487 value: name: USERNAME value: octocat @@ -55730,8 +55949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 requestBody: required: true @@ -55774,8 +55993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 responses: '204': @@ -55801,8 +56020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -55820,7 +56039,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55938,9 +56157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *310 - - *311 - - &362 + - *312 + - *313 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55955,7 +56174,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55988,9 +56207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Response @@ -56015,9 +56234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -56104,9 +56323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '204': description: Response @@ -56133,19 +56352,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *310 - - *311 - - *362 - - *363 + - *312 + - *313 - *364 - *365 - *366 - - *17 - - *19 - *367 - - *346 - *368 + - *17 + - *19 - *369 + - *348 + - *370 + - *371 responses: '200': description: Response @@ -56161,9 +56380,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *57 x-github: @@ -56195,9 +56414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *310 - - *311 - - *362 + - *312 + - *313 + - *364 responses: '200': description: Response @@ -56258,8 +56477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *310 - - *311 + - *312 + - *313 - *51 - *17 - *43 @@ -56427,8 +56646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -56465,8 +56684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *310 - - *311 + - *312 + - *313 - name: assignee in: path required: true @@ -56502,8 +56721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -56615,8 +56834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *43 - *44 @@ -56673,7 +56892,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56693,8 +56912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -56702,7 +56921,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56761,8 +56980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -56801,9 +57020,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56834,9 +57053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *310 - - *311 - - &374 + - *312 + - *313 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56848,9 +57067,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56870,9 +57089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *310 - - *311 - - *374 + - *312 + - *313 + - *376 responses: '204': description: Response @@ -56896,8 +57115,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response if Dependabot is enabled @@ -56947,8 +57166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -56969,8 +57188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -56990,8 +57209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *310 - - *311 + - *312 + - *313 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57029,7 +57248,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -57072,7 +57291,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57089,7 +57308,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57173,7 +57392,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57466,9 +57685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *310 - - *311 - - &377 + - *312 + - *313 + - &379 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). @@ -57482,14 +57701,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &441 + commit: &443 title: Commit description: Commit type: object @@ -57528,7 +57747,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -57550,7 +57769,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -57574,7 +57793,7 @@ paths: required: - sha - url - verification: &491 + verification: &493 title: Verification type: object properties: @@ -57654,7 +57873,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -57750,7 +57969,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57859,7 +58078,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *314 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -57881,15 +58100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -58083,9 +58302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -58345,7 +58564,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -58504,7 +58723,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58616,9 +58835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58643,17 +58862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &380 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58675,17 +58894,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58704,9 +58923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58731,17 +58950,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &382 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58837,9 +59056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -58937,9 +59156,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58960,9 +59179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -58989,17 +59208,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59022,17 +59241,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -59052,9 +59271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59079,17 +59298,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59115,9 +59334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59169,9 +59388,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -59193,9 +59412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59219,9 +59438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59255,9 +59474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59324,9 +59543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59390,9 +59609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: content: application/json: @@ -59458,15 +59677,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -59557,9 +59776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '204': description: Response @@ -59582,9 +59801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59594,7 +59813,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -59651,9 +59870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59687,7 +59906,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59708,9 +59927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59744,7 +59963,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59765,9 +59984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -59801,7 +60020,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59823,9 +60042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -59835,7 +60054,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -59855,9 +60074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59895,7 +60114,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59916,9 +60135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: false content: @@ -59956,7 +60175,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59977,9 +60196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: content: application/json: @@ -60016,7 +60235,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -60038,9 +60257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 responses: '200': description: Response @@ -60074,9 +60293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60134,9 +60353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60194,9 +60413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60256,9 +60475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 requestBody: required: true content: @@ -60280,7 +60499,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -60396,8 +60615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -60676,7 +60895,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60812,7 +61031,7 @@ paths: check. type: array items: *76 - deployment: &697 + deployment: &698 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61099,9 +61318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *310 - - *311 - - &389 + - *312 + - *313 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -61113,9 +61332,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61215,9 +61434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 requestBody: required: true content: @@ -61457,9 +61676,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61479,9 +61698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 - *17 - *19 responses: @@ -61591,9 +61810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *310 - - *311 - - *389 + - *312 + - *313 + - *391 responses: '201': description: Response @@ -61637,8 +61856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -61660,7 +61879,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &392 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61758,7 +61977,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61786,7 +62005,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62077,9 +62296,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62098,8 +62317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -62408,9 +62627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *310 - - *311 - - &394 + - *312 + - *313 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62422,9 +62641,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62447,17 +62666,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *310 - - *311 - - *394 - - &447 + - *312 + - *313 + - *396 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &448 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -62496,9 +62715,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: &449 + default: &451 value: total_count: 1 check_runs: @@ -62600,9 +62819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *310 - - *311 - - *394 + - *312 + - *313 + - *396 responses: '201': description: Response @@ -62635,21 +62854,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *310 - - *311 - - *395 - - *396 + - *312 + - *313 + - *397 + - *398 - *19 - *17 - - &413 + - &415 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: *397 - - &414 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62674,13 +62893,13 @@ paths: be returned. in: query required: false - schema: *398 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *399 + schema: *401 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62704,7 +62923,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: *400 + instances_url: *402 state: *172 fixed_at: *168 dismissed_by: @@ -62712,11 +62931,11 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: *401 - dismissed_comment: *402 - rule: *403 - tool: *404 - most_recent_instance: *405 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62839,7 +63058,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &406 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62866,9 +63085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *310 - - *311 - - &407 + - *312 + - *313 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62882,7 +63101,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &410 type: object properties: number: *163 @@ -62890,7 +63109,7 @@ paths: updated_at: *165 url: *166 html_url: *167 - instances_url: *400 + instances_url: *402 state: *172 fixed_at: *168 dismissed_by: @@ -62898,8 +63117,8 @@ paths: - type: 'null' - *4 dismissed_at: *169 - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62961,8 +63180,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *404 - most_recent_instance: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -63058,7 +63277,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63078,9 +63297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: true content: @@ -63095,8 +63314,8 @@ paths: enum: - open - dismissed - dismissed_reason: *401 - dismissed_comment: *402 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63124,7 +63343,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -63200,7 +63419,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &412 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63227,15 +63446,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: status: @@ -63262,13 +63481,13 @@ paths: - description - started_at examples: - default: &410 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &411 + '400': &413 description: Bad Request content: application/json: @@ -63279,7 +63498,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': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63304,29 +63523,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 responses: '200': description: OK content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 '202': description: Accepted content: application/json: - schema: *409 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *411 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63358,9 +63577,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: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: false content: @@ -63406,8 +63625,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *411 - '403': *412 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity @@ -63431,13 +63650,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 - *19 - *17 - - *413 - - *414 + - *415 + - *416 responses: '200': description: Response @@ -63448,10 +63667,10 @@ paths: items: type: object properties: - ref: *397 - analysis_key: *415 - environment: *416 - category: *417 + ref: *399 + analysis_key: *417 + environment: *418 + category: *419 state: type: - string @@ -63468,7 +63687,7 @@ paths: properties: text: type: string - location: *418 + location: *420 html_url: type: string classifications: @@ -63476,7 +63695,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: *419 + items: *421 examples: default: value: @@ -63513,7 +63732,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63547,25 +63766,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *310 - - *311 - - *395 - - *396 + - *312 + - *313 + - *397 + - *398 - *19 - *17 - - *414 + - *416 - 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: *397 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &420 + schema: &422 type: string description: An identifier for the upload. examples: @@ -63587,23 +63806,23 @@ paths: application/json: schema: type: array - items: &421 + items: &423 type: object properties: - ref: *397 - commit_sha: &429 + ref: *399 + commit_sha: &431 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: *415 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *419 error: type: string examples: @@ -63628,8 +63847,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *420 - tool: *404 + sarif_id: *422 + tool: *406 deletable: type: boolean warning: @@ -63691,7 +63910,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63727,8 +63946,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: - - *310 - - *311 + - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63741,7 +63960,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: response: summary: application/json response @@ -63795,7 +64014,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *406 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed @@ -63882,8 +64101,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: - - *310 - - *311 + - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63939,7 +64158,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': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -63961,8 +64180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -63970,7 +64189,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -64082,7 +64301,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': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64111,8 +64330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -64124,7 +64343,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -64156,9 +64375,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': &454 + '302': &456 description: Found - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64180,8 +64399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *310 - - *311 + - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -64191,7 +64410,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -64219,8 +64438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -64229,7 +64448,7 @@ paths: type: object additionalProperties: false properties: - language: &423 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -64309,7 +64528,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &427 + schema: &429 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64319,7 +64538,7 @@ paths: description: The ID of the variant analysis. controller_repo: *56 actor: *4 - query_language: *423 + query_language: *425 query_pack_url: type: string description: The download url for the query pack. @@ -64367,7 +64586,7 @@ paths: items: type: object properties: - repository: &424 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -64409,7 +64628,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &428 + analysis_status: &430 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64441,7 +64660,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &425 + access_mismatch_repos: &427 type: object properties: repository_count: @@ -64456,7 +64675,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: *424 + items: *426 required: - repository_count - repositories @@ -64479,8 +64698,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *425 - over_limit_repos: *425 + no_codeql_db_repos: *427 + over_limit_repos: *427 required: - access_mismatch_repos - not_found_repos @@ -64496,7 +64715,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &426 + value: &428 summary: Default response value: id: 1 @@ -64642,10 +64861,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *426 + value: *428 repository_lists: summary: Response for a successful variant analysis submission - value: *426 + value: *428 '404': *6 '422': description: Unable to process variant analysis submission @@ -64673,8 +64892,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: - - *310 - - *311 + - *312 + - *313 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64686,9 +64905,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *426 + default: *428 '404': *6 '503': *106 x-github: @@ -64711,7 +64930,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: - - *310 + - *312 - name: repo in: path description: The name of the controller repository. @@ -64746,7 +64965,7 @@ paths: type: object properties: repository: *56 - analysis_status: *428 + analysis_status: *430 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64871,8 +65090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -64965,7 +65184,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -64986,8 +65205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65081,7 +65300,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *412 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65152,8 +65371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65161,7 +65380,7 @@ paths: schema: type: object properties: - commit_sha: *429 + commit_sha: *431 ref: type: string description: |- @@ -65221,7 +65440,7 @@ paths: schema: type: object properties: - id: *420 + id: *422 url: type: string description: The REST API URL for checking the status of the upload. @@ -65235,7 +65454,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': *412 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65258,8 +65477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *310 - - *311 + - *312 + - *313 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65307,7 +65526,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': *406 + '403': *408 '404': description: Not Found if the sarif id does not match any upload '503': *106 @@ -65332,8 +65551,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65414,8 +65633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *310 - - *311 + - *312 + - *313 - 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 @@ -65543,8 +65762,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65560,7 +65779,7 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: default: value: @@ -65858,8 +66077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -65923,17 +66142,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '400': *14 '401': *23 '403': *27 @@ -65962,8 +66181,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -66027,8 +66246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66065,9 +66284,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -66107,8 +66326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *310 - - *311 + - *312 + - *313 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66195,8 +66414,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: - - *310 - - *311 + - *312 + - *313 - 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 @@ -66265,8 +66484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -66284,7 +66503,7 @@ paths: type: integer secrets: type: array - items: &435 + items: &437 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66305,7 +66524,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -66328,16 +66547,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66357,17 +66576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66387,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -66441,8 +66660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -66471,8 +66690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *310 - - *311 + - *312 + - *313 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66510,7 +66729,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Collaborator description: Collaborator type: object @@ -66703,8 +66922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '204': @@ -66751,8 +66970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 requestBody: required: false @@ -66779,7 +66998,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &504 + schema: &506 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67007,8 +67226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '204': @@ -67040,8 +67259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *310 - - *311 + - *312 + - *313 - *61 responses: '200': @@ -67062,7 +67281,7 @@ paths: user: anyOf: - type: 'null' - - *437 + - *439 required: - permission - role_name @@ -67116,8 +67335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -67127,7 +67346,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -67185,7 +67404,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67244,17 +67463,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: &444 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67311,8 +67530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -67335,7 +67554,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: default: value: @@ -67386,8 +67605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -67409,8 +67628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67437,7 +67656,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -67481,7 +67700,7 @@ paths: - content - created_at examples: - default: &507 + default: &509 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67526,8 +67745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -67560,9 +67779,9 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: &440 + default: &442 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67591,9 +67810,9 @@ paths: description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -67615,10 +67834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - &508 + - &510 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67673,8 +67892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *310 - - *311 + - *312 + - *313 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67730,9 +67949,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &553 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67826,9 +68045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *310 - - *311 - - &442 + - *312 + - *313 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -67900,9 +68119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 - *17 - *19 responses: @@ -67912,9 +68131,9 @@ paths: application/json: schema: type: array - items: *438 + items: *440 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -67942,9 +68161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 requestBody: required: true content: @@ -67979,9 +68198,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *444 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68009,9 +68228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 - *17 - *19 responses: @@ -68021,9 +68240,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: &545 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68560,11 +68779,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 - - &446 + - &448 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)" @@ -68579,9 +68798,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68694,11 +68913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *310 - - *311 - - *446 - - *447 + - *312 + - *313 - *448 + - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68732,9 +68951,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -68759,9 +68978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68769,7 +68988,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -68787,7 +69006,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *394 examples: default: value: @@ -68987,9 +69206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - *17 - *19 responses: @@ -69191,9 +69410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *310 - - *311 - - *446 + - *312 + - *313 + - *448 - *17 - *19 responses: @@ -69203,7 +69422,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Status description: The status of a commit. type: object @@ -69284,7 +69503,7 @@ paths: site_admin: false headers: Link: *57 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69312,8 +69531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -69346,11 +69565,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *450 + - *452 code_of_conduct_file: anyOf: - type: 'null' - - &451 + - &453 title: Community Health File type: object properties: @@ -69370,19 +69589,19 @@ paths: contributing: anyOf: - type: 'null' - - *451 + - *453 readme: anyOf: - type: 'null' - - *451 + - *453 issue_template: anyOf: - type: 'null' - - *451 + - *453 pull_request_template: anyOf: - type: 'null' - - *451 + - *453 required: - code_of_conduct - code_of_conduct_file @@ -69511,8 +69730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 - name: basehead @@ -69560,8 +69779,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *441 - merge_base_commit: *441 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -69585,10 +69804,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -69874,8 +70093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -69890,6 +70109,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 @@ -70028,7 +70264,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &453 + response-if-content-is-a-file-github-object: &455 summary: Response if content is a file value: type: file @@ -70046,7 +70282,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: @@ -70165,7 +70401,7 @@ paths: - size - type - url - - &558 + - &560 title: Content File description: Content File type: object @@ -70383,7 +70619,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *453 + response-if-content-is-a-file: *455 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70452,7 +70688,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *454 + '302': *456 '304': *35 x-github: githubCloudOnly: false @@ -70475,8 +70711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -70571,7 +70807,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -70727,7 +70963,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -70781,7 +71017,7 @@ paths: schema: oneOf: - *3 - - &486 + - &488 description: Repository rule violation was detected type: object properties: @@ -70802,7 +71038,7 @@ paths: items: type: object properties: - placeholder_id: &610 + placeholder_id: &612 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70834,8 +71070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *310 - - *311 + - *312 + - *313 - name: path description: path parameter in: path @@ -70896,7 +71132,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70951,8 +71187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *310 - - *311 + - *312 + - *313 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71076,8 +71312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *181 - *182 - *183 @@ -71089,9 +71325,10 @@ paths: schema: type: string - *185 - - *456 + - *458 - *186 - *187 + - *188 - *51 - *43 - *44 @@ -71103,7 +71340,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 type: object description: A Dependabot alert. properties: @@ -71153,7 +71390,7 @@ paths: - direct - transitive - - security_advisory: *457 + security_advisory: *459 security_vulnerability: *55 url: *166 html_url: *167 @@ -71184,8 +71421,8 @@ paths: dismissal. maxLength: 280 fixed_at: *168 - auto_dismissed_at: *458 - dismissal_request: *459 + auto_dismissed_at: *460 + dismissal_request: *461 assignees: type: array description: The users assigned to this alert. @@ -71312,6 +71549,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: @@ -71396,6 +71652,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -71420,9 +71677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *310 - - *311 - - &461 + - *312 + - *313 + - &463 name: alert_number in: path description: |- @@ -71437,7 +71694,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71528,6 +71785,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': *35 '403': *27 '404': *6 @@ -71550,9 +71826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *310 - - *311 - - *461 + - *312 + - *313 + - *463 requestBody: required: true content: @@ -71583,8 +71859,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: @@ -71597,7 +71884,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71700,6 +71987,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *27 '404': *6 @@ -71726,8 +72014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -71745,7 +72033,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71799,16 +72087,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71828,15 +72116,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '200': description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -71862,8 +72150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 requestBody: required: true @@ -71916,8 +72204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *310 - - *311 + - *312 + - *313 - *153 responses: '204': @@ -71940,8 +72228,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: - - *310 - - *311 + - *312 + - *313 - 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 @@ -72115,8 +72403,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -72376,8 +72664,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -72460,7 +72748,7 @@ paths: - version - url additionalProperties: false - metadata: &465 + metadata: &467 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72499,7 +72787,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *465 + metadata: *467 resolved: type: object description: A collection of resolved package dependencies. @@ -72513,7 +72801,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *465 + metadata: *467 relationship: type: string description: A notation of whether a dependency is requested @@ -72646,8 +72934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *310 - - *311 + - *312 + - *313 - name: sha description: The SHA recorded at creation time. in: query @@ -72688,9 +72976,9 @@ paths: application/json: schema: type: array - items: *466 + items: *468 examples: - default: *467 + default: *469 headers: Link: *57 x-github: @@ -72756,8 +73044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -72839,7 +73127,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: simple-example: summary: Simple example @@ -72912,9 +73200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *310 - - *311 - - &468 + - *312 + - *313 + - &470 name: deployment_id description: deployment_id parameter in: path @@ -72926,7 +73214,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -72991,9 +73279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 responses: '204': description: Response @@ -73015,9 +73303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 - *17 - *19 responses: @@ -73027,7 +73315,7 @@ paths: application/json: schema: type: array - items: &469 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -73191,9 +73479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 requestBody: required: true content: @@ -73268,9 +73556,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: &470 + default: &472 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73326,9 +73614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *310 - - *311 - - *468 + - *312 + - *313 + - *470 - name: status_id in: path required: true @@ -73339,9 +73627,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -73366,8 +73654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -73424,8 +73712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -73443,7 +73731,7 @@ paths: - 5 environments: type: array - items: &472 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -73505,7 +73793,7 @@ paths: type: string examples: - wait_timer - wait_timer: &474 + wait_timer: &476 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73547,7 +73835,7 @@ paths: items: type: object properties: - type: *471 + type: *473 reviewer: anyOf: - *4 @@ -73574,7 +73862,7 @@ paths: - id - node_id - type - deployment_branch_policy: &475 + deployment_branch_policy: &477 type: - object - 'null' @@ -73691,9 +73979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *310 - - *311 - - &473 + - *312 + - *313 + - &475 name: environment_name in: path required: true @@ -73706,9 +73994,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &476 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73792,9 +74080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: false content: @@ -73804,7 +74092,7 @@ paths: - object - 'null' properties: - wait_timer: *474 + wait_timer: *476 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73823,14 +74111,14 @@ paths: items: type: object properties: - type: *471 + type: *473 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *475 + deployment_branch_policy: *477 additionalProperties: false examples: default: @@ -73850,9 +74138,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *476 + default: *478 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73876,9 +74164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 responses: '204': description: Default response @@ -73903,9 +74191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *17 - *19 responses: @@ -73924,7 +74212,7 @@ paths: - 2 branch_policies: type: array - items: &477 + items: &479 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73985,9 +74273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: true content: @@ -74035,9 +74323,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - example-wildcard: &478 + example-wildcard: &480 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74079,10 +74367,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - &479 + - *312 + - *313 + - *475 + - &481 name: branch_policy_id in: path required: true @@ -74094,9 +74382,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74115,10 +74403,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - *479 + - *312 + - *313 + - *475 + - *481 requestBody: required: true content: @@ -74147,9 +74435,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74168,10 +74456,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *310 - - *311 - - *473 - - *479 + - *312 + - *313 + - *475 + - *481 responses: '204': description: Response @@ -74196,9 +74484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 responses: '200': description: List of deployment protection rules @@ -74215,7 +74503,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &480 + items: &482 title: Deployment protection rule description: Deployment protection rule type: object @@ -74237,7 +74525,7 @@ paths: for the environment. examples: - true - app: &481 + app: &483 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74340,9 +74628,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: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 requestBody: content: application/json: @@ -74363,9 +74651,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *480 + schema: *482 examples: - default: &482 + default: &484 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74400,9 +74688,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: - - *473 - - *311 - - *310 + - *475 + - *313 + - *312 - *19 - *17 responses: @@ -74422,7 +74710,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *481 + items: *483 examples: default: value: @@ -74457,10 +74745,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *310 - - *311 - - *473 - - &483 + - *312 + - *313 + - *475 + - &485 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74472,9 +74760,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74495,10 +74783,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *473 - - *311 - - *310 - - *483 + - *475 + - *313 + - *312 + - *485 responses: '204': description: Response @@ -74524,9 +74812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *17 - *19 responses: @@ -74544,9 +74832,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -74571,17 +74859,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74603,18 +74891,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *484 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74636,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 requestBody: required: true @@ -74696,9 +74984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *153 responses: '204': @@ -74724,10 +75012,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *310 - - *311 - - *473 - - *326 + - *312 + - *313 + - *475 + - *328 - *19 responses: '200': @@ -74744,9 +75032,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -74769,9 +75057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 requestBody: required: true content: @@ -74823,18 +75111,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *310 - - *311 - - *473 + - *312 + - *313 + - *475 - *156 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *485 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,10 +75143,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 - - *473 + - *475 requestBody: required: true content: @@ -74900,10 +75188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *310 - - *311 + - *312 + - *313 - *156 - - *473 + - *475 responses: '204': description: Response @@ -74925,8 +75213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -74994,8 +75282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *310 - - *311 + - *312 + - *313 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75154,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -75188,9 +75476,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -75211,8 +75499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75272,7 +75560,7 @@ paths: schema: oneOf: - *114 - - *486 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75297,8 +75585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *310 - - *311 + - *312 + - *313 - name: file_sha in: path required: true @@ -75398,8 +75686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75508,7 +75796,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75735,15 +76023,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *310 - - *311 - - *442 + - *312 + - *313 + - *444 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: default: value: @@ -75799,9 +76087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *310 - - *311 - - &488 + - *312 + - *313 + - &490 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. @@ -75818,7 +76106,7 @@ paths: application/json: schema: type: array - items: &489 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -75894,17 +76182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 responses: '200': description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &490 + default: &492 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75933,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -75963,9 +76251,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75991,9 +76279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 requestBody: required: true content: @@ -76022,9 +76310,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '422': *15 '409': *50 x-github: @@ -76042,9 +76330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *310 - - *311 - - *488 + - *312 + - *313 + - *490 responses: '204': description: Response @@ -76099,8 +76387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -76167,7 +76455,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -76223,7 +76511,7 @@ paths: - sha - type - url - verification: *491 + verification: *493 required: - sha - url @@ -76233,7 +76521,7 @@ paths: - tag - message examples: - default: &493 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76306,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *310 - - *311 + - *312 + - *313 - name: tag_sha in: path required: true @@ -76318,9 +76606,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *493 + default: *495 '404': *6 '409': *50 x-github: @@ -76344,8 +76632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -76419,7 +76707,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &496 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76521,8 +76809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *310 - - *311 + - *312 + - *313 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76545,7 +76833,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default-response: summary: Default response @@ -76604,8 +76892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -76615,7 +76903,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -76678,7 +76966,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &728 + last_response: &729 title: Hook Response type: object properties: @@ -76755,8 +77043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -76809,9 +77097,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: type: Repository id: 12345678 @@ -76859,17 +77147,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -76889,9 +77177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 requestBody: required: true content: @@ -76936,9 +77224,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '422': *15 '404': *6 x-github: @@ -76959,9 +77247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -76985,9 +77273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '200': description: Response @@ -77014,9 +77302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 requestBody: required: false content: @@ -77060,11 +77348,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 - - *17 + - *312 + - *313 - *194 + - *17 + - *195 responses: '200': description: Response @@ -77072,9 +77360,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -77093,18 +77381,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 - *16 responses: '200': description: Response content: application/json: - schema: *197 + schema: *198 examples: - default: *198 + default: *199 '400': *14 '422': *15 x-github: @@ -77123,9 +77411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 - *16 responses: '202': *37 @@ -77148,9 +77436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -77175,9 +77463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *310 - - *311 - - *193 + - *312 + - *313 + - *194 responses: '204': description: Response @@ -77200,8 +77488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response if immutable releases are enabled @@ -77249,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '409': *50 @@ -77270,8 +77558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '409': *50 @@ -77328,14 +77616,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &497 + schema: &499 title: Import description: A repository import from an external source. type: object @@ -77442,7 +77730,7 @@ paths: - html_url - authors_url examples: - default: &500 + default: &502 value: vcs: subversion use_lfs: true @@ -77458,7 +77746,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': &498 + '503': &500 description: Unavailable due to service under maintenance. content: application/json: @@ -77487,8 +77775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -77536,7 +77824,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -77561,7 +77849,7 @@ paths: type: string '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77589,8 +77877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -77642,7 +77930,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: example-1: summary: Example 1 @@ -77690,7 +77978,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': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77713,12 +78001,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77744,9 +78032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *310 - - *311 - - &662 + - *312 + - *313 + - &663 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77760,7 +78048,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Porter Author description: Porter Author type: object @@ -77814,7 +78102,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': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77839,8 +78127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *310 - - *311 + - *312 + - *313 - name: author_id in: path required: true @@ -77870,7 +78158,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77883,7 +78171,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77907,8 +78195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -77949,7 +78237,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77977,8 +78265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -78005,11 +78293,11 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *500 + default: *502 '422': *15 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78032,8 +78320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -78041,8 +78329,8 @@ paths: application/json: schema: *20 examples: - default: *501 - '301': *314 + default: *503 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -78062,8 +78350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -78071,12 +78359,12 @@ paths: application/json: schema: anyOf: - - *211 + - *212 - type: object properties: {} additionalProperties: false examples: - default: &503 + default: &505 value: limit: collaborators_only origin: repository @@ -78101,13 +78389,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: application/json: - schema: *502 + schema: *504 examples: default: summary: Example request body @@ -78119,9 +78407,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *503 + default: *505 '409': description: Response x-github: @@ -78143,8 +78431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -78167,8 +78455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -78178,9 +78466,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &655 + default: &656 value: - id: 1 repository: @@ -78311,9 +78599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *310 - - *311 - - *215 + - *312 + - *313 + - *216 requestBody: required: false content: @@ -78342,7 +78630,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -78473,9 +78761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *310 - - *311 - - *215 + - *312 + - *313 + - *216 responses: '204': description: Response @@ -78506,8 +78794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *310 - - *311 + - *312 + - *313 - 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 @@ -78555,7 +78843,7 @@ paths: required: false schema: type: string - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -78580,7 +78868,7 @@ paths: type: array items: *73 examples: - default: &513 + default: &515 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78729,7 +79017,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *314 + '301': *316 '422': *15 '404': *6 x-github: @@ -78758,8 +79046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -78851,7 +79139,7 @@ paths: application/json: schema: *73 examples: - default: &510 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -79008,7 +79296,7 @@ paths: '422': *15 '503': *106 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -79036,8 +79324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *95 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79060,7 +79348,7 @@ paths: type: array items: *74 examples: - default: &512 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79118,8 +79406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': @@ -79128,7 +79416,7 @@ paths: application/json: schema: *74 examples: - default: &506 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79183,8 +79471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -79209,7 +79497,7 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -79227,8 +79515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -79257,8 +79545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': @@ -79321,7 +79609,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -79338,8 +79626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -79347,7 +79635,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '503': *106 x-github: githubCloudOnly: false @@ -79365,8 +79653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79393,9 +79681,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -79416,8 +79704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -79450,16 +79738,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -79481,10 +79769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - *508 + - *510 responses: '204': description: Response @@ -79504,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -79515,7 +79803,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Issue Event description: Issue Event type: object @@ -79855,8 +80143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *310 - - *311 + - *312 + - *313 - name: event_id in: path required: true @@ -79867,7 +80155,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -80060,7 +80348,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *505 + '410': *507 '403': *27 x-github: githubCloudOnly: false @@ -80094,9 +80382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *310 - - *311 - - &511 + - *312 + - *313 + - &513 name: issue_number description: The number that identifies the issue. in: path @@ -80121,7 +80409,7 @@ paths: examples: default: summary: Issue - value: *510 + value: *512 pinned_comment: summary: Issue with pinned comment value: @@ -80320,9 +80608,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 '304': *35 x-github: githubCloudOnly: false @@ -80347,9 +80635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -80470,13 +80758,13 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '422': *15 '503': *106 '403': *27 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80494,9 +80782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -80524,7 +80812,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80540,9 +80828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: content: application/json: @@ -80569,7 +80857,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80591,9 +80879,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: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: assignee in: path required: true @@ -80633,9 +80921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *78 - *17 - *19 @@ -80648,11 +80936,11 @@ paths: type: array items: *74 examples: - default: *512 + default: *514 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80681,9 +80969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -80707,14 +80995,14 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -80742,9 +81030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80756,12 +81044,12 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80789,9 +81077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -80815,15 +81103,15 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *314 + '301': *316 '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -80854,9 +81142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -80870,13 +81158,13 @@ paths: application/json: schema: *73 examples: - default: *510 - '301': *314 + default: *512 + '301': *316 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -80902,9 +81190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80916,12 +81204,12 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80938,9 +81226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -80954,7 +81242,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &515 + - &517 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81003,7 +81291,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81131,7 +81419,7 @@ paths: - performed_via_github_app - assignee - assigner - - &517 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81177,7 +81465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81223,7 +81511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81272,7 +81560,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81314,7 +81602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81356,7 +81644,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81412,7 +81700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -81457,7 +81745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81518,7 +81806,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &527 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81579,7 +81867,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &528 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81640,7 +81928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &529 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81733,7 +82021,7 @@ paths: color: red headers: Link: *57 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81750,9 +82038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -81764,7 +82052,7 @@ paths: type: array items: *72 examples: - default: &514 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81782,9 +82070,9 @@ paths: default: false headers: Link: *57 - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81800,9 +82088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -81847,10 +82135,10 @@ paths: type: array items: *72 examples: - default: *514 - '301': *314 + default: *516 + '301': *316 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -81867,9 +82155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -81931,10 +82219,10 @@ paths: type: array items: *72 examples: - default: *514 - '301': *314 + default: *516 + '301': *316 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -81951,15 +82239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '204': description: Response - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81978,9 +82266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - name: name in: path required: true @@ -82004,9 +82292,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *314 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82026,9 +82314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: false content: @@ -82057,7 +82345,7 @@ paths: '204': description: Response '403': *27 - '410': *505 + '410': *507 '404': *6 '422': *15 x-github: @@ -82075,9 +82363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '204': description: Response @@ -82107,9 +82395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 responses: '200': description: Response @@ -82117,10 +82405,10 @@ paths: application/json: schema: *73 examples: - default: *510 - '301': *314 + default: *512 + '301': *316 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82137,9 +82425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - 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. @@ -82165,13 +82453,13 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82189,9 +82477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82223,16 +82511,16 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -82254,10 +82542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *310 - - *311 - - *511 - - *508 + - *312 + - *313 + - *513 + - *510 responses: '204': description: Response @@ -82286,9 +82574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82312,7 +82600,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82345,9 +82633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -82359,11 +82647,11 @@ paths: type: array items: *73 examples: - default: *513 + default: *515 headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82391,9 +82679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82422,14 +82710,14 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *505 + '410': *507 '422': *15 '404': *6 x-github: @@ -82449,9 +82737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 requestBody: required: true content: @@ -82484,7 +82772,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '403': *27 '404': *6 '422': *7 @@ -82506,9 +82794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *310 - - *311 - - *511 + - *312 + - *313 + - *513 - *17 - *19 responses: @@ -82523,8 +82811,6 @@ paths: description: Timeline Event type: object anyOf: - - *515 - - *516 - *517 - *518 - *519 @@ -82536,6 +82822,8 @@ paths: - *525 - *526 - *527 + - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82592,7 +82880,7 @@ paths: pin: anyOf: - type: 'null' - - *528 + - *530 required: - event - actor @@ -82868,7 +83156,7 @@ paths: type: string comments: type: array - items: &547 + items: &549 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83109,7 +83397,7 @@ paths: type: string comments: type: array - items: *438 + items: *440 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83384,7 +83672,7 @@ paths: headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83401,8 +83689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -83412,7 +83700,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83480,8 +83768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -83517,9 +83805,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &530 + default: &532 value: id: 1 key: ssh-rsa AAA... @@ -83553,9 +83841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *310 - - *311 - - &531 + - *312 + - *313 + - &533 name: key_id description: The unique identifier of the key. in: path @@ -83567,9 +83855,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -83587,9 +83875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *310 - - *311 - - *531 + - *312 + - *313 + - *533 responses: '204': description: Response @@ -83609,8 +83897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -83622,7 +83910,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 '404': *6 @@ -83643,8 +83931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -83682,7 +83970,7 @@ paths: application/json: schema: *72 examples: - default: &532 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83714,8 +84002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83728,7 +84016,7 @@ paths: application/json: schema: *72 examples: - default: *532 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -83745,8 +84033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83811,8 +84099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *310 - - *311 + - *312 + - *313 - name: name in: path required: true @@ -83838,8 +84126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -83878,9 +84166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *310 - - *311 - - *413 + - *312 + - *313 + - *415 responses: '200': description: Response @@ -84027,8 +84315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84093,8 +84381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84128,9 +84416,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *441 + schema: *443 examples: - default: *533 + default: *535 '204': description: Response when already merged '404': @@ -84155,8 +84443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *310 - - *311 + - *312 + - *313 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84197,7 +84485,7 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: default: value: @@ -84253,8 +84541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84294,9 +84582,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: &534 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84355,9 +84643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *310 - - *311 - - &535 + - *312 + - *313 + - &537 name: milestone_number description: The number that identifies the milestone. in: path @@ -84369,9 +84657,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -84388,9 +84676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 requestBody: required: false content: @@ -84428,9 +84716,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84446,9 +84734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 responses: '204': description: Response @@ -84469,9 +84757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *310 - - *311 - - *535 + - *312 + - *313 + - *537 - *17 - *19 responses: @@ -84483,7 +84771,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 x-github: @@ -84502,12 +84790,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *310 - - *311 - - *536 - - *537 - - *78 + - *312 + - *313 - *538 + - *539 + - *78 + - *540 - *17 - *19 responses: @@ -84519,7 +84807,7 @@ paths: type: array items: *98 examples: - default: *539 + default: *541 headers: Link: *57 x-github: @@ -84543,8 +84831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -84602,14 +84890,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &540 + schema: &542 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84753,7 +85041,7 @@ paths: - custom_404 - public examples: - default: &541 + default: &543 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84794,8 +85082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84850,9 +85138,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *50 x-github: @@ -84875,8 +85163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -84976,8 +85264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -85003,8 +85291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -85014,7 +85302,7 @@ paths: application/json: schema: type: array - items: &542 + items: &544 title: Page Build description: Page Build type: object @@ -85106,8 +85394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *310 - - *311 + - *312 + - *313 responses: '201': description: Response @@ -85154,16 +85442,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &543 + default: &545 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85211,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *310 - - *311 + - *312 + - *313 - name: build_id in: path required: true @@ -85223,9 +85511,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85245,8 +85533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -85354,9 +85642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *310 - - *311 - - &544 + - *312 + - *313 + - &546 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85414,9 +85702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *310 - - *311 - - *544 + - *312 + - *313 + - *546 responses: '204': *176 '404': *6 @@ -85443,8 +85731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -85739,8 +86027,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: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Private vulnerability reporting status @@ -85777,8 +86065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '422': *14 @@ -85799,8 +86087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': *176 '422': *14 @@ -85822,8 +86110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -85831,7 +86119,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -85862,8 +86150,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: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -85875,7 +86163,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *266 + items: *267 required: - properties examples: @@ -85925,8 +86213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *310 - - *311 + - *312 + - *313 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85986,9 +86274,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *545 + default: *547 headers: Link: *57 '304': *35 @@ -86020,8 +86308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -86088,7 +86376,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &551 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86217,7 +86505,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -86272,7 +86560,7 @@ paths: type: - array - 'null' - items: *231 + items: *232 head: type: object properties: @@ -86310,14 +86598,14 @@ paths: _links: type: object properties: - comments: *253 - commits: *253 - statuses: *253 - html: *253 - issue: *253 - review_comments: *253 - review_comment: *253 - self: *253 + comments: *254 + commits: *254 + statuses: *254 + html: *254 + issue: *254 + review_comments: *254 + review_comment: *254 + self: *254 required: - comments - commits @@ -86328,7 +86616,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: *546 + auto_merge: *548 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86430,7 +86718,7 @@ paths: - merged_by - review_comments examples: - default: &550 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86957,8 +87245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *310 - - *311 + - *312 + - *313 - name: sort in: query required: false @@ -86987,9 +87275,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: &552 + default: &554 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87066,17 +87354,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '200': description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: &548 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87151,8 +87439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -87175,9 +87463,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87193,8 +87481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 + - *312 + - *313 - *87 responses: '204': @@ -87216,8 +87504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87244,9 +87532,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -87267,8 +87555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *310 - - *311 + - *312 + - *313 - *87 requestBody: required: true @@ -87301,16 +87589,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -87332,10 +87620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *310 - - *311 + - *312 + - *313 - *87 - - *508 + - *510 responses: '204': description: Response @@ -87378,9 +87666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *310 - - *311 - - &551 + - *312 + - *313 + - &553 name: pull_number description: The number that identifies the pull request. in: path @@ -87393,9 +87681,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '304': *35 '404': *6 '406': @@ -87430,9 +87718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -87474,9 +87762,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '422': *15 '403': *27 x-github: @@ -87498,9 +87786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -87561,17 +87849,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -87601,9 +87889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *95 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -87624,9 +87912,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *552 + default: *554 headers: Link: *57 x-github: @@ -87659,9 +87947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -87767,7 +88055,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -87855,9 +88143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *87 requestBody: required: true @@ -87880,7 +88168,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: default: value: @@ -87966,9 +88254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -87978,9 +88266,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *553 + default: *555 headers: Link: *57 x-github: @@ -88010,9 +88298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -88022,7 +88310,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -88060,9 +88348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 responses: '204': description: Response if pull request has been merged @@ -88085,9 +88373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -88199,9 +88487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 responses: '200': description: Response @@ -88276,9 +88564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -88315,7 +88603,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -88851,9 +89139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: true content: @@ -88887,7 +89175,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -89392,9 +89680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 - *17 - *19 responses: @@ -89404,7 +89692,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89560,9 +89848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -89652,9 +89940,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89717,10 +90005,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - &555 + - *312 + - *313 + - *553 + - &557 name: review_id description: The unique identifier of the review. in: path @@ -89732,9 +90020,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &557 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89793,10 +90081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -89819,7 +90107,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -89881,18 +90169,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 responses: '200': description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *556 + default: *558 '422': *7 '404': *6 x-github: @@ -89919,10 +90207,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 - *17 - *19 responses: @@ -90020,9 +90308,9 @@ paths: _links: type: object properties: - self: *253 - html: *253 - pull_request: *253 + self: *254 + html: *254 + pull_request: *254 required: - self - html @@ -90180,10 +90468,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -90212,7 +90500,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -90275,10 +90563,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *310 - - *311 - - *551 - - *555 + - *312 + - *313 + - *553 + - *557 requestBody: required: true content: @@ -90313,9 +90601,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *557 + default: *559 '404': *6 '422': *7 '403': *27 @@ -90337,9 +90625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *310 - - *311 - - *551 + - *312 + - *313 + - *553 requestBody: required: false content: @@ -90403,8 +90691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *310 - - *311 + - *312 + - *313 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90417,9 +90705,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: type: file encoding: base64 @@ -90461,8 +90749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *310 - - *311 + - *312 + - *313 - name: dir description: The alternate path to look for a README file in: path @@ -90482,9 +90770,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '422': *15 x-github: @@ -90506,8 +90794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -90517,7 +90805,7 @@ paths: application/json: schema: type: array - items: *560 + items: *562 examples: default: value: @@ -90611,8 +90899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -90688,9 +90976,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: &564 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90795,9 +91083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *310 - - *311 - - &562 + - *312 + - *313 + - &564 name: asset_id description: The unique identifier of the asset. in: path @@ -90809,9 +91097,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &563 + default: &565 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 @@ -90846,7 +91134,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,9 +91150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *310 - - *311 - - *562 + - *312 + - *313 + - *564 requestBody: required: false content: @@ -90893,9 +91181,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90911,9 +91199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *310 - - *311 - - *562 + - *312 + - *313 + - *564 responses: '204': description: Response @@ -90937,8 +91225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -91024,16 +91312,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91050,8 +91338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *310 - - *311 + - *312 + - *313 - name: tag description: tag parameter in: path @@ -91064,9 +91352,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91088,9 +91376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *310 - - *311 - - &565 + - *312 + - *313 + - &567 name: release_id description: The unique identifier of the release. in: path @@ -91104,9 +91392,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: *560 + schema: *562 examples: - default: *564 + default: *566 '401': description: Unauthorized x-github: @@ -91124,9 +91412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 requestBody: required: false content: @@ -91190,9 +91478,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': description: Not Found if the discussion category name is invalid content: @@ -91213,9 +91501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 responses: '204': description: Response @@ -91235,9 +91523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - *17 - *19 responses: @@ -91247,7 +91535,7 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: default: value: @@ -91328,9 +91616,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: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - name: name in: query required: true @@ -91356,7 +91644,7 @@ paths: description: Response for successful upload content: application/json: - schema: *561 + schema: *563 examples: response-for-successful-upload: value: @@ -91411,9 +91699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 - 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. @@ -91437,9 +91725,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -91460,9 +91748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *310 - - *311 - - *565 + - *312 + - *313 + - *567 requestBody: required: true content: @@ -91492,16 +91780,16 @@ paths: description: Reaction exists content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '201': description: Reaction created content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 '422': *15 x-github: githubCloudOnly: false @@ -91523,10 +91811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *310 - - *311 - - *565 - - *508 + - *312 + - *313 + - *567 + - *510 responses: '204': description: Response @@ -91550,9 +91838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *310 - - *311 - - *377 + - *312 + - *313 + - *379 - *17 - *19 responses: @@ -91568,8 +91856,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *273 - - &566 + - *274 + - &568 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91588,69 +91876,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *274 - - *566 - allOf: - *275 - - *566 + - *568 - allOf: - *276 - - *566 - - allOf: - - *567 - - *566 + - *568 - allOf: - *277 - - *566 + - *568 + - allOf: + - *569 + - *568 - allOf: - *278 - - *566 + - *568 - allOf: - *279 - - *566 + - *568 - allOf: - *280 - - *566 + - *568 - allOf: - *281 - - *566 + - *568 - allOf: - *282 - - *566 + - *568 - allOf: - *283 - - *566 + - *568 - allOf: - *284 - - *566 + - *568 - allOf: - *285 - - *566 + - *568 - allOf: - *286 - - *566 + - *568 - allOf: - *287 - - *566 + - *568 - allOf: - *288 - - *566 + - *568 - allOf: - *289 - - *566 + - *568 - allOf: - *290 - - *566 + - *568 - allOf: - *291 - - *566 + - *568 - allOf: - *292 - - *566 + - *568 - allOf: - *293 - - *566 + - *568 + - allOf: + - *294 + - *568 examples: default: value: @@ -91689,8 +91977,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: includes_parents @@ -91701,7 +91989,7 @@ paths: schema: type: boolean default: true - - *568 + - *570 responses: '200': description: Response @@ -91709,7 +91997,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -91756,8 +92044,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 requestBody: description: Request body required: true @@ -91777,16 +92065,16 @@ paths: - tag - push default: branch - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *268 + items: *272 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: *569 + items: *571 required: - name - enforcement @@ -91817,9 +92105,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &579 + default: &581 value: id: 42 name: super cool ruleset @@ -91852,6 +92140,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *105 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -91866,12 +92155,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *310 - - *311 - - *570 - - *571 + - *312 + - *313 - *572 - *573 + - *574 + - *575 - *17 - *19 responses: @@ -91879,9 +92168,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *105 x-github: @@ -91902,17 +92191,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *310 - - *311 - - *576 + - *312 + - *313 + - *578 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '404': *6 '500': *105 x-github: @@ -91940,8 +92229,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91961,9 +92250,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 '500': *105 put: @@ -91981,8 +92270,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92007,16 +92296,16 @@ paths: - branch - tag - push - enforcement: *270 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *271 - conditions: *268 + items: *272 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *569 + items: *571 examples: default: value: @@ -92044,10 +92333,11 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 + '422': *15 '500': *105 delete: summary: Delete a repository ruleset @@ -92064,8 +92354,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92088,8 +92378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: ruleset_id @@ -92105,9 +92395,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *580 + default: *582 '404': *6 '500': *105 x-github: @@ -92126,8 +92416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92145,7 +92435,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -92200,22 +92490,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *310 - - *311 - - *582 - - *583 + - *312 + - *313 - *584 - *585 - *586 + - *587 + - *588 - *51 - *19 - *17 - - *587 - - *588 - *589 - *590 - *591 - *592 + - *593 + - *594 responses: '200': description: Response @@ -92223,7 +92513,7 @@ paths: application/json: schema: type: array - items: &596 + items: &598 type: object properties: number: *163 @@ -92239,8 +92529,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *595 + resolution: *596 resolved_at: type: - string @@ -92334,7 +92624,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *595 + - *597 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -92479,16 +92769,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 - - *592 + - *312 + - *313 + - *409 + - *594 responses: '200': description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92542,9 +92832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 requestBody: required: true content: @@ -92552,8 +92842,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *595 + resolution: *596 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92589,7 +92879,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92684,9 +92974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *310 - - *311 - - *407 + - *312 + - *313 + - *409 - *19 - *17 responses: @@ -92697,7 +92987,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &748 + items: &749 type: object properties: type: @@ -92724,8 +93014,6 @@ paths: - commit details: oneOf: - - *597 - - *598 - *599 - *600 - *601 @@ -92737,6 +93025,8 @@ paths: - *607 - *608 - *609 + - *610 + - *611 examples: default: value: @@ -92822,8 +93112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -92831,14 +93121,14 @@ paths: schema: type: object properties: - reason: &611 + reason: &613 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *610 + placeholder_id: *612 required: - reason - placeholder_id @@ -92855,7 +93145,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *613 expire_at: type: - string @@ -92902,8 +93192,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: - - *310 - - *311 + - *312 + - *313 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92918,7 +93208,7 @@ paths: properties: incremental_scans: type: array - items: &612 + items: &614 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92946,15 +93236,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *612 + items: *614 backfill_scans: type: array - items: *612 + items: *614 custom_pattern_backfill_scans: type: array items: allOf: - - *612 + - *614 - type: object properties: pattern_name: @@ -93024,8 +93314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *310 - - *311 + - *312 + - *313 - *51 - name: sort description: The property to sort the results by. @@ -93069,9 +93359,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *614 + default: *616 '400': *14 '404': *6 x-github: @@ -93094,8 +93384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -93175,7 +93465,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93265,9 +93555,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &616 + default: &618 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93500,8 +93790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -93614,7 +93904,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -93761,17 +94051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *616 + default: *618 '403': *27 '404': *6 x-github: @@ -93795,9 +94085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 requestBody: required: true content: @@ -93877,7 +94167,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93968,10 +94258,10 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *616 - add_credit: *616 + default: *618 + add_credit: *618 '403': *27 '404': *6 '422': @@ -94009,9 +94299,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: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '202': *37 '400': *14 @@ -94038,17 +94328,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *310 - - *311 - - *615 + - *312 + - *313 + - *617 responses: '202': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -94074,8 +94364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94171,8 +94461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94181,7 +94471,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94214,8 +94504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -94293,8 +94583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -94388,8 +94678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94543,8 +94833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94554,7 +94844,7 @@ paths: application/json: schema: type: array - items: *617 + items: *619 examples: default: value: @@ -94587,8 +94877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *310 - - *311 + - *312 + - *313 - name: sha in: path required: true @@ -94644,7 +94934,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -94698,8 +94988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94731,14 +95021,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &619 + schema: &621 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94811,8 +95101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -94838,7 +95128,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -94865,8 +95155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -94886,8 +95176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -94952,165 +95242,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: - - *310 - - *311 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &620 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *27 - '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: - - *310 - - *311 - 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: *620 - examples: - default: - value: - enabled: true - '403': *27 - '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: - - *310 - - *311 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *27 - '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) @@ -95128,8 +95259,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *310 - - *311 + - *312 + - *313 - name: ref in: path required: true @@ -95165,8 +95296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -95178,7 +95309,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '404': *6 @@ -95198,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *310 - - *311 + - *312 + - *313 - *19 - *17 responses: @@ -95207,7 +95338,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &622 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95219,7 +95350,7 @@ paths: required: - names examples: - default: &622 + default: &623 value: names: - octocat @@ -95242,8 +95373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -95274,9 +95405,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 '404': *6 '422': *7 x-github: @@ -95297,9 +95428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *310 - - *311 - - &623 + - *312 + - *313 + - &624 name: per description: The time frame to display results for. in: query @@ -95330,7 +95461,7 @@ paths: - 128 clones: type: array - items: &624 + items: &625 title: Traffic type: object properties: @@ -95417,8 +95548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -95512,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -95576,9 +95707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *310 - - *311 - - *623 + - *312 + - *313 + - *624 responses: '200': description: Response @@ -95599,7 +95730,7 @@ paths: - 3782 views: type: array - items: *624 + items: *625 required: - uniques - count @@ -95676,8 +95807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *310 - - *311 + - *312 + - *313 requestBody: required: true content: @@ -95951,8 +96082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95975,8 +96106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -95998,8 +96129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -96025,8 +96156,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *310 - - *311 + - *312 + - *313 - name: ref in: path required: true @@ -96118,9 +96249,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96369,7 +96500,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &625 + text_matches: &626 title: Search Result Text Matches type: array items: @@ -96532,7 +96663,7 @@ paths: enum: - author-date - committer-date - - &626 + - &627 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 @@ -96601,7 +96732,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -96620,7 +96751,7 @@ paths: url: type: string format: uri - verification: *491 + verification: *493 required: - author - committer @@ -96635,7 +96766,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -96652,7 +96783,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *626 required: - sha - node_id @@ -96844,7 +96975,7 @@ paths: - interactions - created - updated - - *626 + - *627 - *17 - *19 - name: advanced_search @@ -96941,11 +97072,11 @@ paths: type: - string - 'null' - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: type: string state_reason: @@ -96959,7 +97090,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 comments: type: integer created_at: @@ -96973,7 +97104,7 @@ paths: - string - 'null' format: date-time - text_matches: *625 + text_matches: *626 pull_request: type: object properties: @@ -97022,7 +97153,7 @@ paths: timeline_url: type: string format: uri - type: *216 + type: *217 performed_via_github_app: anyOf: - type: 'null' @@ -97200,7 +97331,7 @@ paths: enum: - created - updated - - *626 + - *627 - *17 - *19 responses: @@ -97245,7 +97376,7 @@ paths: - 'null' score: type: number - text_matches: *625 + text_matches: *626 required: - id - node_id @@ -97330,7 +97461,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *627 - *17 - *19 responses: @@ -97576,7 +97707,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *626 temp_clone_token: type: string allow_merge_commit: @@ -97884,7 +98015,7 @@ paths: - string - 'null' format: uri - text_matches: *625 + text_matches: *626 related: type: - array @@ -98077,7 +98208,7 @@ paths: - followers - repositories - joined - - *626 + - *627 - *17 - *19 responses: @@ -98187,7 +98318,7 @@ paths: type: - boolean - 'null' - text_matches: *625 + text_matches: *626 blog: type: - string @@ -98269,7 +98400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &630 + - &631 name: team_id description: The unique identifier of the team. in: path @@ -98281,9 +98412,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -98310,7 +98441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *630 + - *631 requestBody: required: true content: @@ -98374,16 +98505,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '201': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '422': *15 '403': *27 @@ -98411,7 +98542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *630 + - *631 responses: '204': description: Response @@ -98440,7 +98571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -98450,9 +98581,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 x-github: @@ -98478,7 +98609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *630 + - *631 - name: role description: Filters members returned by their role in the team. in: query @@ -98529,7 +98660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98566,7 +98697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98606,7 +98737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98643,16 +98774,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *632 '404': *6 x-github: githubCloudOnly: false @@ -98685,7 +98816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 requestBody: required: false @@ -98711,9 +98842,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *633 '403': description: Forbidden if team synchronization is set up '422': @@ -98747,7 +98878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *630 + - *631 - *61 responses: '204': @@ -98775,7 +98906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -98787,7 +98918,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -98817,15 +98948,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *633 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -98976,9 +99107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 requestBody: required: false content: @@ -99028,9 +99159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *630 - - *310 - - *311 + - *631 + - *312 + - *313 responses: '204': description: Response @@ -99055,7 +99186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *630 + - *631 - *17 - *19 responses: @@ -99067,7 +99198,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *634 + response-if-child-teams-exist: *635 headers: Link: *57 '404': *6 @@ -99100,7 +99231,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -99350,7 +99481,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *635 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99510,7 +99641,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -99713,9 +99844,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -99854,17 +99985,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -99908,7 +100039,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99950,7 +100081,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -100028,7 +100159,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -100174,7 +100305,7 @@ paths: type: array items: *145 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -100318,15 +100449,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '304': *35 '500': *105 '401': *23 @@ -100352,7 +100483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 requestBody: required: false content: @@ -100382,9 +100513,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -100406,7 +100537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '202': *37 '304': *35 @@ -100435,13 +100566,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '202': description: Response content: application/json: - schema: &639 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100494,7 +100625,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &640 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100526,7 +100657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *223 + - *224 - name: export_id in: path required: true @@ -100539,9 +100670,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100562,7 +100693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *223 + - *224 responses: '200': description: Response @@ -100578,9 +100709,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: *641 + default: *642 '304': *35 '500': *105 '401': *23 @@ -100609,7 +100740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *223 + - *224 requestBody: required: true content: @@ -100665,11 +100796,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *313 + repository: *315 machine: anyOf: - type: 'null' - - *431 + - *433 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101466,15 +101597,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '304': *35 '500': *105 '400': *14 @@ -101506,15 +101637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '500': *105 '401': *23 '403': *27 @@ -101544,9 +101675,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &652 + default: &653 value: - id: 197 name: hello_docker @@ -101647,7 +101778,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -101717,9 +101848,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: &654 + default: &655 value: - email: octocat@github.com verified: true @@ -101796,7 +101927,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -102054,7 +102185,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102199,7 +102330,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -102284,9 +102415,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -102343,7 +102474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &645 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102355,9 +102486,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102380,7 +102511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *645 + - *646 responses: '204': description: Response @@ -102658,12 +102789,12 @@ paths: application/json: schema: anyOf: - - *211 + - *212 - type: object properties: {} additionalProperties: false examples: - default: *212 + default: *213 '204': description: Response when there are no restrictions x-github: @@ -102687,7 +102818,7 @@ paths: required: true content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -102698,7 +102829,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -102779,7 +102910,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -102804,7 +102935,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -102837,7 +102968,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -102940,9 +103071,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102975,15 +103106,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *531 + - *533 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: *647 + default: *648 '404': *6 '304': *35 '403': *27 @@ -103006,7 +103137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *531 + - *533 responses: '204': description: Response @@ -103039,7 +103170,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103118,7 +103249,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103180,9 +103311,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *57 '304': *35 @@ -103222,7 +103353,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -103336,7 +103467,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103423,7 +103554,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103495,7 +103626,7 @@ paths: application/json: schema: type: array - items: *227 + items: *228 examples: default: value: @@ -103757,7 +103888,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -103937,7 +104068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *228 + - *229 - name: exclude in: query required: false @@ -103950,7 +104081,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -104144,7 +104275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *228 + - *229 responses: '302': description: Response @@ -104170,7 +104301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *228 + - *229 responses: '204': description: Response @@ -104199,8 +104330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *228 - - *650 + - *229 + - *651 responses: '204': description: Response @@ -104224,7 +104355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *228 + - *229 - *17 - *19 responses: @@ -104236,7 +104367,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -104315,7 +104446,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *19 - *17 responses: @@ -104325,10 +104456,10 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 - '400': *653 + default: *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104348,16 +104479,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &671 + default: &672 value: id: 40201 name: octo-name @@ -104470,8 +104601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 responses: '204': description: Response @@ -104501,8 +104632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *235 - *236 + - *237 - name: token description: package token schema: @@ -104534,8 +104665,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: - - *235 - *236 + - *237 - *19 - *17 - name: state @@ -104555,7 +104686,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -104604,15 +104735,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -104648,9 +104779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '204': description: Response @@ -104680,9 +104811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 responses: '204': description: Response @@ -104719,9 +104850,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *654 + default: *655 headers: Link: *57 '304': *35 @@ -104834,7 +104965,7 @@ paths: type: array items: *69 examples: - default: &661 + default: &662 summary: Default response value: - id: 1296269 @@ -105152,9 +105283,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105192,9 +105323,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *655 + default: *656 headers: Link: *57 '304': *35 @@ -105217,7 +105348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *215 + - *216 responses: '204': description: Response @@ -105240,7 +105371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *215 + - *216 responses: '204': description: Response @@ -105273,7 +105404,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Social account description: Social media account type: object @@ -105290,7 +105421,7 @@ paths: - provider - url examples: - default: &657 + default: &658 value: - provider: twitter url: https://twitter.com/github @@ -105353,9 +105484,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105443,7 +105574,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105463,7 +105594,7 @@ paths: - title - created_at examples: - default: &689 + default: &690 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105528,9 +105659,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: &659 + default: &660 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105560,7 +105691,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: - - &660 + - &661 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105572,9 +105703,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105597,7 +105728,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: - - *660 + - *661 responses: '204': description: Response @@ -105626,7 +105757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &690 + - &691 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 @@ -105651,11 +105782,11 @@ paths: type: array items: *69 examples: - default-response: *661 + default-response: *662 application/vnd.github.v3.star+json: schema: type: array - items: &691 + items: &692 title: Starred Repository description: Starred Repository type: object @@ -105811,8 +105942,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: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response if this repository is starred by you @@ -105840,8 +105971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -105865,8 +105996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -105901,7 +106032,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '304': *35 @@ -105938,7 +106069,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -106024,10 +106155,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -106062,7 +106193,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &667 summary: Response with GitHub plan information value: login: octocat @@ -106119,14 +106250,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &663 + - &664 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *251 + - *252 requestBody: required: true description: Details of the draft item to create in the project. @@ -106160,9 +106291,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - draft_issue: *257 + draft_issue: *258 '304': *35 '403': *27 '401': *23 @@ -106185,7 +106316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *662 + - *663 - *17 responses: '200': @@ -106220,8 +106351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *663 - - *251 + - *664 + - *252 requestBody: required: true content: @@ -106295,17 +106426,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *664 + schema: *665 examples: table_view: summary: Response for creating a table view - value: *261 + value: *262 board_view: summary: Response for creating a board view with filter - value: *261 + value: *262 roadmap_view: summary: Response for creating a roadmap view - value: *261 + value: *262 '304': *35 '403': *27 '401': *23 @@ -106347,11 +106478,11 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *666 + response-with-git-hub-plan-information: *667 '404': *6 x-github: githubCloudOnly: false @@ -106401,8 +106532,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *668 + withPredicateType: *669 responses: '200': description: Response @@ -106456,7 +106587,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106661,7 +106792,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106700,9 +106831,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 x-github: @@ -107086,9 +107217,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *670 + default: *671 headers: Link: *57 x-github: @@ -107192,7 +107323,7 @@ paths: application/json: schema: *20 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107317,7 +107448,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *61 - *19 - *17 @@ -107328,12 +107459,12 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 - '400': *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107353,17 +107484,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107384,8 +107515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 responses: '204': @@ -107418,8 +107549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *235 - *236 + - *237 - *61 - name: token description: package token @@ -107452,8 +107583,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: - - *235 - *236 + - *237 - *61 responses: '200': @@ -107462,7 +107593,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -107520,16 +107651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *235 - *236 - - *238 + - *237 + - *239 - *61 responses: '200': description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -107564,10 +107695,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *235 - *236 + - *237 - *61 - - *238 + - *239 responses: '204': description: Response @@ -107599,10 +107730,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *235 - *236 + - *237 - *61 - - *238 + - *239 responses: '204': description: Response @@ -107643,9 +107774,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107667,16 +107798,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *252 - *61 responses: '200': description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107698,7 +107829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *252 - *61 - *17 - *43 @@ -107710,9 +107841,9 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: - default: *672 + default: *673 headers: Link: *57 '304': *35 @@ -107734,7 +107865,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *61 - - *251 + - *252 requestBody: required: true content: @@ -107772,7 +107903,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *673 + items: *674 required: - name - data_type @@ -107788,7 +107919,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *674 + iteration_configuration: *675 required: - name - data_type @@ -107810,20 +107941,20 @@ paths: value: name: Due date data_type: date - single_select_field: *675 - iteration_field: *676 + single_select_field: *676 + iteration_field: *677 responses: '201': description: Response content: application/json: - schema: *254 + schema: *255 examples: - text_field: *677 - number_field: *678 - date_field: *679 - single_select_field: *680 - iteration_field: *681 + text_field: *678 + number_field: *679 + date_field: *680 + single_select_field: *681 + iteration_field: *682 '304': *35 '403': *27 '401': *23 @@ -107844,17 +107975,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *682 + - *252 + - *683 - *61 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: - default: *683 + default: *684 headers: Link: *57 '304': *35 @@ -107877,7 +108008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *252 - *61 - *43 - *44 @@ -107910,9 +108041,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -107934,7 +108065,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *61 - - *251 + - *252 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -108004,22 +108135,22 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *257 + value: *258 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *257 + value: *258 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *257 + value: *258 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *257 + value: *258 '304': *35 '403': *27 '401': *23 @@ -108039,9 +108170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *252 - *61 - - *260 + - *261 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -108061,9 +108192,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108084,9 +108215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *252 - *61 - - *260 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -108159,13 +108290,13 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - text_field: *259 - number_field: *259 - date_field: *259 - single_select_field: *259 - iteration_field: *259 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *23 '403': *27 '404': *6 @@ -108185,9 +108316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *252 - *61 - - *260 + - *261 responses: '204': description: Response @@ -108209,9 +108340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *251 + - *252 - *61 - - *684 + - *685 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -108237,9 +108368,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108460,7 +108591,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -108486,7 +108617,7 @@ paths: - *108 - *110 - *109 - - *685 + - *686 - *111 responses: '200': @@ -108617,7 +108748,7 @@ paths: parameters: - *61 - *108 - - *686 + - *687 - *109 responses: '200': @@ -108716,9 +108847,9 @@ paths: - *108 - *110 - *109 - - *687 - - *111 - *688 + - *111 + - *689 responses: '200': description: Response when getting a billing usage summary @@ -108852,9 +108983,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 headers: Link: *57 x-github: @@ -108884,9 +109015,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *689 + default: *690 headers: Link: *57 x-github: @@ -108911,7 +109042,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *61 - - *690 + - *691 - *51 - *17 - *19 @@ -108923,11 +109054,11 @@ paths: schema: anyOf: - type: array - items: *691 + items: *692 - type: array items: *69 examples: - default-response: *661 + default-response: *662 headers: Link: *57 x-github: @@ -108958,7 +109089,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -109087,7 +109218,7 @@ webhooks: type: string enum: - disabled - enterprise: &692 + enterprise: &693 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109156,7 +109287,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &693 + installation: &694 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109177,7 +109308,7 @@ webhooks: required: - id - node_id - organization: &694 + organization: &695 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109250,7 +109381,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &695 + repository: &696 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110176,10 +110307,10 @@ webhooks: type: string enum: - enabled - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -110255,11 +110386,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: &696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: &697 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) @@ -110482,11 +110613,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: *696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *4 required: - action @@ -110674,11 +110805,11 @@ webhooks: - everyone required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - rule: *696 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *4 required: - action @@ -110762,7 +110893,7 @@ webhooks: type: string enum: - completed - check_run: &698 + check_run: &699 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110872,7 +111003,7 @@ webhooks: - examples: - neutral - deployment: *697 + deployment: *698 details_url: type: string examples: @@ -110970,10 +111101,10 @@ webhooks: - output - app - pull_requests - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -111364,11 +111495,11 @@ webhooks: type: string enum: - created - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -111762,11 +111893,11 @@ webhooks: type: string enum: - requested_action - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 requested_action: description: The action requested by the user. type: object @@ -112169,11 +112300,11 @@ webhooks: type: string enum: - rerequested - check_run: *698 - installation: *693 - enterprise: *692 - organization: *694 - repository: *695 + check_run: *699 + installation: *694 + enterprise: *693 + organization: *695 + repository: *696 sender: *4 required: - check_run @@ -113158,10 +113289,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -113865,10 +113996,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -114566,10 +114697,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -114738,7 +114869,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114890,20 +115021,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &699 + commit_oid: &700 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: *692 - installation: *693 - organization: *694 - ref: &700 + enterprise: *693 + installation: *694 + organization: *695 + ref: &701 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: *695 + repository: *696 sender: *4 required: - action @@ -115070,7 +115201,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115311,12 +115442,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -115414,7 +115545,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115599,12 +115730,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -115773,7 +115904,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115950,12 +116081,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -116056,7 +116187,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116245,9 +116376,9 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116255,7 +116386,7 @@ webhooks: type: - string - 'null' - repository: *695 + repository: *696 sender: *4 required: - action @@ -116354,7 +116485,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116501,12 +116632,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *699 - enterprise: *692 - installation: *693 - organization: *694 - ref: *700 - repository: *695 + commit_oid: *700 + enterprise: *693 + installation: *694 + organization: *695 + ref: *701 + repository: *696 sender: *4 required: - action @@ -116675,7 +116806,7 @@ webhooks: required: - login - id - dismissed_comment: *402 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -116827,10 +116958,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -117090,10 +117221,10 @@ webhooks: - updated_at - author_association - body - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -117174,18 +117305,18 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *694 - pusher_type: &701 + organization: *695 + pusher_type: &702 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &702 + ref: &703 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -117195,7 +117326,7 @@ webhooks: enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117277,10 +117408,10 @@ webhooks: type: string enum: - created - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117365,9 +117496,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117444,10 +117575,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117524,10 +117655,10 @@ webhooks: type: string enum: - updated - definition: *262 - enterprise: *692 - installation: *693 - organization: *694 + definition: *263 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -117604,19 +117735,19 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - repository: *695 - organization: *694 + enterprise: *693 + installation: *694 + repository: *696 + organization: *695 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *266 + items: *267 old_property_values: type: array description: The old custom property values for the repository. - items: *266 + items: *267 required: - action - repository @@ -117692,18 +117823,18 @@ webhooks: title: delete event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - pusher_type: *701 - ref: *702 + enterprise: *693 + installation: *694 + organization: *695 + pusher_type: *702 + ref: *703 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117748,7 +117879,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117783,11 +117914,11 @@ webhooks: type: string enum: - assignees_changed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -117832,7 +117963,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117867,11 +117998,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -117917,7 +118048,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -117952,11 +118083,11 @@ webhooks: type: string enum: - auto_reopened - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118002,7 +118133,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118037,11 +118168,11 @@ webhooks: type: string enum: - created - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118085,7 +118216,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118120,11 +118251,11 @@ webhooks: type: string enum: - dismissed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118168,7 +118299,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118203,11 +118334,11 @@ webhooks: type: string enum: - fixed - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118252,7 +118383,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118287,11 +118418,11 @@ webhooks: type: string enum: - reintroduced - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118335,7 +118466,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -118370,11 +118501,11 @@ webhooks: type: string enum: - reopened - alert: *460 - installation: *693 - organization: *694 - enterprise: *692 - repository: *695 + alert: *462 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *4 required: - action @@ -118451,9 +118582,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - key: &703 + enterprise: *693 + installation: *694 + key: &704 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -118491,8 +118622,8 @@ webhooks: - verified - created_at - read_only - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -118569,11 +118700,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - key: *703 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + key: *704 + organization: *695 + repository: *696 sender: *4 required: - action @@ -119140,12 +119271,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: &707 + workflow: &708 title: Workflow type: - object @@ -119896,13 +120027,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *466 + - *468 pull_requests: type: array - items: *549 - repository: *695 - organization: *694 - installation: *693 + items: *551 + repository: *696 + organization: *695 + installation: *694 sender: *4 responses: '200': @@ -119973,7 +120104,7 @@ webhooks: type: string enum: - approved - approver: &704 + approver: &705 type: object properties: avatar_url: @@ -120016,11 +120147,11 @@ webhooks: type: string comment: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - reviewers: &705 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: &706 type: array items: type: object @@ -120101,7 +120232,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &706 + workflow_job_run: &707 type: object properties: conclusion: @@ -120847,18 +120978,18 @@ webhooks: type: string enum: - rejected - approver: *704 + approver: *705 comment: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - reviewers: *705 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: *706 sender: *4 since: type: string - workflow_job_run: *706 + workflow_job_run: *707 workflow_job_runs: type: array items: @@ -121575,13 +121706,13 @@ webhooks: type: string enum: - requested - enterprise: *692 + enterprise: *693 environment: type: string - installation: *693 - organization: *694 - repository: *695 - requestor: &712 + installation: *694 + organization: *695 + repository: *696 + requestor: &713 title: User type: - object @@ -123514,12 +123645,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Deployment Workflow Run type: @@ -124210,7 +124341,7 @@ webhooks: type: string enum: - answered - answer: &710 + answer: &711 type: object properties: author_association: @@ -124370,11 +124501,11 @@ webhooks: - created_at - updated_at - body - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124501,11 +124632,11 @@ webhooks: - from required: - category - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124588,11 +124719,11 @@ webhooks: type: string enum: - closed - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124674,7 +124805,7 @@ webhooks: type: string enum: - created - comment: &709 + comment: &710 type: object properties: author_association: @@ -124834,11 +124965,11 @@ webhooks: - updated_at - body - reactions - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -124921,12 +125052,12 @@ webhooks: type: string enum: - deleted - comment: *709 - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + comment: *710 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125021,12 +125152,12 @@ webhooks: - from required: - body - comment: *709 - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + comment: *710 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125110,11 +125241,11 @@ webhooks: type: string enum: - created - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125196,11 +125327,11 @@ webhooks: type: string enum: - deleted - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125300,11 +125431,11 @@ webhooks: type: string required: - from - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125386,10 +125517,10 @@ webhooks: type: string enum: - labeled - discussion: *708 - enterprise: *692 - installation: *693 - label: &711 + discussion: *709 + enterprise: *693 + installation: *694 + label: &712 title: Label type: object properties: @@ -125422,8 +125553,8 @@ webhooks: - color - default - description - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125506,11 +125637,11 @@ webhooks: type: string enum: - locked - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125592,11 +125723,11 @@ webhooks: type: string enum: - pinned - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125678,11 +125809,11 @@ webhooks: type: string enum: - reopened - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125767,16 +125898,16 @@ webhooks: changes: type: object properties: - new_discussion: *708 - new_repository: *695 + new_discussion: *709 + new_repository: *696 required: - new_discussion - new_repository - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125859,10 +125990,10 @@ webhooks: type: string enum: - unanswered - discussion: *708 - old_answer: *710 - organization: *694 - repository: *695 + discussion: *709 + old_answer: *711 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125944,12 +126075,12 @@ webhooks: type: string enum: - unlabeled - discussion: *708 - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126032,11 +126163,11 @@ webhooks: type: string enum: - unlocked - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126118,11 +126249,11 @@ webhooks: type: string enum: - unpinned - discussion: *708 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + discussion: *709 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -126195,7 +126326,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *692 + enterprise: *693 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126873,9 +127004,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - forkee @@ -127021,9 +127152,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pages: description: The pages that were updated. type: array @@ -127061,7 +127192,7 @@ webhooks: - action - sha - html_url - repository: *695 + repository: *696 sender: *4 required: - pages @@ -127137,10 +127268,10 @@ webhooks: type: string enum: - created - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: &713 + organization: *695 + repositories: &714 description: An array of repository objects that the installation can access. type: array @@ -127166,8 +127297,8 @@ webhooks: - name - full_name - private - repository: *695 - requester: *712 + repository: *696 + requester: *713 sender: *4 required: - action @@ -127242,11 +127373,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127323,11 +127454,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127404,10 +127535,10 @@ webhooks: type: string enum: - added - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories_added: &714 + organization: *695 + repositories_added: &715 description: An array of repository objects, which were added to the installation. type: array @@ -127453,15 +127584,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *695 - repository_selection: &715 + repository: *696 + repository_selection: &716 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *712 + requester: *713 sender: *4 required: - action @@ -127540,10 +127671,10 @@ webhooks: type: string enum: - removed - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories_added: *714 + organization: *695 + repositories_added: *715 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127570,9 +127701,9 @@ webhooks: - name - full_name - private - repository: *695 - repository_selection: *715 - requester: *712 + repository: *696 + repository_selection: *716 + requester: *713 sender: *4 required: - action @@ -127651,11 +127782,11 @@ webhooks: type: string enum: - suspend - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -127837,10 +127968,10 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 target_type: type: string @@ -127919,11 +128050,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *692 + enterprise: *693 installation: *20 - organization: *694 - repositories: *713 - repository: *695 + organization: *695 + repositories: *714 + repository: *696 requester: type: - 'null' @@ -128089,7 +128220,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 user: title: User type: @@ -128175,8 +128306,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128988,8 +129119,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129006,7 +129137,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -129350,8 +129481,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -129431,7 +129562,7 @@ webhooks: type: string enum: - deleted - comment: &716 + comment: &717 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129588,7 +129719,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 required: - url - html_url @@ -129602,8 +129733,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130411,8 +130542,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130429,7 +130560,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -130775,8 +130906,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -130856,7 +130987,7 @@ webhooks: type: string enum: - edited - changes: &740 + changes: &741 description: The changes to the comment. type: object properties: @@ -130868,9 +130999,9 @@ webhooks: type: string required: - from - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131681,8 +131812,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131699,7 +131830,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -132043,8 +132174,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -132125,9 +132256,9 @@ webhooks: type: string enum: - pinned - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132940,8 +133071,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132958,7 +133089,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -133304,8 +133435,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -133385,9 +133516,9 @@ webhooks: type: string enum: - unpinned - comment: *716 - enterprise: *692 - installation: *693 + comment: *717 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134200,8 +134331,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134218,7 +134349,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -134564,8 +134695,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134654,9 +134785,9 @@ webhooks: type: number blocking_issue: *73 blocking_issue_repo: *69 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134745,9 +134876,9 @@ webhooks: type: number blocking_issue: *73 blocking_issue_repo: *69 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134835,9 +134966,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134926,9 +135057,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -135008,10 +135139,10 @@ webhooks: type: string enum: - assigned - assignee: *712 - enterprise: *692 - installation: *693 - issue: &719 + assignee: *713 + enterprise: *693 + installation: *694 + issue: &720 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -135822,11 +135953,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135843,7 +135974,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -135946,8 +136077,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -136027,8 +136158,8 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136844,11 +136975,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136865,7 +136996,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -137111,8 +137242,8 @@ webhooks: required: - state - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -137191,8 +137322,8 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137999,11 +138130,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138020,7 +138151,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -138122,8 +138253,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -138202,8 +138333,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139033,11 +139164,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139054,7 +139185,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -139135,7 +139266,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &717 + milestone: &718 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139278,8 +139409,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -139378,8 +139509,8 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140190,11 +140321,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140208,7 +140339,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -140314,9 +140445,9 @@ webhooks: - active_lock_reason - body - reactions - label: *711 - organization: *694 - repository: *695 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -140396,8 +140527,8 @@ webhooks: type: string enum: - labeled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,11 +141338,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141225,7 +141356,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -141331,9 +141462,9 @@ webhooks: - active_lock_reason - body - reactions - label: *711 - organization: *694 - repository: *695 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -141413,8 +141544,8 @@ webhooks: type: string enum: - locked - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142249,11 +142380,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142267,7 +142398,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -142350,8 +142481,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -142430,8 +142561,8 @@ webhooks: type: string enum: - milestoned - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143260,11 +143391,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143281,7 +143412,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -143361,9 +143492,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *717 - organization: *694 - repository: *695 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -144250,11 +144381,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144354,7 +144485,7 @@ webhooks: required: - login - id - type: *216 + type: *217 required: - id - number @@ -144846,8 +144977,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145654,11 +145785,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145675,7 +145806,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -145781,8 +145912,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -145862,9 +145993,9 @@ webhooks: type: string enum: - pinned - enterprise: *692 - installation: *693 - issue: &718 + enterprise: *693 + installation: *694 + issue: &719 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146669,11 +146800,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146690,7 +146821,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -146792,8 +146923,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -146872,8 +147003,8 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147706,11 +147837,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147807,9 +147938,9 @@ webhooks: format: uri user_view_type: type: string - type: *216 - organization: *694 - repository: *695 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -148697,11 +148828,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148718,7 +148849,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -149311,11 +149442,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *692 - installation: *693 - issue: *718 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *719 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149395,12 +149526,12 @@ webhooks: type: string enum: - typed - enterprise: *692 - installation: *693 - issue: *719 - type: *216 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149481,7 +149612,7 @@ webhooks: type: string enum: - unassigned - assignee: &743 + assignee: &744 title: User type: - object @@ -149553,11 +149684,11 @@ webhooks: required: - login - id - enterprise: *692 - installation: *693 - issue: *719 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149636,12 +149767,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *692 - installation: *693 - issue: *719 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -149721,8 +149852,8 @@ webhooks: type: string enum: - unlocked - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150555,11 +150686,11 @@ webhooks: anyOf: - type: 'null' - *74 - sub_issues_summary: *627 - issue_dependencies_summary: *628 + sub_issues_summary: *628 + issue_dependencies_summary: *629 issue_field_values: type: array - items: *629 + items: *630 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150576,7 +150707,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -150656,8 +150787,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150737,11 +150868,11 @@ webhooks: type: string enum: - unpinned - enterprise: *692 - installation: *693 - issue: *718 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *719 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150820,12 +150951,12 @@ webhooks: type: string enum: - untyped - enterprise: *692 - installation: *693 - issue: *719 - type: *216 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + issue: *720 + type: *217 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150905,11 +151036,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150987,11 +151118,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -151101,11 +151232,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - label: *711 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + label: *712 + organization: *695 + repository: *696 sender: *4 required: - action @@ -151187,9 +151318,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: &720 + enterprise: *693 + installation: *694 + marketplace_purchase: &721 title: Marketplace Purchase type: object required: @@ -151277,8 +151408,8 @@ webhooks: type: integer unit_count: type: integer - organization: *694 - previous_marketplace_purchase: &721 + organization: *695 + previous_marketplace_purchase: &722 title: Marketplace Purchase type: object properties: @@ -151362,7 +151493,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151442,10 +151573,10 @@ webhooks: - changed effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151533,7 +151664,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151615,10 +151746,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151704,7 +151835,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151785,8 +151916,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 marketplace_purchase: title: Marketplace Purchase type: object @@ -151872,9 +152003,9 @@ webhooks: type: integer unit_count: type: integer - organization: *694 - previous_marketplace_purchase: *721 - repository: *695 + organization: *695 + previous_marketplace_purchase: *722 + repository: *696 sender: *4 required: - action @@ -151954,12 +152085,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *692 - installation: *693 - marketplace_purchase: *720 - organization: *694 - previous_marketplace_purchase: *721 - repository: *695 + enterprise: *693 + installation: *694 + marketplace_purchase: *721 + organization: *695 + previous_marketplace_purchase: *722 + repository: *696 sender: *4 required: - action @@ -152061,11 +152192,11 @@ webhooks: type: string required: - to - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152167,11 +152298,11 @@ webhooks: type: - string - 'null' - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152250,11 +152381,11 @@ webhooks: type: string enum: - removed - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152332,11 +152463,11 @@ webhooks: type: string enum: - added - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152414,7 +152545,7 @@ webhooks: required: - login - id - team: &722 + team: &723 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152644,11 +152775,11 @@ webhooks: type: string enum: - removed - enterprise: *692 - installation: *693 - member: *712 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + member: *713 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152727,7 +152858,7 @@ webhooks: required: - login - id - team: *722 + team: *723 required: - action - scope @@ -152809,8 +152940,8 @@ webhooks: type: string enum: - checks_requested - installation: *693 - merge_group: &723 + installation: *694 + merge_group: &724 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152829,15 +152960,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *391 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152923,10 +153054,10 @@ webhooks: - merged - invalidated - dequeued - installation: *693 - merge_group: *723 - organization: *694 - repository: *695 + installation: *694 + merge_group: *724 + organization: *695 + repository: *696 sender: *4 required: - action @@ -152999,7 +153130,7 @@ webhooks: type: string enum: - deleted - enterprise: *692 + enterprise: *693 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153108,12 +153239,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *693 - organization: *694 + installation: *694 + organization: *695 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -153193,11 +153324,11 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153276,9 +153407,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - milestone: &724 + enterprise: *693 + installation: *694 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153420,8 +153551,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153500,11 +153631,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153614,11 +153745,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - milestone: *717 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *718 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153698,11 +153829,11 @@ webhooks: type: string enum: - opened - enterprise: *692 - installation: *693 - milestone: *724 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153781,11 +153912,11 @@ webhooks: type: string enum: - blocked - blocked_user: *712 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + blocked_user: *713 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153864,11 +153995,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *712 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + blocked_user: *713 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153947,9 +154078,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - membership: &725 + enterprise: *693 + installation: *694 + membership: &726 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154059,8 +154190,8 @@ webhooks: - role - organization_url - user - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154138,11 +154269,11 @@ webhooks: type: string enum: - member_added - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154221,8 +154352,8 @@ webhooks: type: string enum: - member_invited - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -154344,10 +154475,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 - user: *712 + user: *713 required: - action - invitation @@ -154425,11 +154556,11 @@ webhooks: type: string enum: - member_removed - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154516,11 +154647,11 @@ webhooks: properties: from: type: string - enterprise: *692 - installation: *693 - membership: *725 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + membership: *726 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154597,9 +154728,9 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -155122,7 +155253,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &726 + items: &727 title: Ruby Gems metadata type: object properties: @@ -155219,7 +155350,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155295,9 +155426,9 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -155659,7 +155790,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 source_url: type: string format: uri @@ -155730,7 +155861,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155910,12 +156041,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *692 + enterprise: *693 id: type: integer - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - id @@ -155992,7 +156123,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &727 + personal_access_token_request: &728 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156142,10 +156273,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *692 - organization: *694 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156222,11 +156353,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *727 - enterprise: *692 - organization: *694 + personal_access_token_request: *728 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156302,11 +156433,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *727 - enterprise: *692 - organization: *694 + personal_access_token_request: *728 + enterprise: *693 + organization: *695 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156381,11 +156512,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *727 - organization: *694 - enterprise: *692 + personal_access_token_request: *728 + organization: *695 + enterprise: *693 sender: *4 - installation: *693 + installation: *694 required: - action - personal_access_token_request @@ -156490,7 +156621,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *728 + last_response: *729 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156522,8 +156653,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 zen: description: Random string of GitHub zen. @@ -156768,10 +156899,10 @@ webhooks: - from required: - note - enterprise: *692 - installation: *693 - organization: *694 - project_card: &729 + enterprise: *693 + installation: *694 + organization: *695 + project_card: &730 title: Project Card type: object properties: @@ -156894,7 +157025,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -156975,11 +157106,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project_card: *729 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *730 + repository: *696 sender: *4 required: - action @@ -157059,9 +157190,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 project_card: title: Project Card type: object @@ -157191,7 +157322,7 @@ webhooks: repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -157285,11 +157416,11 @@ webhooks: - from required: - note - enterprise: *692 - installation: *693 - organization: *694 - project_card: *729 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *730 + repository: *696 sender: *4 required: - action @@ -157383,9 +157514,9 @@ webhooks: - from required: - column_id - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 project_card: allOf: - title: Project Card @@ -157582,7 +157713,7 @@ webhooks: type: string required: - after_id - repository: *695 + repository: *696 sender: *4 required: - action @@ -157662,10 +157793,10 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - organization: *694 - project: &731 + enterprise: *693 + installation: *694 + organization: *695 + project: &732 title: Project type: object properties: @@ -157792,7 +157923,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157872,10 +158003,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project_column: &730 + enterprise: *693 + installation: *694 + organization: *695 + project_column: &731 title: Project Column type: object properties: @@ -157915,7 +158046,7 @@ webhooks: - name - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157994,14 +158125,14 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -158090,11 +158221,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 + repository: *696 sender: *4 required: - action @@ -158174,11 +158305,11 @@ webhooks: type: string enum: - moved - enterprise: *692 - installation: *693 - organization: *694 - project_column: *730 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *731 + repository: *696 sender: *4 required: - action @@ -158258,11 +158389,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158342,14 +158473,14 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - project: *731 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -158450,11 +158581,11 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158533,11 +158664,11 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 - organization: *694 - project: *731 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + project: *732 + repository: *696 sender: *4 required: - action @@ -158618,9 +158749,9 @@ webhooks: type: string enum: - closed - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158701,9 +158832,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158784,9 +158915,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158907,9 +159038,9 @@ webhooks: type: string to: type: string - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -158992,7 +159123,7 @@ webhooks: type: string enum: - archived - changes: &735 + changes: &736 type: object properties: archived_at: @@ -159008,9 +159139,9 @@ webhooks: - string - 'null' format: date-time - installation: *693 - organization: *694 - projects_v2_item: &732 + installation: *694 + organization: *695 + projects_v2_item: &733 title: Projects v2 Item description: An item belonging to a project type: object @@ -159028,7 +159159,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *255 + content_type: *256 creator: *4 created_at: type: string @@ -159150,9 +159281,9 @@ webhooks: - 'null' to: type: string - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159234,9 +159365,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159317,9 +159448,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159424,7 +159555,7 @@ webhooks: oneOf: - type: string - type: integer - - &733 + - &734 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159448,7 +159579,7 @@ webhooks: required: - id - name - - &734 + - &735 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159488,8 +159619,8 @@ webhooks: oneOf: - type: string - type: integer - - *733 - *734 + - *735 type: - 'null' - string @@ -159512,9 +159643,9 @@ webhooks: - 'null' required: - body - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159611,9 +159742,9 @@ webhooks: type: - string - 'null' - installation: *693 - organization: *694 - projects_v2_item: *732 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159696,10 +159827,10 @@ webhooks: type: string enum: - restored - changes: *735 - installation: *693 - organization: *694 - projects_v2_item: *732 + changes: *736 + installation: *694 + organization: *695 + projects_v2_item: *733 sender: *4 required: - action @@ -159781,9 +159912,9 @@ webhooks: type: string enum: - reopened - installation: *693 - organization: *694 - projects_v2: *249 + installation: *694 + organization: *695 + projects_v2: *250 sender: *4 required: - action @@ -159864,9 +159995,9 @@ webhooks: type: string enum: - created - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -159947,9 +160078,9 @@ webhooks: type: string enum: - deleted - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -160095,9 +160226,9 @@ webhooks: - string - 'null' format: date - installation: *693 - organization: *694 - projects_v2_status_update: *736 + installation: *694 + organization: *695 + projects_v2_status_update: *737 sender: *4 required: - action @@ -160168,10 +160299,10 @@ webhooks: title: public event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - repository @@ -160248,13 +160379,13 @@ webhooks: type: string enum: - assigned - assignee: *712 - enterprise: *692 - installation: *693 - number: &737 + assignee: *713 + enterprise: *693 + installation: *694 + number: &738 description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -162625,7 +162756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -162707,11 +162838,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -165075,7 +165206,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -165157,11 +165288,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -167525,7 +167656,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -167607,13 +167738,13 @@ webhooks: type: string enum: - closed - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: &738 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: &739 allOf: - - *549 + - *551 - type: object properties: allow_auto_merge: @@ -167675,7 +167806,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *695 + repository: *696 sender: *4 required: - action @@ -167756,12 +167887,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -167841,11 +167972,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *692 - milestone: *252 - number: *737 - organization: *694 - pull_request: &739 + enterprise: *693 + milestone: *253 + number: *738 + organization: *695 + pull_request: &740 title: Pull Request type: object properties: @@ -170194,7 +170325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -170273,11 +170404,11 @@ webhooks: type: string enum: - dequeued - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -172645,7 +172776,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *695 + repository: *696 sender: *4 required: - action @@ -172769,12 +172900,12 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -172854,11 +172985,11 @@ webhooks: type: string enum: - enqueued - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -175211,7 +175342,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -175291,11 +175422,11 @@ webhooks: type: string enum: - labeled - enterprise: *692 - installation: *693 - label: *711 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + label: *712 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -177665,7 +177796,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -177746,10 +177877,10 @@ webhooks: type: string enum: - locked - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -180117,7 +180248,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -180197,12 +180328,12 @@ webhooks: type: string enum: - milestoned - enterprise: *692 - milestone: *252 - number: *737 - organization: *694 - pull_request: *739 - repository: *695 + enterprise: *693 + milestone: *253 + number: *738 + organization: *695 + pull_request: *740 + repository: *696 sender: *4 required: - action @@ -180281,12 +180412,12 @@ webhooks: type: string enum: - opened - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180367,12 +180498,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180452,12 +180583,12 @@ webhooks: type: string enum: - reopened - enterprise: *692 - installation: *693 - number: *737 - organization: *694 - pull_request: *738 - repository: *695 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 + pull_request: *739 + repository: *696 sender: *4 required: - action @@ -180832,9 +180963,9 @@ webhooks: - start_side - side - reactions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -183086,7 +183217,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -183166,7 +183297,7 @@ webhooks: type: string enum: - deleted - comment: &741 + comment: &742 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183459,9 +183590,9 @@ webhooks: - start_side - side - reactions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -185701,7 +185832,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -185781,11 +185912,11 @@ webhooks: type: string enum: - edited - changes: *740 - comment: *741 - enterprise: *692 - installation: *693 - organization: *694 + changes: *741 + comment: *742 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -188028,7 +188159,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -188109,9 +188240,9 @@ webhooks: type: string enum: - dismissed - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -190366,7 +190497,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 review: description: The review that was affected. type: object @@ -190617,9 +190748,9 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -192733,8 +192864,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: &742 + repository: *696 + review: &743 description: The review that was affected. type: object properties: @@ -192972,12 +193103,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -195346,7 +195477,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -195432,12 +195563,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -197813,7 +197944,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198008,12 +198139,12 @@ webhooks: type: string enum: - review_requested - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -200384,7 +200515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -200471,12 +200602,12 @@ webhooks: type: string enum: - review_requested - enterprise: *692 - installation: *693 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *694 + organization: *695 pull_request: title: Pull Request type: object @@ -202838,7 +202969,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203022,9 +203153,9 @@ webhooks: type: string enum: - submitted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -205282,8 +205413,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: *742 + repository: *696 + review: *743 sender: *4 required: - action @@ -205363,9 +205494,9 @@ webhooks: type: string enum: - resolved - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -207518,7 +207649,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -207915,9 +208046,9 @@ webhooks: type: string enum: - unresolved - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -210053,7 +210184,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -210452,10 +210583,10 @@ webhooks: type: string before: type: string - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -212812,7 +212943,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -212894,11 +213025,11 @@ webhooks: type: string enum: - unassigned - assignee: *743 - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + assignee: *744 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -215270,7 +215401,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -215349,11 +215480,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *692 - installation: *693 - label: *711 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + label: *712 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -217714,7 +217845,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -217795,10 +217926,10 @@ webhooks: type: string enum: - unlocked - enterprise: *692 - installation: *693 - number: *737 - organization: *694 + enterprise: *693 + installation: *694 + number: *738 + organization: *695 pull_request: title: Pull Request type: object @@ -220149,7 +220280,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -220352,7 +220483,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *692 + enterprise: *693 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -220447,8 +220578,8 @@ webhooks: - url - author - committer - installation: *693 - organization: *694 + installation: *694 + organization: *695 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -221047,9 +221178,9 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -221526,7 +221657,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -221582,7 +221713,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -221660,9 +221791,9 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -221974,7 +222105,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -222024,7 +222155,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -222101,10 +222232,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - release: &744 + enterprise: *693 + installation: *694 + organization: *695 + release: &745 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -222435,7 +222566,7 @@ webhooks: - updated_at - zipball_url - body - repository: *695 + repository: *696 sender: *4 required: - action @@ -222512,11 +222643,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -222633,11 +222764,11 @@ webhooks: type: boolean required: - to - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -222715,9 +222846,9 @@ webhooks: type: string enum: - prereleased - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -223053,7 +223184,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223129,10 +223260,10 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - release: &745 + enterprise: *693 + installation: *694 + organization: *695 + release: &746 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -223465,7 +223596,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223541,11 +223672,11 @@ webhooks: type: string enum: - released - enterprise: *692 - installation: *693 - organization: *694 - release: *744 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *745 + repository: *696 sender: *4 required: - action @@ -223621,11 +223752,11 @@ webhooks: type: string enum: - unpublished - enterprise: *692 - installation: *693 - organization: *694 - release: *745 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + release: *746 + repository: *696 sender: *4 required: - action @@ -223701,11 +223832,11 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_advisory: *613 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *615 sender: *4 required: - action @@ -223781,11 +223912,11 @@ webhooks: type: string enum: - reported - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_advisory: *613 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *615 sender: *4 required: - action @@ -223861,10 +223992,10 @@ webhooks: type: string enum: - archived - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -223941,10 +224072,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224022,10 +224153,10 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224110,10 +224241,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224228,10 +224359,10 @@ webhooks: - 'null' items: type: string - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224303,10 +224434,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 status: type: string @@ -224387,10 +224518,10 @@ webhooks: type: string enum: - privatized - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224467,10 +224598,10 @@ webhooks: type: string enum: - publicized - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224564,10 +224695,10 @@ webhooks: - name required: - repository - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -224647,11 +224778,11 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 sender: *4 required: - action @@ -224729,11 +224860,11 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 sender: *4 required: - action @@ -224811,11 +224942,11 @@ webhooks: type: string enum: - edited - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - repository_ruleset: *294 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *295 changes: type: object properties: @@ -224834,16 +224965,16 @@ webhooks: properties: added: type: array - items: *268 + items: *269 deleted: type: array - items: *268 + items: *269 updated: type: array items: type: object properties: - condition: *268 + condition: *269 changes: type: object properties: @@ -224876,16 +225007,16 @@ webhooks: properties: added: type: array - items: *569 + items: *571 deleted: type: array - items: *569 + items: *571 updated: type: array items: type: object properties: - rule: *569 + rule: *571 changes: type: object properties: @@ -225122,10 +225253,10 @@ webhooks: - from required: - owner - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225203,10 +225334,10 @@ webhooks: type: string enum: - unarchived - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225284,7 +225415,7 @@ webhooks: type: string enum: - create - alert: &746 + alert: &747 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -225409,10 +225540,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225622,10 +225753,10 @@ webhooks: type: string enum: - dismissed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225703,11 +225834,11 @@ webhooks: type: string enum: - reopen - alert: *746 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *747 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225909,10 +226040,10 @@ webhooks: enum: - fixed - open - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -225990,7 +226121,7 @@ webhooks: type: string enum: - assigned - alert: &747 + alert: &748 type: object properties: number: *163 @@ -226105,10 +226236,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226186,11 +226317,11 @@ webhooks: type: string enum: - created - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226271,11 +226402,11 @@ webhooks: type: string enum: - created - alert: *747 - installation: *693 - location: *748 - organization: *694 - repository: *695 + alert: *748 + installation: *694 + location: *749 + organization: *695 + repository: *696 sender: *4 required: - location @@ -226513,11 +226644,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226595,11 +226726,11 @@ webhooks: type: string enum: - reopened - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226677,11 +226808,11 @@ webhooks: type: string enum: - resolved - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226759,12 +226890,12 @@ webhooks: type: string enum: - unassigned - alert: *747 + alert: *748 assignee: *4 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226842,11 +226973,11 @@ webhooks: type: string enum: - validated - alert: *747 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + alert: *748 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -226976,10 +227107,10 @@ webhooks: - organization - enterprise - - repository: *695 - enterprise: *692 - installation: *693 - organization: *694 + repository: *696 + enterprise: *693 + installation: *694 + organization: *695 sender: *4 required: - action @@ -227057,11 +227188,11 @@ webhooks: type: string enum: - published - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - security_advisory: &749 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: &750 description: The details of the security advisory, including summary, description, and severity. type: object @@ -227247,11 +227378,11 @@ webhooks: type: string enum: - updated - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 - security_advisory: *749 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: *750 sender: *4 required: - action @@ -227324,10 +227455,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -227513,11 +227644,11 @@ webhooks: from: type: object properties: - security_and_analysis: *267 - enterprise: *692 - installation: *693 - organization: *694 - repository: *313 + security_and_analysis: *268 + enterprise: *693 + installation: *694 + organization: *695 + repository: *315 sender: *4 required: - changes @@ -227595,12 +227726,12 @@ webhooks: type: string enum: - cancelled - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: &750 + sponsorship: &751 type: object properties: created_at: @@ -227905,12 +228036,12 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - sponsorship @@ -227998,12 +228129,12 @@ webhooks: type: string required: - from - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228080,17 +228211,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &751 + effective_date: &752 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: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - sponsorship @@ -228164,7 +228295,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &752 + changes: &753 type: object properties: tier: @@ -228208,13 +228339,13 @@ webhooks: - from required: - tier - effective_date: *751 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + effective_date: *752 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228291,13 +228422,13 @@ webhooks: type: string enum: - tier_changed - changes: *752 - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + changes: *753 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - sponsorship: *750 + sponsorship: *751 required: - action - changes @@ -228371,10 +228502,10 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228458,10 +228589,10 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -228895,15 +229026,15 @@ webhooks: type: - string - 'null' - enterprise: *692 + enterprise: *693 id: description: The unique identifier of the status. type: integer - installation: *693 + installation: *694 name: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 sha: description: The Commit SHA. @@ -229019,9 +229150,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229111,9 +229242,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229203,9 +229334,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229295,9 +229426,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *73 - installation: *693 - organization: *694 - repository: *695 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -229374,12 +229505,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - team: &753 + team: &754 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -229609,9 +229740,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -230081,7 +230212,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230157,9 +230288,9 @@ webhooks: type: string enum: - created - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -230629,7 +230760,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230706,9 +230837,9 @@ webhooks: type: string enum: - deleted - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -231178,7 +231309,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -231322,9 +231453,9 @@ webhooks: - from required: - permissions - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -231794,7 +231925,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - changes @@ -231872,9 +232003,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *692 - installation: *693 - organization: *694 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -232344,7 +232475,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -232420,10 +232551,10 @@ webhooks: type: string enum: - started - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 required: - action @@ -232496,17 +232627,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *692 + enterprise: *693 inputs: type: - object - 'null' additionalProperties: true - installation: *693 - organization: *694 + installation: *694 + organization: *695 ref: type: string - repository: *695 + repository: *696 sender: *4 workflow: type: string @@ -232588,10 +232719,10 @@ webhooks: type: string enum: - completed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: allOf: @@ -232847,7 +232978,7 @@ webhooks: type: string required: - conclusion - deployment: *466 + deployment: *468 required: - action - repository @@ -232926,10 +233057,10 @@ webhooks: type: string enum: - in_progress - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: allOf: @@ -233211,7 +233342,7 @@ webhooks: required: - status - steps - deployment: *466 + deployment: *468 required: - action - repository @@ -233290,10 +233421,10 @@ webhooks: type: string enum: - queued - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: type: object @@ -233439,7 +233570,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233518,10 +233649,10 @@ webhooks: type: string enum: - waiting - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 workflow_job: type: object @@ -233668,7 +233799,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233748,12 +233879,12 @@ webhooks: type: string enum: - completed - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object @@ -234772,12 +234903,12 @@ webhooks: type: string enum: - in_progress - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object @@ -235781,12 +235912,12 @@ webhooks: type: string enum: - requested - enterprise: *692 - installation: *693 - organization: *694 - repository: *695 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *4 - workflow: *707 + workflow: *708 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 1b06608ccd..12c4f4b066 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -40037,6 +40037,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", @@ -40442,6 +40451,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", @@ -40743,6 +40762,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", @@ -41242,6 +41270,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", @@ -41672,6 +41709,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", @@ -42046,6 +42092,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", @@ -42338,6 +42394,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", @@ -43192,6 +43257,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", @@ -46175,8 +46249,1331 @@ } } }, - "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", + "null" + ], + "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." + } + } + } + } + } + }, + "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": { + "type": [ + "object", + "null" + ], + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "type": [ + "object", + "null" + ], + "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": { @@ -46201,53 +47598,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": [ { @@ -46260,95 +47669,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": { @@ -46374,33 +47700,7 @@ } }, "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", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -46424,16 +47724,7 @@ } } } - }, - "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" } } }, @@ -47828,6 +49119,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", @@ -49585,6 +50884,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=", @@ -49770,6 +51091,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -154116,20 +155438,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", @@ -154333,7 +155657,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -154349,19 +155673,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", @@ -154398,7 +155722,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", @@ -163134,6 +164458,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", @@ -163596,6 +164929,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", @@ -163897,6 +165239,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", @@ -164283,6 +165634,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", @@ -164984,6 +166344,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", @@ -165412,6 +166781,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", @@ -165704,6 +167082,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", @@ -166424,6 +167811,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", @@ -174244,28 +175640,391 @@ } } } - }, - "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." + }, + "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", + "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, 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, + "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]\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": [ + { + "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-user-management" + "subcategory": "copilot-content-exclusion-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.", + "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/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/set-copilot-content-exclusion-for-organization", "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -174279,60 +176038,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 for which to revoke 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": { "200": { - "description": "OK", + "description": "Success", "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" + "message": { + "type": "string" } - }, - "required": [ - "seats_cancelled" - ] + } }, "examples": { "default": { "value": { - "seats_cancelled": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -174443,15 +176226,68 @@ } } }, + "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": "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." + "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": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -179067,6 +180903,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", @@ -180832,6 +182676,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=", @@ -181017,6 +182883,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -181640,7 +183507,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": [ { @@ -282182,6 +284049,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -286890,6 +288832,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -300377,6 +302394,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300498,6 +302518,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300735,6 +302758,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300778,6 +302804,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -301136,6 +303165,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304241,6 +306273,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304429,6 +306464,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -400326,6 +402364,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", @@ -430024,6 +432071,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", @@ -430211,7 +432285,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", @@ -430232,7 +432306,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", @@ -432481,6 +434555,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", @@ -433685,7 +435767,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, @@ -433803,7 +435907,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -435135,7 +437240,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 + } + ] } } } @@ -435278,10 +437405,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 }, @@ -436423,7 +438566,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -673016,6 +675160,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -677590,6 +679809,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -704222,508 +706516,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", - "examples": [ - "v0.1" - ] - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/zipball/v0.1" - ] - }, - "tarball_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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": [ { @@ -704745,67 +706560,108 @@ } }, { - "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", + "examples": [ + "v0.1" + ] + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/zipball/v0.1" + ] + }, + "tarball_url": { + "type": "string", + "format": "uri", + "examples": [ + "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" } } } @@ -704815,11 +706671,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}": { @@ -719391,7 +721244,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" @@ -720232,7 +722085,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" @@ -998081,7 +999934,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1001065,7 +1002918,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1004049,7 +1005902,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1007033,7 +1008886,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1010017,7 +1011870,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1013001,7 +1014854,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1015985,7 +1017838,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1018969,7 +1020822,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 118c5f98ec..53bdca5c6d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &428 + type: &430 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,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: - - &730 + - &733 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &339 + - &341 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 @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &340 + items: &342 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &341 + default: &343 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &740 + schema: &742 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &344 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &343 + default: &345 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9277,7 +9277,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &741 + '401': &743 description: Authorization failure '404': *6 x-github: @@ -13550,7 +13550,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &516 + instances_url: &519 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13586,7 +13586,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &517 + dismissed_reason: &520 type: - string - 'null' @@ -13597,14 +13597,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &518 + dismissed_comment: &521 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &519 + rule: &522 type: object properties: id: @@ -13665,7 +13665,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &520 + tool: &523 type: object properties: name: *109 @@ -13676,26 +13676,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &521 + most_recent_instance: &524 type: object properties: - ref: &514 + ref: &517 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &534 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: &532 + environment: &535 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: &533 + category: &536 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13709,7 +13709,7 @@ paths: properties: text: type: string - location: &534 + location: &537 type: object description: Describe a region within a file for the alert. properties: @@ -13730,7 +13730,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: &535 + items: &538 type: - string - 'null' @@ -14577,6 +14577,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 @@ -14865,6 +14873,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 @@ -15245,6 +15261,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 @@ -16116,7 +16140,7 @@ paths: parent: anyOf: - type: 'null' - - &375 + - &377 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16756,6 +16780,516 @@ 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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '404': *6 + '413': &320 + 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: + - *39 + - *17 + - *19 + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + custom_agents: + type: + - array + - 'null' + 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. + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - organization + - repository + properties: + organization: + type: + - object + - 'null' + required: + - id + - login + properties: + id: + type: integer + description: Unique identifier of the organization + login: + type: string + description: Login of the organization + repository: + type: + - object + - 'null' + 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': *27 + '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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + 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 @@ -17463,7 +17997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &324 + - &325 name: state in: query description: |- @@ -17472,7 +18006,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &325 + - &326 name: severity in: query description: |- @@ -17481,7 +18015,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &326 + - &327 name: ecosystem in: query description: |- @@ -17490,14 +18024,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &327 + - &328 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 - - &328 + - &329 name: epss_percentage in: query description: |- @@ -17509,7 +18043,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 - - &572 + - &575 name: has in: query description: |- @@ -17523,7 +18057,16 @@ paths: type: string enum: - patch - - &329 + - &330 + 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 + - &331 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17533,7 +18076,7 @@ paths: enum: - development - runtime - - &330 + - &332 name: sort in: query description: |- @@ -17559,7 +18102,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object description: A Dependabot alert. properties: @@ -17626,7 +18169,7 @@ paths: - direct - transitive - - security_advisory: &573 + security_advisory: &576 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17862,7 +18405,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &574 + auto_dismissed_at: &577 type: - string - 'null' @@ -17870,7 +18413,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &575 + dismissal_request: &578 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17933,7 +18476,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &334 value: - number: 2 state: dismissed @@ -18037,6 +18580,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= @@ -18186,6 +18748,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18890,7 +19453,7 @@ paths: application/json: schema: *20 examples: - default: &355 + default: &357 value: id: 1 account: @@ -19151,7 +19714,7 @@ paths: - name - created_on examples: - default: &432 + default: &434 value: total_count: 2 network_configurations: @@ -19376,7 +19939,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: - *39 - - &433 + - &435 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19388,7 +19951,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &436 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19427,7 +19990,7 @@ paths: - subnet_id - region examples: - default: &435 + default: &437 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20280,7 +20843,7 @@ paths: required: true content: application/json: - schema: &406 + schema: &408 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21482,7 +22045,7 @@ paths: conditions: anyOf: - *156 - - &410 + - &412 title: Organization ruleset conditions type: object description: |- @@ -21532,7 +22095,7 @@ paths: - object rules: type: array - items: &696 + items: &699 title: Repository Rule type: object description: A repository rule. @@ -21541,7 +22104,7 @@ paths: - *165 - *166 - *167 - - &694 + - &697 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21869,7 +22432,7 @@ paths: type: string format: date-time examples: - default: &413 + default: &415 value: - version_id: 3 actor: @@ -21922,7 +22485,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 allOf: - *189 - type: object @@ -21977,7 +22540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &415 + - &417 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21988,7 +22551,7 @@ paths: enum: - open - resolved - - &416 + - &418 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21998,7 +22561,7 @@ paths: required: false schema: type: string - - &417 + - &419 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22007,7 +22570,7 @@ paths: required: false schema: type: string - - &418 + - &420 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22026,7 +22589,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &419 + - &421 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. @@ -22042,7 +22605,7 @@ paths: - *17 - *106 - *107 - - &420 + - &422 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22051,7 +22614,7 @@ paths: required: false schema: type: string - - &421 + - &423 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22060,7 +22623,7 @@ paths: schema: type: boolean default: false - - &422 + - &424 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22069,7 +22632,7 @@ paths: schema: type: boolean default: false - - &423 + - &425 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22085,7 +22648,7 @@ paths: application/json: schema: type: array - items: &424 + items: &426 type: object properties: number: *124 @@ -22101,14 +22664,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &708 + state: &711 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: &709 + resolution: &712 type: - string - 'null' @@ -22215,14 +22778,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &710 + - &713 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &712 + - &715 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22279,7 +22842,7 @@ paths: - blob_url - commit_sha - commit_url - - &713 + - &716 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. @@ -22340,7 +22903,7 @@ paths: - page_url - commit_sha - commit_url - - &714 + - &717 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22355,7 +22918,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &715 + - &718 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22370,7 +22933,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &716 + - &719 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22385,7 +22948,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &717 + - &720 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22400,7 +22963,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &718 + - &721 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22415,7 +22978,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &719 + - &722 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22430,7 +22993,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &720 + - &723 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. @@ -22445,7 +23008,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &721 + - &724 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. @@ -22460,7 +23023,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &722 + - &725 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. @@ -22475,7 +23038,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &723 + - &726 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. @@ -22490,7 +23053,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &724 + - &727 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 @@ -22515,7 +23078,7 @@ paths: - type: 'null' - *4 examples: - default: &425 + default: &427 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22724,7 +23287,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22811,7 +23374,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &427 + default: &429 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22947,7 +23510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &429 + - &431 name: advanced_security_product in: query description: | @@ -22967,7 +23530,7 @@ paths: description: Success content: application/json: - schema: &430 + schema: &432 type: object properties: total_advanced_security_committers: @@ -23030,7 +23593,7 @@ paths: required: - repositories examples: - default: &431 + default: &433 value: total_advanced_security_committers: 2 total_count: 2 @@ -26147,7 +26710,7 @@ paths: properties: action: type: string - discussion: &847 + discussion: &849 title: Discussion description: A Discussion in a repository. type: object @@ -26650,7 +27213,7 @@ paths: milestone: anyOf: - type: 'null' - - &396 + - &398 title: Milestone description: A collection of related issues and pull requests. @@ -26822,7 +27385,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &364 title: Issue Type description: The type of issue. type: @@ -26933,7 +27496,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &768 + sub_issues_summary: &770 title: Sub-issues Summary type: object properties: @@ -27017,7 +27580,7 @@ paths: pin: anyOf: - type: 'null' - - &653 + - &656 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27044,7 +27607,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &769 + issue_dependencies_summary: &771 title: Issue Dependencies Summary type: object properties: @@ -27063,7 +27626,7 @@ paths: - total_blocking issue_field_values: type: array - items: &770 + items: &772 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27844,7 +28407,7 @@ paths: type: string release: allOf: - - &687 + - &690 title: Release description: A release. type: object @@ -27926,7 +28489,7 @@ paths: author: *4 assets: type: array - items: &688 + items: &691 title: Release Asset description: Data related to a release. type: object @@ -28517,7 +29080,7 @@ paths: url: type: string format: uri - user: &776 + user: &778 title: Public User description: Public User type: object @@ -30414,7 +30977,7 @@ paths: - closed - all default: open - - &365 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30465,7 +31028,7 @@ paths: type: array items: *217 examples: - default: &366 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31877,14 +32440,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: - - &443 + - &446 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &444 + - &447 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31946,7 +32509,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &449 + '301': &452 description: Moved permanently content: application/json: @@ -31968,7 +32531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &661 + - &664 name: all description: If `true`, show notifications marked as read. in: query @@ -31976,7 +32539,7 @@ paths: schema: type: boolean default: false - - &662 + - &665 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31986,7 +32549,7 @@ paths: type: boolean default: false - *222 - - &663 + - &666 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: @@ -32368,7 +32931,7 @@ paths: type: boolean examples: - false - security_and_analysis: &407 + security_and_analysis: &409 type: - object - 'null' @@ -32580,7 +33143,7 @@ paths: - url - subscription_url examples: - default: &664 + default: &667 value: - id: '1' repository: @@ -33185,7 +33748,7 @@ paths: - 3 custom_roles: type: array - items: &320 + items: &321 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33234,7 +33797,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &322 value: id: 8030 name: Security Engineer @@ -33709,7 +34272,7 @@ paths: type: array items: *150 examples: - default: &670 + default: &673 value: - property_name: environment value: production @@ -33759,7 +34322,7 @@ paths: required: - properties examples: - default: &671 + default: &674 value: properties: - property_name: environment @@ -34650,7 +35213,7 @@ paths: type: integer repository_cache_usages: type: array - items: &456 + items: &459 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36782,7 +37345,7 @@ paths: type: array items: *276 examples: - default: &779 + default: &781 value: total_count: 1 repositories: @@ -37826,7 +38389,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &479 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37861,7 +38424,7 @@ paths: - key_id - key examples: - default: &477 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38274,7 +38837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &461 + - &464 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)." @@ -38886,20 +39449,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. @@ -39051,7 +39616,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -39064,17 +39629,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 @@ -39115,7 +39680,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: |- @@ -39526,12 +40091,12 @@ paths: required: - subject_digests examples: - default: &808 + default: &810 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &809 + withPredicateType: &811 value: subject_digests: - sha256:abc123 @@ -39590,7 +40155,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &810 + default: &812 value: attestations_subject_digests: - sha256:abc: @@ -39941,7 +40506,7 @@ paths: initiator: type: string examples: - default: &490 + default: &493 value: attestations: - bundle: @@ -40863,7 +41428,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &518 type: string description: Severity of a code scanning alert. enum: @@ -41223,6 +41788,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 @@ -41581,6 +42153,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 @@ -41905,7 +42484,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &369 type: object title: Codespace description: A codespace. @@ -41940,7 +42519,7 @@ paths: machine: anyOf: - type: 'null' - - &547 + - &550 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42227,7 +42806,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &370 value: total_count: 3 codespaces: @@ -42892,7 +43471,7 @@ paths: - updated_at - visibility examples: - default: &548 + default: &551 value: total_count: 2 secrets: @@ -42930,7 +43509,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &552 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42965,7 +43544,7 @@ paths: - key_id - key examples: - default: &550 + default: &553 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42997,7 +43576,7 @@ paths: application/json: schema: *319 examples: - default: &552 + default: &555 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43794,6 +44373,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: + - *85 + 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': *38 + '401': *23 + '403': *27 + '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: + - *85 + 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': *38 + '401': *23 + '403': *27 + '404': *6 + '413': *320 + '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 @@ -44234,7 +44954,7 @@ paths: - 3 custom_roles: type: array - items: *320 + items: *321 examples: default: value: @@ -44326,7 +45046,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &323 type: object properties: name: @@ -44368,9 +45088,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44401,9 +45121,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '404': *6 x-github: githubCloudOnly: true @@ -44431,7 +45151,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &324 type: object properties: name: @@ -44470,9 +45190,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44530,7 +45250,7 @@ paths: required: true content: application/json: - schema: *322 + schema: *323 examples: default: value: @@ -44544,9 +45264,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44583,9 +45303,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '404': *6 x-github: githubCloudOnly: true @@ -44619,7 +45339,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -44634,9 +45354,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44696,11 +45416,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *85 - - *324 - *325 - *326 - *327 - *328 + - *329 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -44730,6 +45450,7 @@ paths: enum: - patch - deployment + - *330 - name: runtime_risk in: query description: |- @@ -44738,8 +45459,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - - *330 + - *331 + - *332 - *108 - *106 - *107 @@ -44751,9 +45472,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 '304': *35 '400': *14 '403': *27 @@ -44797,7 +45518,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &335 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44876,7 +45597,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44895,7 +45616,7 @@ paths: - key_id - key examples: - default: &579 + default: &582 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44925,7 +45646,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -44990,9 +45711,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 @@ -45225,7 +45944,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &587 + - &590 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45233,7 +45952,7 @@ paths: required: false schema: type: string - - &588 + - &591 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45241,7 +45960,7 @@ paths: required: false schema: type: string - - &589 + - &592 name: time_period description: |- The time period to filter by. @@ -45257,7 +45976,7 @@ paths: - week - month default: month - - &590 + - &593 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45282,7 +46001,7 @@ paths: application/json: schema: type: array - items: &591 + items: &594 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45392,7 +46111,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &334 + items: &336 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45445,7 +46164,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &592 + default: &595 value: - id: 21 number: 42 @@ -45537,7 +46256,7 @@ paths: - *101 - *102 - *103 - - &335 + - &337 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -45563,7 +46282,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45673,7 +46392,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *334 + items: *336 url: type: string format: uri @@ -45686,7 +46405,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &594 + default: &597 value: - id: 21 number: 42 @@ -45778,7 +46497,7 @@ paths: - *101 - *102 - *103 - - *335 + - *337 - *17 - *19 responses: @@ -45788,7 +46507,7 @@ paths: application/json: schema: type: array - items: &595 + items: &598 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45915,7 +46634,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &596 + default: &599 value: - id: 21 number: 42 @@ -46003,7 +46722,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Package description: A software package type: object @@ -46074,7 +46793,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &380 value: - id: 197 name: hello_docker @@ -46261,7 +46980,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &443 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46351,7 +47070,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &441 + default: &444 value: group_id: '123' group_name: Octocat admins @@ -46406,7 +47125,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &440 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46446,7 +47165,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &439 + default: &441 value: groups: - group_id: '123' @@ -46491,7 +47210,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -46545,7 +47264,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &362 value: - id: 1 login: monalisa @@ -46612,7 +47331,7 @@ paths: application/json: schema: type: array - items: &408 + items: &410 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46626,7 +47345,7 @@ paths: - name - description examples: - default: &409 + default: &411 value: - name: add_assignee description: Assign or remove a user @@ -46667,7 +47386,7 @@ paths: application/json: schema: type: array - items: &336 + items: &338 title: Org Hook description: Org Hook type: object @@ -46850,9 +47569,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: - default: &337 + default: &339 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46897,7 +47616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *85 - - &338 + - &340 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. @@ -46910,9 +47629,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: - default: *337 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -46934,7 +47653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *85 - - *338 + - *340 requestBody: required: false content: @@ -46980,7 +47699,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -47020,7 +47739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *85 - - *338 + - *340 responses: '204': description: Response @@ -47046,7 +47765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *340 responses: '200': description: Response @@ -47075,7 +47794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *340 requestBody: required: false content: @@ -47124,9 +47843,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *17 - - *339 + - *341 responses: '200': description: Response @@ -47134,9 +47853,9 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: - default: *341 + default: *343 '400': *14 '422': *15 x-github: @@ -47160,16 +47879,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *344 examples: - default: *343 + default: *345 '400': *14 '422': *15 x-github: @@ -47193,7 +47912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *16 responses: '202': *37 @@ -47220,7 +47939,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *85 - - *338 + - *340 responses: '204': description: Response @@ -47243,7 +47962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *85 - - &348 + - &350 name: actor_type in: path description: The type of the actor @@ -47256,14 +47975,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &351 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &346 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`.' @@ -47271,7 +47990,7 @@ paths: required: true schema: type: string - - &345 + - &347 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) @@ -47366,12 +48085,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *85 - - *344 - - *345 + - *346 + - *347 - *19 - *17 - *108 - - &354 + - &356 name: sort description: The property to sort the results by. in: query @@ -47450,14 +48169,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *85 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &346 + schema: &348 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47473,7 +48192,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &349 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47494,23 +48213,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *85 - - &350 + - &352 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: enabledForGitHubApps: true category: orgs @@ -47529,18 +48248,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *85 - - *344 - - *345 - - *348 - - *349 + - *346 + - *347 + - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: enabledForGitHubApps: true category: orgs @@ -47558,9 +48277,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *85 - - *344 - - *345 - - &351 + - *346 + - *347 + - &353 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47573,7 +48292,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47589,7 +48308,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &355 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47626,18 +48345,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *85 - - *350 - - *344 - - *345 - - *351 + - *352 + - *346 + - *347 + - *353 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: enabledForGitHubApps: true category: orgs @@ -47655,19 +48374,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *85 - - *348 - - *349 - - *344 - - *345 + - *350 - *351 + - *346 + - *347 + - *353 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: enabledForGitHubApps: true category: orgs @@ -47685,13 +48404,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *85 - - *350 - - *344 - - *345 + - *352 + - *346 + - *347 - *19 - *17 - *108 - - *354 + - *356 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47775,7 +48494,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47895,12 +48614,12 @@ paths: application/json: schema: anyOf: - - &357 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47928,7 +48647,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &360 value: limit: collaborators_only origin: organization @@ -47957,13 +48676,13 @@ paths: required: true content: application/json: - schema: &627 + schema: &630 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47988,9 +48707,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -48068,9 +48787,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 '404': *6 @@ -48148,7 +48867,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -48205,7 +48924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *85 - - &361 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48239,7 +48958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *85 - - *361 + - *363 - *17 - *19 responses: @@ -48251,7 +48970,7 @@ paths: type: array items: *305 examples: - default: &376 + default: &378 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48294,7 +49013,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -48382,9 +49101,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48417,7 +49136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *85 - - &364 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48473,9 +49192,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *7 x-github: @@ -48500,7 +49219,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *85 - - *364 + - *366 responses: '204': description: Response @@ -48563,7 +49282,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -48594,7 +49313,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *368 headers: Link: *45 '404': *6 @@ -48753,9 +49472,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *35 '500': *38 '401': *23 @@ -48782,7 +49501,7 @@ paths: parameters: - *85 - *137 - - &369 + - &371 name: codespace_name in: path required: true @@ -48817,15 +49536,15 @@ paths: parameters: - *85 - *137 - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &546 + default: &549 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49081,7 +49800,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Org Membership description: Org Membership type: object @@ -49150,7 +49869,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &371 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49251,9 +49970,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *27 x-github: @@ -49325,7 +50044,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Migration description: A migration. type: object @@ -49663,7 +50382,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -49842,7 +50561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *85 - - &373 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -49870,7 +50589,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -50040,7 +50759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *85 - - *373 + - *375 responses: '302': description: Response @@ -50062,7 +50781,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *85 - - *373 + - *375 responses: '204': description: Response @@ -50086,8 +50805,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *85 - - *373 - - &791 + - *375 + - &793 name: repo_name description: repo_name parameter in: path @@ -50115,7 +50834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *85 - - *373 + - *375 - *17 - *19 responses: @@ -50127,7 +50846,7 @@ paths: type: array items: *276 examples: - default: &383 + default: &385 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50338,7 +51057,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &376 title: Organization Role description: Organization roles type: object @@ -50547,7 +51266,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -50777,7 +51496,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -50874,7 +51593,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -51033,7 +51752,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *377 type: description: The ownership type of the team type: string @@ -51066,7 +51785,7 @@ paths: - type - parent examples: - default: *376 + default: *378 headers: Link: *45 '404': @@ -51125,7 +51844,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *375 + items: *377 name: type: - string @@ -51435,7 +52154,7 @@ paths: - nuget - container - *85 - - &792 + - &794 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -51471,12 +52190,12 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *378 + default: *380 '403': *27 '401': *23 - '400': &794 + '400': &796 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51498,7 +52217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &379 + - &381 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 @@ -51516,7 +52235,7 @@ paths: - docker - nuget - container - - &380 + - &382 name: package_name description: The name of the package. in: path @@ -51529,7 +52248,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -51581,8 +52300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *379 - - *380 + - *381 + - *382 - *85 responses: '204': @@ -51615,8 +52334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *379 - - *380 + - *381 + - *382 - *85 - name: token description: package token @@ -51649,8 +52368,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: - - *379 - - *380 + - *381 + - *382 - *85 - *19 - *17 @@ -51671,7 +52390,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Package Version description: A version of a software package type: object @@ -51806,10 +52525,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: - - *379 - - *380 + - *381 + - *382 - *85 - - &382 + - &384 name: package_version_id description: Unique identifier of the package version. in: path @@ -51821,7 +52540,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -51857,10 +52576,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *379 - - *380 - - *85 + - *381 - *382 + - *85 + - *384 responses: '204': description: Response @@ -51892,10 +52611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *379 - - *380 - - *85 + - *381 - *382 + - *85 + - *384 responses: '204': description: Response @@ -51925,7 +52644,7 @@ paths: - *85 - *17 - *19 - - &384 + - &386 name: sort description: The property by which to sort the results. in: query @@ -51936,7 +52655,7 @@ paths: - created_at default: created_at - *108 - - &385 + - &387 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -51948,7 +52667,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &386 + - &388 name: repository description: The name of the repository to use to filter the results. in: query @@ -51957,7 +52676,7 @@ paths: type: string examples: - Hello-World - - &387 + - &389 name: permission description: The permission to use to filter the results. in: query @@ -51966,7 +52685,7 @@ paths: type: string examples: - issues_read - - &388 + - &390 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) @@ -51976,7 +52695,7 @@ paths: schema: type: string format: date-time - - &389 + - &391 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) @@ -51986,7 +52705,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 name: token_id description: The ID of the token in: query @@ -52305,7 +53024,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -52331,14 +53050,14 @@ paths: - *85 - *17 - *19 - - *384 - - *108 - - *385 - *386 + - *108 - *387 - *388 - *389 - *390 + - *391 + - *392 responses: '500': *38 '422': *15 @@ -52622,7 +53341,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -52664,7 +53383,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &393 title: Organization private registry description: Private registry configuration for an organization type: object @@ -52960,7 +53679,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &394 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53058,9 +53777,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53228,7 +53947,7 @@ paths: application/json: schema: type: array - items: &393 + items: &395 title: Projects v2 Project description: A projects v2 project type: object @@ -53302,7 +54021,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &882 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53387,7 +54106,7 @@ paths: - deleted_at - deleted_by examples: - default: &394 + default: &396 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53490,7 +54209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &395 + - &397 name: project_number description: The project's number. in: path @@ -53503,9 +54222,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -53528,7 +54247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true description: Details of the draft item to create in the project. @@ -53562,7 +54281,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Projects v2 Item description: An item belonging to a project type: object @@ -53576,7 +54295,7 @@ paths: content: oneOf: - *217 - - &561 + - &564 title: Pull Request Simple description: Pull Request Simple type: object @@ -53696,7 +54415,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 active_lock_reason: type: - string @@ -53795,7 +54514,7 @@ paths: _links: type: object properties: - comments: &397 + comments: &399 title: Link description: Hypermedia Link type: object @@ -53804,13 +54523,13 @@ paths: type: string required: - href - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -53821,7 +54540,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &673 + auto_merge: &676 title: Auto merge description: The status of auto merging a pull request. type: @@ -53923,7 +54642,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &399 + content_type: &401 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -53967,7 +54686,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &401 + draft_issue: &403 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54041,7 +54760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *395 + - *397 - *85 - *17 - *106 @@ -54053,7 +54772,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54203,7 +54922,7 @@ paths: - updated_at - project_url examples: - default: &813 + default: &815 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54333,7 +55052,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: - - *395 + - *397 - *85 requestBody: required: true @@ -54380,7 +55099,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &814 + items: &816 type: object properties: name: @@ -54417,7 +55136,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &815 + iteration_configuration: &817 type: object description: The configuration for iteration fields. properties: @@ -54467,7 +55186,7 @@ paths: value: name: Due date data_type: date - single_select_field: &816 + single_select_field: &818 summary: Create a single select field value: name: Priority @@ -54494,7 +55213,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &817 + iteration_field: &819 summary: Create an iteration field value: name: Sprint @@ -54518,9 +55237,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *398 + schema: *400 examples: - text_field: &818 + text_field: &820 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54529,7 +55248,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: &819 + number_field: &821 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54538,7 +55257,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: &820 + date_field: &822 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54547,7 +55266,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: &821 + single_select_field: &823 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54581,7 +55300,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &822 + iteration_field: &824 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54626,8 +55345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *395 - - &823 + - *397 + - &825 name: field_id description: The unique identifier of the field. in: path @@ -54640,9 +55359,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &824 + default: &826 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54698,7 +55417,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: - - *395 + - *397 - *85 - 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) @@ -54731,7 +55450,7 @@ paths: application/json: schema: type: array - items: &402 + items: &404 title: Projects v2 Item description: An item belonging to a project type: object @@ -54748,7 +55467,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *399 + content_type: *401 content: type: - object @@ -54798,7 +55517,7 @@ paths: - updated_at - archived_at examples: - default: &403 + default: &405 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55496,7 +56215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55566,22 +56285,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *403 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *403 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *403 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *403 '304': *35 '403': *27 '401': *23 @@ -55601,9 +56320,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: - - *395 + - *397 - *85 - - &404 + - &406 name: item_id description: The unique identifier of the project item. in: path @@ -55629,9 +56348,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -55652,9 +56371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *395 + - *397 - *85 - - *404 + - *406 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55727,13 +56446,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *405 + number_field: *405 + date_field: *405 + single_select_field: *405 + iteration_field: *405 '401': *23 '403': *27 '404': *6 @@ -55753,9 +56472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *395 + - *397 - *85 - - *404 + - *406 responses: '204': description: Response @@ -55779,7 +56498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true content: @@ -55853,7 +56572,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &805 + schema: &807 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -55957,7 +56676,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &405 + value: &407 value: id: 1 number: 1 @@ -56003,10 +56722,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *405 + value: *407 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *407 '304': *35 '403': *27 '401': *23 @@ -56034,9 +56753,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: - - *395 + - *397 - *85 - - &825 + - &827 name: view_number description: The number that identifies the project view. in: path @@ -56068,9 +56787,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -56234,7 +56953,7 @@ paths: required: true content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -56602,7 +57321,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -56806,7 +57525,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &451 title: Full Repository description: Full Repository type: object @@ -57284,7 +58003,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &566 + code_of_conduct: &569 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -57314,7 +58033,7 @@ paths: - key - name - html_url - security_and_analysis: *407 + security_and_analysis: *409 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57398,7 +58117,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &453 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57924,9 +58643,9 @@ paths: application/json: schema: type: array - items: *408 + items: *410 examples: - default: *409 + default: *411 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57951,7 +58670,7 @@ paths: - *85 - *17 - *19 - - &695 + - &698 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58043,11 +58762,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *412 rules: type: array description: An array of rules within the ruleset. - items: &412 + items: &414 title: Repository Rule type: object description: A repository rule. @@ -58112,7 +58831,7 @@ paths: application/json: schema: *185 examples: - default: &411 + default: &413 value: id: 21 name: super cool ruleset @@ -58152,6 +58871,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *38 "/orgs/{org}/rulesets/rule-suites": get: @@ -58167,7 +58887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &697 + - &700 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 @@ -58179,14 +58899,14 @@ paths: x-multi-segment: true - *302 - *103 - - &698 + - &701 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 - - &699 + - &702 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58206,7 +58926,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 title: Rule Suites description: Response type: array @@ -58262,7 +58982,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &701 + default: &704 value: - id: 21 actor_id: 12 @@ -58306,7 +59026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &702 + - &705 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58322,7 +59042,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &706 title: Rule Suite description: Response type: object @@ -58429,7 +59149,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &704 + default: &707 value: id: 21 actor_id: 12 @@ -58504,7 +59224,7 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *413 '404': *6 '500': *38 put: @@ -58553,11 +59273,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *412 rules: description: An array of rules within the ruleset. type: array - items: *412 + items: *414 examples: default: value: @@ -58594,8 +59314,9 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *413 '404': *6 + '422': *15 '500': *38 delete: summary: Delete an organization repository ruleset @@ -58653,7 +59374,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *415 '404': *6 '500': *38 x-github: @@ -58690,7 +59411,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -58753,15 +59474,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *85 - - *415 - - *416 - *417 - *418 - *419 + - *420 + - *421 - *108 - *19 - *17 - - &706 + - &709 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 @@ -58771,7 +59492,7 @@ paths: required: false schema: type: string - - &707 + - &710 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 @@ -58781,10 +59502,10 @@ paths: required: false schema: type: string - - *420 - - *421 - *422 - *423 + - *424 + - *425 responses: '200': description: Response @@ -58792,9 +59513,9 @@ paths: application/json: schema: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *45 '404': *6 @@ -58829,9 +59550,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 '403': *27 '404': *6 patch: @@ -58984,7 +59705,7 @@ paths: application/json: schema: type: array - items: &728 + items: &731 description: A repository security advisory. type: object properties: @@ -59228,7 +59949,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 credits_detailed: type: - array @@ -59239,7 +59960,7 @@ paths: type: object properties: user: *4 - type: *428 + type: *430 state: type: string description: The state of the user's acceptance of the @@ -59303,7 +60024,7 @@ paths: - private_fork additionalProperties: false examples: - default: &729 + default: &732 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59690,7 +60411,7 @@ paths: application/json: schema: type: array - items: *375 + items: *377 examples: default: value: @@ -59789,7 +60510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *85 - - *429 + - *431 - *17 - *19 responses: @@ -59797,9 +60518,9 @@ paths: description: Success content: application/json: - schema: *430 + schema: *432 examples: - default: *431 + default: *433 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60082,7 +60803,7 @@ paths: type: array items: *142 examples: - default: *432 + default: *434 headers: Link: *45 x-github: @@ -60285,15 +61006,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: - *85 - - *433 + - *435 responses: '200': description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: *435 + default: *437 headers: Link: *45 x-github: @@ -60331,7 +61052,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &448 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60383,7 +61104,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &446 + default: &449 value: groups: - group_id: '123' @@ -60497,7 +61218,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 headers: Link: *45 '403': *27 @@ -60591,7 +61312,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60665,7 +61386,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *377 members_count: type: integer examples: @@ -60990,7 +61711,7 @@ paths: - repos_count - organization examples: - default: &437 + default: &439 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61067,9 +61788,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -61154,16 +61875,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '201': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 '422': *15 '403': *27 @@ -61193,6 +61914,9 @@ paths: responses: '204': description: Response + '422': &442 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61219,9 +61943,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61265,9 +61990,10 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61291,6 +62017,7 @@ paths: responses: '204': description: Response + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61322,11 +62049,12 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 + '422': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61408,7 +62136,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &445 title: Team Membership description: Team Membership type: object @@ -61436,7 +62164,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &774 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61499,9 +62227,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &775 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61577,7 +62305,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -61608,14 +62336,14 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &774 + schema: &776 title: Team Repository description: A team's access to a repository. type: object @@ -62258,8 +62986,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -62306,8 +63034,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -62340,9 +63068,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62408,7 +63137,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: default: value: @@ -62420,6 +63149,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62453,7 +63183,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: &775 + response-if-child-teams-exist: &777 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62607,7 +63337,7 @@ paths: resources: type: object properties: - core: &447 + core: &450 title: Rate Limit type: object properties: @@ -62624,21 +63354,21 @@ paths: - remaining - reset - used - graphql: *447 - search: *447 - code_search: *447 - source_import: *447 - integration_manifest: *447 - code_scanning_upload: *447 - actions_runner_registration: *447 - scim: *447 - dependency_snapshots: *447 - dependency_sbom: *447 - code_scanning_autofix: *447 + graphql: *450 + search: *450 + code_search: *450 + source_import: *450 + integration_manifest: *450 + code_scanning_upload: *450 + actions_runner_registration: *450 + scim: *450 + dependency_snapshots: *450 + dependency_sbom: *450 + code_scanning_autofix: *450 required: - core - search - rate: *447 + rate: *450 required: - rate - resources @@ -62743,14 +63473,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *448 + schema: *451 examples: default-response: summary: Default response @@ -63259,7 +63989,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *449 + '301': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63277,8 +64007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -63580,10 +64310,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 - '307': &451 + default: *453 + '307': &454 description: Temporary Redirect content: application/json: @@ -63612,8 +64342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -63635,7 +64365,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': *451 + '307': *454 '404': *6 '409': *117 x-github: @@ -63659,11 +64389,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - - &468 + - &471 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63686,7 +64416,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &455 title: Artifact description: An artifact type: object @@ -63781,7 +64511,7 @@ paths: - expires_at - updated_at examples: - default: &469 + default: &472 value: total_count: 2 artifacts: @@ -63842,9 +64572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *443 - - *444 - - &453 + - *446 + - *447 + - &456 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63856,7 +64586,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *455 examples: default: value: @@ -63894,9 +64624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *443 - - *444 - - *453 + - *446 + - *447 + - *456 responses: '204': description: Response @@ -63920,9 +64650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *443 - - *444 - - *453 + - *446 + - *447 + - *456 - name: archive_format in: path required: true @@ -63936,7 +64666,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': &630 + '410': &633 description: Gone content: application/json: @@ -63961,14 +64691,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &454 + schema: &457 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64002,13 +64732,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *454 + schema: *457 examples: selected_actions: *42 responses: @@ -64037,14 +64767,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &455 + schema: &458 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64078,13 +64808,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *455 + schema: *458 examples: selected_actions: *44 responses: @@ -64115,14 +64845,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *456 + schema: *459 examples: default: value: @@ -64148,11 +64878,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: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - - &457 + - &460 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 @@ -64186,7 +64916,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &461 title: Repository actions caches description: Repository actions caches type: object @@ -64236,7 +64966,7 @@ paths: - total_count - actions_caches examples: - default: &459 + default: &462 value: total_count: 1 actions_caches: @@ -64268,23 +64998,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: - - *443 - - *444 + - *446 + - *447 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *457 + - *460 responses: '200': description: Response content: application/json: - schema: *458 + schema: *461 examples: - default: *459 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64304,8 +65034,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: - - *443 - - *444 + - *446 + - *447 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64336,9 +65066,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: - - *443 - - *444 - - &460 + - *446 + - *447 + - &463 name: job_id description: The unique identifier of the job. in: path @@ -64350,7 +65080,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &475 title: Job description: Information of a job execution in a workflow run type: object @@ -64697,9 +65427,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: - - *443 - - *444 - - *460 + - *446 + - *447 + - *463 responses: '302': description: Response @@ -64727,9 +65457,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: - - *443 - - *444 - - *460 + - *446 + - *447 + - *463 requestBody: required: false content: @@ -64775,8 +65505,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Status response @@ -64826,8 +65556,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -64890,8 +65620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -64909,7 +65639,7 @@ paths: type: integer secrets: type: array - items: &474 + items: &477 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64930,7 +65660,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &478 value: total_count: 2 secrets: @@ -64963,9 +65693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *443 - - *444 - - *461 + - *446 + - *447 + - *464 - *19 responses: '200': @@ -64982,7 +65712,7 @@ paths: type: integer variables: type: array - items: &478 + items: &481 title: Actions Variable type: object properties: @@ -65016,7 +65746,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &482 value: total_count: 2 variables: @@ -65049,8 +65779,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65059,7 +65789,7 @@ paths: schema: type: object properties: - enabled: &462 + enabled: &465 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65094,8 +65824,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65106,7 +65836,7 @@ paths: schema: type: object properties: - enabled: *462 + enabled: *465 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65139,14 +65869,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &463 + schema: &466 type: object properties: access_level: @@ -65164,7 +65894,7 @@ paths: required: - access_level examples: - default: &464 + default: &467 value: access_level: organization x-github: @@ -65189,15 +65919,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 responses: '204': description: Response @@ -65221,8 +65951,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65252,8 +65982,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Empty response for successful settings update @@ -65287,8 +66017,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65315,8 +66045,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65350,8 +66080,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65379,8 +66109,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -65411,8 +66141,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65443,8 +66173,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65476,8 +66206,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65506,8 +66236,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Success response @@ -65547,8 +66277,8 @@ paths: in: query schema: type: string - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -65592,8 +66322,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65625,8 +66355,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -65700,8 +66430,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: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -65737,8 +66467,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: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -65768,8 +66498,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': @@ -65799,8 +66529,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '204': @@ -65827,8 +66557,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': *79 @@ -65853,8 +66583,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: - - *443 - - *444 + - *446 + - *447 - *73 requestBody: required: true @@ -65903,8 +66633,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: - - *443 - - *444 + - *446 + - *447 - *73 requestBody: required: true @@ -65954,8 +66684,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': *283 @@ -65985,8 +66715,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: - - *443 - - *444 + - *446 + - *447 - *73 - *284 responses: @@ -66016,9 +66746,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: - - *443 - - *444 - - &482 + - *446 + - *447 + - &485 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. @@ -66026,7 +66756,7 @@ paths: required: false schema: type: string - - &483 + - &486 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66034,7 +66764,7 @@ paths: required: false schema: type: string - - &484 + - &487 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66043,7 +66773,7 @@ paths: required: false schema: type: string - - &485 + - &488 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 @@ -66070,7 +66800,7 @@ paths: - pending - *17 - *19 - - &486 + - &489 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)." @@ -66079,7 +66809,7 @@ paths: schema: type: string format: date-time - - &465 + - &468 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66088,13 +66818,13 @@ paths: schema: type: boolean default: false - - &487 + - &490 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &488 + - &491 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66117,7 +66847,7 @@ paths: type: integer workflow_runs: type: array - items: &466 + items: &469 title: Workflow Run description: An invocation of a workflow type: object @@ -66295,7 +67025,7 @@ paths: head_commit: anyOf: - type: 'null' - - &510 + - &513 title: Simple Commit description: A commit. type: object @@ -66410,7 +67140,7 @@ paths: - workflow_url - pull_requests examples: - default: &489 + default: &492 value: total_count: 1 workflow_runs: @@ -66646,24 +67376,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *443 - - *444 - - &467 + - *446 + - *447 + - &470 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *465 + - *468 responses: '200': description: Response content: application/json: - schema: *466 + schema: *469 examples: - default: &470 + default: &473 value: id: 30433642 name: Build @@ -66904,9 +67634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '204': description: Response @@ -66929,9 +67659,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -67059,9 +67789,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '201': description: Response @@ -67094,12 +67824,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 - *17 - *19 - - *468 + - *471 responses: '200': description: Response @@ -67115,9 +67845,9 @@ paths: type: integer artifacts: type: array - items: *452 + items: *455 examples: - default: *469 + default: *472 headers: Link: *45 x-github: @@ -67141,25 +67871,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *443 - - *444 - - *467 - - &471 + - *446 + - *447 + - *470 + - &474 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *465 + - *468 responses: '200': description: Response content: application/json: - schema: *466 + schema: *469 examples: - default: *470 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67182,10 +67912,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: - - *443 - - *444 - - *467 - - *471 + - *446 + - *447 + - *470 + - *474 - *17 - *19 responses: @@ -67203,9 +67933,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *475 examples: - default: &473 + default: &476 value: total_count: 1 jobs: @@ -67318,10 +68048,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *443 - - *444 - - *467 - - *471 + - *446 + - *447 + - *470 + - *474 responses: '302': description: Response @@ -67349,9 +68079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '202': description: Response @@ -67384,9 +68114,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: true content: @@ -67453,9 +68183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '202': description: Response @@ -67488,9 +68218,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 - 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 @@ -67520,9 +68250,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *475 examples: - default: *473 + default: *476 headers: Link: *45 x-github: @@ -67547,9 +68277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '302': description: Response @@ -67576,9 +68306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '204': description: Response @@ -67605,9 +68335,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -67676,7 +68406,7 @@ paths: items: type: object properties: - type: &597 + type: &600 type: string description: The type of reviewer. enum: @@ -67762,9 +68492,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: true content: @@ -67814,7 +68544,7 @@ paths: application/json: schema: type: array - items: &582 + items: &585 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67926,7 +68656,7 @@ paths: - created_at - updated_at examples: - default: &583 + default: &586 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67982,9 +68712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: false content: @@ -68029,9 +68759,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: false content: @@ -68086,9 +68816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -68225,8 +68955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -68244,9 +68974,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *477 examples: - default: *475 + default: *478 headers: Link: *45 x-github: @@ -68271,16 +69001,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,17 +69032,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *477 examples: - default: &610 + default: &613 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68338,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -68397,8 +69127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -68424,9 +69154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *443 - - *444 - - *461 + - *446 + - *447 + - *464 - *19 responses: '200': @@ -68443,9 +69173,9 @@ paths: type: integer variables: type: array - items: *478 + items: *481 examples: - default: *479 + default: *482 headers: Link: *45 x-github: @@ -68468,8 +69198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -68521,17 +69251,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: &611 + default: &614 value: name: USERNAME value: octocat @@ -68557,8 +69287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 requestBody: required: true @@ -68601,8 +69331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 responses: '204': @@ -68628,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -68647,7 +69377,7 @@ paths: type: integer workflows: type: array - items: &480 + items: &483 title: Workflow description: A GitHub Actions workflow type: object @@ -68765,9 +69495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *443 - - *444 - - &481 + - *446 + - *447 + - &484 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68782,7 +69512,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *483 examples: default: value: @@ -68815,9 +69545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Response @@ -68842,9 +69572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68931,9 +69661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Response @@ -68960,19 +69690,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: - - *443 - - *444 - - *481 - - *482 - - *483 + - *446 + - *447 - *484 - *485 - - *17 - - *19 - *486 - - *465 - *487 - *488 + - *17 + - *19 + - *489 + - *468 + - *490 + - *491 responses: '200': description: Response @@ -68988,9 +69718,9 @@ paths: type: integer workflow_runs: type: array - items: *466 + items: *469 examples: - default: *489 + default: *492 headers: Link: *45 x-github: @@ -69023,9 +69753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '200': description: Response @@ -69086,8 +69816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *443 - - *444 + - *446 + - *447 - *108 - *17 - *106 @@ -69255,8 +69985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -69293,8 +70023,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: - - *443 - - *444 + - *446 + - *447 - name: assignee in: path required: true @@ -69330,8 +70060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -69443,8 +70173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *106 - *107 @@ -69501,7 +70231,7 @@ paths: initiator: type: string examples: - default: *490 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69521,8 +70251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -69530,7 +70260,7 @@ paths: application/json: schema: type: array - items: &491 + items: &494 title: Autolink reference description: An autolink reference. type: object @@ -69589,8 +70319,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -69629,9 +70359,9 @@ paths: description: response content: application/json: - schema: *491 + schema: *494 examples: - default: &492 + default: &495 value: id: 1 key_prefix: TICKET- @@ -69662,9 +70392,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: - - *443 - - *444 - - &493 + - *446 + - *447 + - &496 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69676,9 +70406,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *494 examples: - default: *492 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -69698,9 +70428,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: - - *443 - - *444 - - *493 + - *446 + - *447 + - *496 responses: '204': description: Response @@ -69724,8 +70454,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response if Dependabot is enabled @@ -69775,8 +70505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -69797,8 +70527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -69818,8 +70548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *443 - - *444 + - *446 + - *447 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69857,7 +70587,7 @@ paths: - url protected: type: boolean - protection: &495 + protection: &498 title: Branch Protection description: Branch Protection type: object @@ -69900,7 +70630,7 @@ paths: required: - contexts - checks - enforce_admins: &498 + enforce_admins: &501 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69917,7 +70647,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &500 + required_pull_request_reviews: &503 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70001,7 +70731,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &497 + restrictions: &500 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70294,9 +71024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *443 - - *444 - - &496 + - *446 + - *447 + - &499 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). @@ -70310,14 +71040,14 @@ paths: description: Response content: application/json: - schema: &506 + schema: &509 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &557 + commit: &560 title: Commit description: Commit type: object @@ -70356,7 +71086,7 @@ paths: author: anyOf: - type: 'null' - - &494 + - &497 title: Git User description: Metaproperties for Git author/committer information. @@ -70378,7 +71108,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 message: type: string examples: @@ -70402,7 +71132,7 @@ paths: required: - sha - url - verification: &617 + verification: &620 title: Verification type: object properties: @@ -70482,7 +71212,7 @@ paths: type: integer files: type: array - items: &568 + items: &571 title: Diff Entry description: Diff Entry type: object @@ -70578,7 +71308,7 @@ paths: - self protected: type: boolean - protection: *495 + protection: *498 protection_url: type: string format: uri @@ -70687,7 +71417,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *452 '404': *6 x-github: githubCloudOnly: false @@ -70709,15 +71439,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: default: value: @@ -70911,9 +71641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -71173,7 +71903,7 @@ paths: url: type: string format: uri - required_status_checks: &503 + required_status_checks: &506 title: Status Check Policy description: Status Check Policy type: object @@ -71332,7 +72062,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *497 + restrictions: *500 required_conversation_resolution: type: object properties: @@ -71444,9 +72174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71471,17 +72201,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &499 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71503,17 +72233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *499 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71532,9 +72262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71559,17 +72289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *500 + schema: *503 examples: - default: &501 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71665,9 +72395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -71765,9 +72495,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *503 examples: - default: *501 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -71788,9 +72518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71817,17 +72547,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &502 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71850,17 +72580,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -71880,9 +72610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71907,17 +72637,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: &504 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71943,9 +72673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -71997,9 +72727,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 '422': *15 x-github: @@ -72021,9 +72751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -72047,9 +72777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72083,9 +72813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72152,9 +72882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72218,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: content: application/json: @@ -72286,15 +73016,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72385,9 +73115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -72410,9 +73140,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72422,7 +73152,7 @@ paths: type: array items: *5 examples: - default: &505 + default: &508 value: - id: 1 slug: octoapp @@ -72479,9 +73209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72515,7 +73245,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72536,9 +73266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72572,7 +73302,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72593,9 +73323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72629,7 +73359,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72651,9 +73381,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72663,7 +73393,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -72683,9 +73413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72723,7 +73453,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72744,9 +73474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72784,7 +73514,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72805,9 +73535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: content: application/json: @@ -72844,7 +73574,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72866,9 +73596,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72902,9 +73632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72962,9 +73692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73022,9 +73752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73084,9 +73814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73108,7 +73838,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: default: value: @@ -73222,8 +73952,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 @@ -73259,8 +73989,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73333,8 +74063,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 @@ -73374,8 +74104,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73445,8 +74175,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73517,8 +74247,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_response_id in: path required: true @@ -73551,8 +74281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -73831,7 +74561,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &510 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73967,7 +74697,7 @@ paths: check. type: array items: *220 - deployment: &836 + deployment: &838 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74254,9 +74984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *443 - - *444 - - &508 + - *446 + - *447 + - &511 name: check_run_id description: The unique identifier of the check run. in: path @@ -74268,9 +74998,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *510 examples: - default: &509 + default: &512 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74370,9 +75100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 requestBody: required: true content: @@ -74612,9 +75342,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *510 examples: - default: *509 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74634,9 +75364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 - *17 - *19 responses: @@ -74746,9 +75476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 responses: '201': description: Response @@ -74792,8 +75522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -74815,7 +75545,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &514 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74913,7 +75643,7 @@ paths: - string - 'null' format: date-time - head_commit: *510 + head_commit: *513 latest_check_runs_count: type: integer check_runs_url: @@ -74941,7 +75671,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &515 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75232,9 +75962,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75253,8 +75983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -75563,9 +76293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *443 - - *444 - - &513 + - *446 + - *447 + - &516 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75577,9 +76307,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75602,17 +76332,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: - - *443 - - *444 - - *513 - - &563 + - *446 + - *447 + - *516 + - &566 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &564 + - &567 name: status description: Returns check runs with the specified `status`. in: query @@ -75651,9 +76381,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *510 examples: - default: &565 + default: &568 value: total_count: 1 check_runs: @@ -75755,9 +76485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *443 - - *444 - - *513 + - *446 + - *447 + - *516 responses: '201': description: Response @@ -75790,21 +76520,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: - - *443 - - *444 + - *446 + - *447 - *309 - *310 - *19 - *17 - - &529 + - &532 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: *514 - - &530 + schema: *517 + - &533 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75835,7 +76565,7 @@ paths: be returned. in: query required: false - schema: *515 + schema: *518 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75859,7 +76589,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *519 state: *111 fixed_at: *134 dismissed_by: @@ -75867,11 +76597,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_reason: *520 + dismissed_comment: *521 + rule: *522 + tool: *523 + most_recent_instance: *524 dismissal_approved_by: anyOf: - type: 'null' @@ -75994,7 +76724,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &522 + '403': &525 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76021,9 +76751,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: - - *443 - - *444 - - &523 + - *446 + - *447 + - &526 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76037,7 +76767,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 type: object properties: number: *124 @@ -76045,7 +76775,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *519 state: *111 fixed_at: *134 dismissed_by: @@ -76053,8 +76783,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *520 + dismissed_comment: *521 rule: type: object properties: @@ -76116,8 +76846,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *523 + most_recent_instance: *524 dismissal_approved_by: anyOf: - type: 'null' @@ -76213,7 +76943,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76233,9 +76963,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: true content: @@ -76250,8 +76980,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *520 + dismissed_comment: *521 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76279,7 +77009,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -76355,7 +77085,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &531 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76382,15 +77112,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 responses: '200': description: Response content: application/json: - schema: &525 + schema: &528 type: object properties: status: @@ -76417,13 +77147,13 @@ paths: - description - started_at examples: - default: &526 + default: &529 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &530 description: Bad Request content: application/json: @@ -76434,7 +77164,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': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76459,29 +77189,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 responses: '200': description: OK content: application/json: - schema: *525 + schema: *528 examples: - default: *526 + default: *529 '202': description: Accepted content: application/json: - schema: *525 + schema: *528 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *530 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76513,9 +77243,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: false content: @@ -76561,8 +77291,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *530 + '403': *531 '404': *6 '422': description: Unprocessable Entity @@ -76586,13 +77316,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 - *19 - *17 - - *529 - - *530 + - *532 + - *533 responses: '200': description: Response @@ -76603,10 +77333,10 @@ paths: items: type: object properties: - ref: *514 - analysis_key: *531 - environment: *532 - category: *533 + ref: *517 + analysis_key: *534 + environment: *535 + category: *536 state: type: - string @@ -76623,7 +77353,7 @@ paths: properties: text: type: string - location: *534 + location: *537 html_url: type: string classifications: @@ -76631,7 +77361,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: *535 + items: *538 examples: default: value: @@ -76668,7 +77398,7 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76702,25 +77432,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: - - *443 - - *444 + - *446 + - *447 - *309 - *310 - *19 - *17 - - *530 + - *533 - 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: *514 + schema: *517 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &536 + schema: &539 type: string description: An identifier for the upload. examples: @@ -76742,23 +77472,23 @@ paths: application/json: schema: type: array - items: &537 + items: &540 type: object properties: - ref: *514 - commit_sha: &545 + ref: *517 + commit_sha: &548 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: *531 + analysis_key: *534 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *533 + category: *536 error: type: string examples: @@ -76783,8 +77513,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *536 - tool: *520 + sarif_id: *539 + tool: *523 deletable: type: boolean warning: @@ -76846,7 +77576,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76882,8 +77612,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: - - *443 - - *444 + - *446 + - *447 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76896,7 +77626,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: response: summary: application/json response @@ -76950,7 +77680,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *525 '404': *6 '422': description: Response if analysis could not be processed @@ -77037,8 +77767,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: - - *443 - - *444 + - *446 + - *447 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77094,7 +77824,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': *528 + '403': *531 '404': *6 '503': *190 x-github: @@ -77116,8 +77846,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -77125,7 +77855,7 @@ paths: application/json: schema: type: array - items: &538 + items: &541 title: CodeQL Database description: A CodeQL database. type: object @@ -77237,7 +77967,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': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -77266,8 +77996,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: - - *443 - - *444 + - *446 + - *447 - name: language in: path description: The language of the CodeQL database. @@ -77279,7 +78009,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *541 examples: default: value: @@ -77311,9 +78041,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': &570 + '302': &573 description: Found - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -77335,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *443 - - *444 + - *446 + - *447 - name: language in: path description: The language of the CodeQL database. @@ -77346,7 +78076,7 @@ paths: responses: '204': description: Response - '403': *528 + '403': *531 '404': *6 '503': *190 x-github: @@ -77374,8 +78104,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -77384,7 +78114,7 @@ paths: type: object additionalProperties: false properties: - language: &539 + language: &542 type: string description: The language targeted by the CodeQL query enum: @@ -77464,7 +78194,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &543 + schema: &546 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77474,7 +78204,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *539 + query_language: *542 query_pack_url: type: string description: The download url for the query pack. @@ -77522,7 +78252,7 @@ paths: items: type: object properties: - repository: &540 + repository: &543 title: Repository Identifier description: Repository Identifier type: object @@ -77564,7 +78294,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &544 + analysis_status: &547 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77596,7 +78326,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &541 + access_mismatch_repos: &544 type: object properties: repository_count: @@ -77611,7 +78341,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: *540 + items: *543 required: - repository_count - repositories @@ -77634,8 +78364,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *541 - over_limit_repos: *541 + no_codeql_db_repos: *544 + over_limit_repos: *544 required: - access_mismatch_repos - not_found_repos @@ -77651,7 +78381,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &542 + value: &545 summary: Default response value: id: 1 @@ -77797,10 +78527,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *542 + value: *545 repository_lists: summary: Response for a successful variant analysis submission - value: *542 + value: *545 '404': *6 '422': description: Unable to process variant analysis submission @@ -77828,8 +78558,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: - - *443 - - *444 + - *446 + - *447 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77841,9 +78571,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *546 examples: - default: *542 + default: *545 '404': *6 '503': *190 x-github: @@ -77866,7 +78596,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: - - *443 + - *446 - name: repo in: path description: The name of the controller repository. @@ -77901,7 +78631,7 @@ paths: type: object properties: repository: *118 - analysis_status: *544 + analysis_status: *547 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78026,8 +78756,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78120,7 +78850,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -78141,8 +78871,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -78236,7 +78966,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *531 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78307,8 +79037,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -78316,7 +79046,7 @@ paths: schema: type: object properties: - commit_sha: *545 + commit_sha: *548 ref: type: string description: |- @@ -78376,7 +79106,7 @@ paths: schema: type: object properties: - id: *536 + id: *539 url: type: string description: The REST API URL for checking the status of the upload. @@ -78390,7 +79120,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': *528 + '403': *531 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78413,8 +79143,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: - - *443 - - *444 + - *446 + - *447 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78462,7 +79192,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': *522 + '403': *525 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -78487,8 +79217,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78569,8 +79299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *443 - - *444 + - *446 + - *447 - 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 @@ -78698,8 +79428,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78715,7 +79445,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: default: value: @@ -79013,8 +79743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -79078,17 +79808,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '400': *14 '401': *23 '403': *27 @@ -79117,8 +79847,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -79182,8 +79912,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: - - *443 - - *444 + - *446 + - *447 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79220,9 +79950,9 @@ paths: type: integer machines: type: array - items: *547 + items: *550 examples: - default: &782 + default: &784 value: total_count: 2 machines: @@ -79262,8 +79992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *443 - - *444 + - *446 + - *447 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79350,8 +80080,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: - - *443 - - *444 + - *446 + - *447 - 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 @@ -79420,8 +80150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -79439,7 +80169,7 @@ paths: type: integer secrets: type: array - items: &551 + items: &554 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79460,7 +80190,7 @@ paths: - created_at - updated_at examples: - default: *548 + default: *551 headers: Link: *45 x-github: @@ -79483,16 +80213,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: *550 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79512,17 +80242,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79542,8 +80272,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: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -79596,8 +80326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -79626,8 +80356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *443 - - *444 + - *446 + - *447 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79665,7 +80395,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 title: Collaborator description: Collaborator type: object @@ -79858,8 +80588,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: - - *443 - - *444 + - *446 + - *447 - *137 responses: '204': @@ -79906,8 +80636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *443 - - *444 + - *446 + - *447 - *137 requestBody: required: false @@ -79934,7 +80664,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &629 + schema: &632 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80162,8 +80892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *443 - - *444 + - *446 + - *447 - *137 responses: '204': @@ -80195,8 +80925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *443 - - *444 + - *446 + - *447 - *137 responses: '200': @@ -80217,7 +80947,7 @@ paths: user: anyOf: - type: 'null' - - *553 + - *556 required: - permission - role_name @@ -80271,8 +81001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -80282,7 +81012,7 @@ paths: application/json: schema: type: array - items: &554 + items: &557 title: Commit Comment description: Commit Comment type: object @@ -80340,7 +81070,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &562 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80399,17 +81129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: &560 + default: &563 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80466,8 +81196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -80490,7 +81220,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: default: value: @@ -80541,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -80564,8 +81294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80592,7 +81322,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80636,7 +81366,7 @@ paths: - content - created_at examples: - default: &632 + default: &635 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80681,8 +81411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -80715,9 +81445,9 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: &556 + default: &559 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80746,9 +81476,9 @@ paths: description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -80770,10 +81500,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - &633 + - &636 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80828,8 +81558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *443 - - *444 + - *446 + - *447 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80885,9 +81615,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: &680 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80981,9 +81711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *443 - - *444 - - &558 + - *446 + - *447 + - &561 name: commit_sha description: The SHA of the commit. in: path @@ -81055,9 +81785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 - *17 - *19 responses: @@ -81067,9 +81797,9 @@ paths: application/json: schema: type: array - items: *554 + items: *557 examples: - default: *559 + default: *562 headers: Link: *45 x-github: @@ -81097,9 +81827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 requestBody: required: true content: @@ -81134,9 +81864,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *560 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81164,9 +81894,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: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 - *17 - *19 responses: @@ -81176,9 +81906,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: &672 + default: &675 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81715,11 +82445,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 - - &562 + - &565 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)" @@ -81734,9 +82464,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: &658 + default: &661 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81849,11 +82579,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: - - *443 - - *444 - - *562 - - *563 - - *564 + - *446 + - *447 + - *565 + - *566 + - *567 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81887,9 +82617,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *510 examples: - default: *565 + default: *568 headers: Link: *45 x-github: @@ -81914,9 +82644,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: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81924,7 +82654,7 @@ paths: schema: type: integer example: 1 - - *563 + - *566 - *17 - *19 responses: @@ -81942,7 +82672,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *514 examples: default: value: @@ -82142,9 +82872,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: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - *17 - *19 responses: @@ -82346,9 +83076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - *17 - *19 responses: @@ -82358,7 +83088,7 @@ paths: application/json: schema: type: array - items: &733 + items: &736 title: Status description: The status of a commit. type: object @@ -82439,7 +83169,7 @@ paths: site_admin: false headers: Link: *45 - '301': *449 + '301': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82467,8 +83197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -82501,11 +83231,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *566 + - *569 code_of_conduct_file: anyOf: - type: 'null' - - &567 + - &570 title: Community Health File type: object properties: @@ -82525,19 +83255,19 @@ paths: contributing: anyOf: - type: 'null' - - *567 + - *570 readme: anyOf: - type: 'null' - - *567 + - *570 issue_template: anyOf: - type: 'null' - - *567 + - *570 pull_request_template: anyOf: - type: 'null' - - *567 + - *570 required: - code_of_conduct - code_of_conduct_file @@ -82666,8 +83396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 - name: basehead @@ -82715,8 +83445,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *557 - merge_base_commit: *557 + base_commit: *560 + merge_base_commit: *560 status: type: string enum: @@ -82740,10 +83470,10 @@ paths: - 6 commits: type: array - items: *557 + items: *560 files: type: array - items: *568 + items: *571 required: - url - html_url @@ -83029,8 +83759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -83045,6 +83775,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 @@ -83183,7 +83930,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &569 + response-if-content-is-a-file-github-object: &572 summary: Response if content is a file value: type: file @@ -83201,7 +83948,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: @@ -83320,7 +84067,7 @@ paths: - size - type - url - - &685 + - &688 title: Content File description: Content File type: object @@ -83538,7 +84285,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *569 + response-if-content-is-a-file: *572 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83607,7 +84354,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *570 + '302': *573 '304': *35 x-github: githubCloudOnly: false @@ -83630,8 +84377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -83726,7 +84473,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &574 title: File Commit description: File Commit type: object @@ -83882,7 +84629,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: example-for-creating-a-file: value: @@ -83936,7 +84683,7 @@ paths: schema: oneOf: - *3 - - &612 + - &615 description: Repository rule violation was detected type: object properties: @@ -83957,7 +84704,7 @@ paths: items: type: object properties: - placeholder_id: &725 + placeholder_id: &728 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83989,8 +84736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -84051,7 +84798,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: default: value: @@ -84106,8 +84853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *443 - - *444 + - *446 + - *447 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84231,22 +84978,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *443 - - *444 - - *324 + - *446 + - *447 - *325 - *326 - *327 + - *328 - 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 - - *328 - - *572 - *329 + - *575 - *330 + - *331 + - *332 - *108 - *106 - *107 @@ -84258,7 +85006,7 @@ paths: application/json: schema: type: array - items: &576 + items: &579 type: object description: A Dependabot alert. properties: @@ -84308,7 +85056,7 @@ paths: - direct - transitive - - security_advisory: *573 + security_advisory: *576 security_vulnerability: *128 url: *129 html_url: *130 @@ -84339,8 +85087,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *574 - dismissal_request: *575 + auto_dismissed_at: *577 + dismissal_request: *578 assignees: type: array description: The users assigned to this alert. @@ -84467,6 +85215,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: @@ -84551,6 +85318,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -84575,9 +85343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *443 - - *444 - - &577 + - *446 + - *447 + - &580 name: alert_number in: path description: |- @@ -84592,7 +85360,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84683,6 +85451,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': *35 '403': *27 '404': *6 @@ -84705,9 +85492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *443 - - *444 - - *577 + - *446 + - *447 + - *580 requestBody: required: true content: @@ -84738,8 +85525,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: @@ -84752,7 +85550,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84855,6 +85653,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *27 '404': *6 @@ -84881,8 +85680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -84900,7 +85699,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &583 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84954,16 +85753,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84983,15 +85782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -85017,8 +85816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -85071,8 +85870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -85095,8 +85894,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: - - *443 - - *444 + - *446 + - *447 - 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 @@ -85270,8 +86069,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -85531,8 +86330,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -85615,7 +86414,7 @@ paths: - version - url additionalProperties: false - metadata: &581 + metadata: &584 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85654,7 +86453,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *581 + metadata: *584 resolved: type: object description: A collection of resolved package dependencies. @@ -85668,7 +86467,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *581 + metadata: *584 relationship: type: string description: A notation of whether a dependency is requested @@ -85801,8 +86600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *443 - - *444 + - *446 + - *447 - name: sha description: The SHA recorded at creation time. in: query @@ -85843,9 +86642,9 @@ paths: application/json: schema: type: array - items: *582 + items: *585 examples: - default: *583 + default: *586 headers: Link: *45 x-github: @@ -85911,8 +86710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -85994,7 +86793,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: simple-example: summary: Simple example @@ -86067,9 +86866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *443 - - *444 - - &584 + - *446 + - *447 + - &587 name: deployment_id description: deployment_id parameter in: path @@ -86081,7 +86880,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: default: value: @@ -86146,9 +86945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 responses: '204': description: Response @@ -86170,9 +86969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 - *17 - *19 responses: @@ -86182,7 +86981,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Deployment Status description: The status of a deployment. type: object @@ -86346,9 +87145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 requestBody: required: true content: @@ -86423,9 +87222,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86481,9 +87280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 - name: status_id in: path required: true @@ -86494,9 +87293,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -86523,12 +87322,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 - - *589 + - *446 + - *447 - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86538,9 +87337,9 @@ paths: application/json: schema: type: array - items: *591 + items: *594 examples: - default: *592 + default: *595 '404': *6 '403': *27 '500': *38 @@ -86564,8 +87363,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86577,7 +87376,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *594 examples: default: value: @@ -86633,8 +87432,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86693,12 +87492,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 - - *589 + - *446 + - *447 - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86708,9 +87507,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: *594 + default: *597 '404': *6 '403': *27 '500': *38 @@ -86734,8 +87533,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86747,7 +87546,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -86798,8 +87597,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86837,7 +87636,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -86888,8 +87687,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86960,8 +87759,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86994,12 +87793,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 - - *335 + - *337 - *17 - *19 responses: @@ -87009,9 +87808,9 @@ paths: application/json: schema: type: array - items: *595 + items: *598 examples: - default: *596 + default: *599 '404': *6 '403': *27 '500': *38 @@ -87036,8 +87835,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -87049,7 +87848,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -87107,8 +87906,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -87177,8 +87976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -87235,8 +88034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -87254,7 +88053,7 @@ paths: - 5 environments: type: array - items: &598 + items: &601 title: Environment description: Details of a deployment environment type: object @@ -87316,7 +88115,7 @@ paths: type: string examples: - wait_timer - wait_timer: &600 + wait_timer: &603 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87358,7 +88157,7 @@ paths: items: type: object properties: - type: *597 + type: *600 reviewer: anyOf: - *4 @@ -87385,7 +88184,7 @@ paths: - id - node_id - type - deployment_branch_policy: &601 + deployment_branch_policy: &604 type: - object - 'null' @@ -87502,9 +88301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *443 - - *444 - - &599 + - *446 + - *447 + - &602 name: environment_name in: path required: true @@ -87517,9 +88316,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: &602 + default: &605 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87603,9 +88402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: false content: @@ -87615,7 +88414,7 @@ paths: - object - 'null' properties: - wait_timer: *600 + wait_timer: *603 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87634,14 +88433,14 @@ paths: items: type: object properties: - type: *597 + type: *600 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *601 + deployment_branch_policy: *604 additionalProperties: false examples: default: @@ -87661,9 +88460,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: *602 + default: *605 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87687,9 +88486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 responses: '204': description: Default response @@ -87714,9 +88513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *17 - *19 responses: @@ -87735,7 +88534,7 @@ paths: - 2 branch_policies: type: array - items: &603 + items: &606 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87796,9 +88595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: true content: @@ -87846,9 +88645,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - example-wildcard: &604 + example-wildcard: &607 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87890,10 +88689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - &605 + - *446 + - *447 + - *602 + - &608 name: branch_policy_id in: path required: true @@ -87905,9 +88704,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *604 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87926,10 +88725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - *605 + - *446 + - *447 + - *602 + - *608 requestBody: required: true content: @@ -87958,9 +88757,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *604 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87979,10 +88778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - *605 + - *446 + - *447 + - *602 + - *608 responses: '204': description: Response @@ -88007,9 +88806,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 responses: '200': description: List of deployment protection rules @@ -88026,7 +88825,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &606 + items: &609 title: Deployment protection rule description: Deployment protection rule type: object @@ -88048,7 +88847,7 @@ paths: for the environment. examples: - true - app: &607 + app: &610 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88151,9 +88950,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 requestBody: content: application/json: @@ -88174,9 +88973,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *606 + schema: *609 examples: - default: &608 + default: &611 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88211,9 +89010,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 - *19 - *17 responses: @@ -88233,7 +89032,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *607 + items: *610 examples: default: value: @@ -88268,10 +89067,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: - - *443 - - *444 - - *599 - - &609 + - *446 + - *447 + - *602 + - &612 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88283,9 +89082,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *608 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88306,10 +89105,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: - - *599 - - *444 - - *443 - - *609 + - *602 + - *447 + - *446 + - *612 responses: '204': description: Response @@ -88335,9 +89134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *17 - *19 responses: @@ -88355,9 +89154,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *477 examples: - default: *475 + default: *478 headers: Link: *45 x-github: @@ -88382,17 +89181,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 responses: '200': description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88414,18 +89213,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *477 examples: - default: *610 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +89246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 requestBody: required: true @@ -88507,9 +89306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 responses: '204': @@ -88535,10 +89334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *443 - - *444 - - *599 - - *461 + - *446 + - *447 + - *602 + - *464 - *19 responses: '200': @@ -88555,9 +89354,9 @@ paths: type: integer variables: type: array - items: *478 + items: *481 examples: - default: *479 + default: *482 headers: Link: *45 x-github: @@ -88580,9 +89379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: true content: @@ -88634,18 +89433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: *611 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88666,10 +89465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 - - *599 + - *602 requestBody: required: true content: @@ -88711,10 +89510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 - - *599 + - *602 responses: '204': description: Response @@ -88736,8 +89535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -88805,8 +89604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *443 - - *444 + - *446 + - *447 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88965,8 +89764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -88999,9 +89798,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 '400': *14 '422': *15 '403': *27 @@ -89022,8 +89821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89083,7 +89882,7 @@ paths: schema: oneOf: - *251 - - *612 + - *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89108,8 +89907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *443 - - *444 + - *446 + - *447 - name: file_sha in: path required: true @@ -89209,8 +90008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89319,7 +90118,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &616 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89546,15 +90345,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 responses: '200': description: Response content: application/json: - schema: *613 + schema: *616 examples: default: value: @@ -89610,9 +90409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *443 - - *444 - - &614 + - *446 + - *447 + - &617 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. @@ -89629,7 +90428,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Git Reference description: Git references within a repository type: object @@ -89705,17 +90504,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 responses: '200': description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &616 + default: &619 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89744,8 +90543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89774,9 +90573,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *616 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89802,9 +90601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 requestBody: required: true content: @@ -89833,9 +90632,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *616 + default: *619 '422': *15 '409': *117 x-github: @@ -89853,9 +90652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 responses: '204': description: Response @@ -89910,8 +90709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89978,7 +90777,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &621 title: Git Tag description: Metadata for a Git tag type: object @@ -90034,7 +90833,7 @@ paths: - sha - type - url - verification: *617 + verification: *620 required: - sha - url @@ -90044,7 +90843,7 @@ paths: - tag - message examples: - default: &619 + default: &622 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90117,8 +90916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *443 - - *444 + - *446 + - *447 - name: tag_sha in: path required: true @@ -90129,9 +90928,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 '404': *6 '409': *117 x-github: @@ -90155,8 +90954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -90230,7 +91029,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &623 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90332,8 +91131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *443 - - *444 + - *446 + - *447 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90356,7 +91155,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *623 examples: default-response: summary: Default response @@ -90415,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -90426,7 +91225,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: Webhook description: Webhooks for repositories. type: object @@ -90489,7 +91288,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &874 title: Hook Response type: object properties: @@ -90566,8 +91365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -90620,9 +91419,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &622 + default: &625 value: type: Repository id: 12345678 @@ -90670,17 +91469,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '200': description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -90700,9 +91499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 requestBody: required: true content: @@ -90747,9 +91546,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '422': *15 '404': *6 x-github: @@ -90770,9 +91569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -90796,9 +91595,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '200': description: Response @@ -90825,9 +91624,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 requestBody: required: false content: @@ -90871,11 +91670,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *17 - - *339 + - *341 responses: '200': description: Response @@ -90883,9 +91682,9 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: - default: *341 + default: *343 '400': *14 '422': *15 x-github: @@ -90904,18 +91703,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *344 examples: - default: *343 + default: *345 '400': *14 '422': *15 x-github: @@ -90934,9 +91733,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *16 responses: '202': *37 @@ -90959,9 +91758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -90986,9 +91785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -91011,8 +91810,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response if immutable releases are enabled @@ -91060,8 +91859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '409': *117 @@ -91081,8 +91880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '409': *117 @@ -91139,14 +91938,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &623 + schema: &626 title: Import description: A repository import from an external source. type: object @@ -91253,7 +92052,7 @@ paths: - html_url - authors_url examples: - default: &626 + default: &629 value: vcs: subversion use_lfs: true @@ -91269,7 +92068,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': &624 + '503': &627 description: Unavailable due to service under maintenance. content: application/json: @@ -91298,8 +92097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -91347,7 +92146,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: default: value: @@ -91372,7 +92171,7 @@ paths: type: string '422': *15 '404': *6 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91400,8 +92199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -91453,7 +92252,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: example-1: summary: Example 1 @@ -91501,7 +92300,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': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91524,12 +92323,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91555,9 +92354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *443 - - *444 - - &803 + - *446 + - *447 + - &805 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91571,7 +92370,7 @@ paths: application/json: schema: type: array - items: &625 + items: &628 title: Porter Author description: Porter Author type: object @@ -91625,7 +92424,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': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91650,8 +92449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *443 - - *444 + - *446 + - *447 - name: author_id in: path required: true @@ -91681,7 +92480,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *628 examples: default: value: @@ -91694,7 +92493,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91718,8 +92517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91760,7 +92559,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91788,8 +92587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -91816,11 +92615,11 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *626 + default: *629 '422': *15 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91843,8 +92642,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91852,8 +92651,8 @@ paths: application/json: schema: *20 examples: - default: *355 - '301': *449 + default: *357 + '301': *452 '404': *6 x-github: githubCloudOnly: false @@ -91873,8 +92672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91882,12 +92681,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &628 + default: &631 value: limit: collaborators_only origin: repository @@ -91912,13 +92711,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *627 + schema: *630 examples: default: summary: Example request body @@ -91930,9 +92729,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *628 + default: *631 '409': description: Response x-github: @@ -91954,8 +92753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -91978,8 +92777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -91989,9 +92788,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: &796 + default: &798 value: - id: 1 repository: @@ -92122,9 +92921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *443 - - *444 - - *361 + - *446 + - *447 + - *363 requestBody: required: false content: @@ -92153,7 +92952,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -92284,9 +93083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *443 - - *444 - - *361 + - *446 + - *447 + - *363 responses: '204': description: Response @@ -92317,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *443 - - *444 + - *446 + - *447 - 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 @@ -92366,7 +93165,7 @@ paths: required: false schema: type: string - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -92391,7 +93190,7 @@ paths: type: array items: *217 examples: - default: &638 + default: &641 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92540,7 +93339,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *449 + '301': *452 '422': *15 '404': *6 x-github: @@ -92569,8 +93368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -92662,7 +93461,7 @@ paths: application/json: schema: *217 examples: - default: &635 + default: &638 value: id: 1 node_id: MDU6SXNzdWUx @@ -92819,7 +93618,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *630 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -92847,8 +93646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *239 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92871,7 +93670,7 @@ paths: type: array items: *218 examples: - default: &637 + default: &640 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92929,8 +93728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': @@ -92939,7 +93738,7 @@ paths: application/json: schema: *218 examples: - default: &631 + default: &634 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92994,8 +93793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -93020,7 +93819,7 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -93038,8 +93837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -93068,8 +93867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': @@ -93132,7 +93931,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93149,8 +93948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -93158,7 +93957,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 '503': *190 x-github: githubCloudOnly: false @@ -93176,8 +93975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93204,9 +94003,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -93227,8 +94026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -93261,16 +94060,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -93292,10 +94091,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - *633 + - *636 responses: '204': description: Response @@ -93315,8 +94114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -93326,7 +94125,7 @@ paths: application/json: schema: type: array - items: &634 + items: &637 title: Issue Event description: Issue Event type: object @@ -93666,8 +94465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *443 - - *444 + - *446 + - *447 - name: event_id in: path required: true @@ -93678,7 +94477,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: default: value: @@ -93871,7 +94670,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *630 + '410': *633 '403': *27 x-github: githubCloudOnly: false @@ -93905,9 +94704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *443 - - *444 - - &636 + - *446 + - *447 + - &639 name: issue_number description: The number that identifies the issue. in: path @@ -93932,7 +94731,7 @@ paths: examples: default: summary: Issue - value: *635 + value: *638 pinned_comment: summary: Issue with pinned comment value: @@ -94131,9 +94930,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 '304': *35 x-github: githubCloudOnly: false @@ -94158,9 +94957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -94281,13 +95080,13 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 '422': *15 '503': *190 '403': *27 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94305,9 +95104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -94335,7 +95134,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,9 +95150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: content: application/json: @@ -94380,7 +95179,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94402,9 +95201,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: assignee in: path required: true @@ -94444,9 +95243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *222 - *17 - *19 @@ -94459,11 +95258,11 @@ paths: type: array items: *218 examples: - default: *637 + default: *640 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94492,9 +95291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -94518,14 +95317,14 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *634 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -94553,9 +95352,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94567,12 +95366,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94600,9 +95399,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -94626,15 +95425,15 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *452 '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -94665,9 +95464,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94681,13 +95480,13 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *638 + '301': *452 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -94713,9 +95512,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94727,12 +95526,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94749,9 +95548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94765,7 +95564,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &640 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94814,7 +95613,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94942,7 +95741,7 @@ paths: - performed_via_github_app - assignee - assigner - - &642 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94988,7 +95787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -95034,7 +95833,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -95083,7 +95882,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -95125,7 +95924,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -95167,7 +95966,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -95223,7 +96022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -95268,7 +96067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95329,7 +96128,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95390,7 +96189,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95451,7 +96250,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95544,7 +96343,7 @@ paths: color: red headers: Link: *45 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95561,9 +96360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -95575,7 +96374,7 @@ paths: type: array items: *216 examples: - default: &639 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95593,9 +96392,9 @@ paths: default: false headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95611,9 +96410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95658,10 +96457,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *642 + '301': *452 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -95678,9 +96477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95742,10 +96541,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *642 + '301': *452 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -95762,15 +96561,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '204': description: Response - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +96588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: name in: path required: true @@ -95815,9 +96614,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95837,9 +96636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95868,7 +96667,7 @@ paths: '204': description: Response '403': *27 - '410': *630 + '410': *633 '404': *6 '422': *15 x-github: @@ -95886,9 +96685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '204': description: Response @@ -95918,9 +96717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '200': description: Response @@ -95928,10 +96727,10 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *638 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95948,9 +96747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - 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. @@ -95976,13 +96775,13 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96000,9 +96799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96034,16 +96833,16 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Response content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -96065,10 +96864,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *443 - - *444 + - *446 + - *447 + - *639 - *636 - - *633 responses: '204': description: Response @@ -96097,9 +96896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96123,7 +96922,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -96156,9 +96955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -96170,11 +96969,11 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96202,9 +97001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96233,14 +97032,14 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -96260,9 +97059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96295,7 +97094,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 '403': *27 '404': *6 '422': *7 @@ -96317,9 +97116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -96334,9 +97133,6 @@ paths: description: Timeline Event type: object anyOf: - - *640 - - *641 - - *642 - *643 - *644 - *645 @@ -96347,6 +97143,9 @@ paths: - *650 - *651 - *652 + - *653 + - *654 + - *655 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96403,7 +97202,7 @@ paths: pin: anyOf: - type: 'null' - - *653 + - *656 required: - event - actor @@ -96679,7 +97478,7 @@ paths: type: string comments: type: array - items: &674 + items: &677 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96920,7 +97719,7 @@ paths: type: string comments: type: array - items: *554 + items: *557 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97195,7 +97994,7 @@ paths: headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97212,8 +98011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -97223,7 +98022,7 @@ paths: application/json: schema: type: array - items: &654 + items: &657 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97291,8 +98090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97328,9 +98127,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: &655 + default: &658 value: id: 1 key: ssh-rsa AAA... @@ -97364,9 +98163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *443 - - *444 - - &656 + - *446 + - *447 + - &659 name: key_id description: The unique identifier of the key. in: path @@ -97378,9 +98177,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -97398,9 +98197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *443 - - *444 - - *656 + - *446 + - *447 + - *659 responses: '204': description: Response @@ -97420,8 +98219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -97433,7 +98232,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *642 headers: Link: *45 '404': *6 @@ -97454,8 +98253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97493,7 +98292,7 @@ paths: application/json: schema: *216 examples: - default: &657 + default: &660 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97525,8 +98324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97539,7 +98338,7 @@ paths: application/json: schema: *216 examples: - default: *657 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -97556,8 +98355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97622,8 +98421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97649,8 +98448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -97686,8 +98485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '202': *37 '403': @@ -97715,8 +98514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -97742,9 +98541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *443 - - *444 - - *529 + - *446 + - *447 + - *532 responses: '200': description: Response @@ -97891,8 +98690,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97957,8 +98756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97992,9 +98791,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *557 + schema: *560 examples: - default: *658 + default: *661 '204': description: Response when already merged '404': @@ -98019,8 +98818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *443 - - *444 + - *446 + - *447 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98061,7 +98860,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -98117,8 +98916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98158,9 +98957,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &659 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -98219,9 +99018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *443 - - *444 - - &660 + - *446 + - *447 + - &663 name: milestone_number description: The number that identifies the milestone. in: path @@ -98233,9 +99032,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *659 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -98252,9 +99051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 requestBody: required: false content: @@ -98292,9 +99091,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *659 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98310,9 +99109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 responses: '204': description: Response @@ -98333,9 +99132,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: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 - *17 - *19 responses: @@ -98347,7 +99146,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *642 headers: Link: *45 x-github: @@ -98366,12 +99165,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: - - *443 - - *444 - - *661 - - *662 + - *446 + - *447 + - *664 + - *665 - *222 - - *663 + - *666 - *17 - *19 responses: @@ -98383,7 +99182,7 @@ paths: type: array items: *242 examples: - default: *664 + default: *667 headers: Link: *45 x-github: @@ -98407,8 +99206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -98466,14 +99265,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &665 + schema: &668 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98617,7 +99416,7 @@ paths: - custom_404 - public examples: - default: &666 + default: &669 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98658,8 +99457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98714,9 +99513,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *668 examples: - default: *666 + default: *669 '422': *15 '409': *117 x-github: @@ -98739,8 +99538,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98848,8 +99647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -98875,8 +99674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -98886,7 +99685,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 title: Page Build description: Page Build type: object @@ -98978,8 +99777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -99026,16 +99825,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &668 + default: &671 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -99083,8 +99882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *443 - - *444 + - *446 + - *447 - name: build_id in: path required: true @@ -99095,9 +99894,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99117,8 +99916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99226,9 +100025,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: - - *443 - - *444 - - &669 + - *446 + - *447 + - &672 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99286,9 +100085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *443 - - *444 - - *669 + - *446 + - *447 + - *672 responses: '204': *149 '404': *6 @@ -99315,8 +100114,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -99611,8 +100410,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Private vulnerability reporting status @@ -99649,8 +100448,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: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '422': *14 @@ -99671,8 +100470,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: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '422': *14 @@ -99694,8 +100493,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -99705,7 +100504,7 @@ paths: type: array items: *150 examples: - default: *670 + default: *673 '403': *27 '404': *6 x-github: @@ -99727,8 +100526,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99744,7 +100543,7 @@ paths: required: - properties examples: - default: *671 + default: *674 responses: '204': description: No Content when custom property values are successfully created @@ -99782,8 +100581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99843,9 +100642,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: *672 + default: *675 headers: Link: *45 '304': *35 @@ -99877,8 +100676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99945,7 +100744,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &679 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -100074,7 +100873,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 active_lock_reason: type: - string @@ -100129,7 +100928,7 @@ paths: type: - array - 'null' - items: *375 + items: *377 head: type: object properties: @@ -100167,14 +100966,14 @@ paths: _links: type: object properties: - comments: *397 - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + comments: *399 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -100185,7 +100984,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *673 + auto_merge: *676 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -100287,7 +101086,7 @@ paths: - merged_by - review_comments examples: - default: &677 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100814,8 +101613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - name: sort in: query required: false @@ -100844,9 +101643,9 @@ paths: application/json: schema: type: array - items: *674 + items: *677 examples: - default: &679 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100923,17 +101722,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: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: &675 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101008,8 +101807,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: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -101032,9 +101831,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101050,8 +101849,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: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -101073,8 +101872,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: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101101,9 +101900,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -101124,8 +101923,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: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -101158,16 +101957,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -101189,10 +101988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - *633 + - *636 responses: '204': description: Response @@ -101235,9 +102034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *443 - - *444 - - &678 + - *446 + - *447 + - &681 name: pull_number description: The number that identifies the pull request. in: path @@ -101250,9 +102049,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *676 + schema: *679 examples: - default: *677 + default: *680 '304': *35 '404': *6 '406': @@ -101287,9 +102086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -101331,9 +102130,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *679 examples: - default: *677 + default: *680 '422': *15 '403': *27 x-github: @@ -101355,9 +102154,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -101418,17 +102217,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -101458,9 +102257,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *239 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101481,9 +102280,9 @@ paths: application/json: schema: type: array - items: *674 + items: *677 examples: - default: *679 + default: *682 headers: Link: *45 x-github: @@ -101516,9 +102315,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -101624,7 +102423,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: example-for-a-multi-line-comment: value: @@ -101712,9 +102511,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *231 requestBody: required: true @@ -101737,7 +102536,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -101823,9 +102622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -101835,9 +102634,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: *680 + default: *683 headers: Link: *45 x-github: @@ -101867,9 +102666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -101879,7 +102678,7 @@ paths: application/json: schema: type: array - items: *568 + items: *571 examples: default: value: @@ -101917,9 +102716,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 responses: '204': description: Response if pull request has been merged @@ -101942,9 +102741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -102056,9 +102855,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 responses: '200': description: Response @@ -102133,9 +102932,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -102172,7 +102971,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -102708,9 +103507,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -102744,7 +103543,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -103249,9 +104048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -103261,7 +104060,7 @@ paths: application/json: schema: type: array - items: &681 + items: &684 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103417,9 +104216,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -103509,9 +104308,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: &683 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103574,10 +104373,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: - - *443 - - *444 - - *678 - - &682 + - *446 + - *447 + - *681 + - &685 name: review_id description: The unique identifier of the review. in: path @@ -103589,9 +104388,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: &684 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103650,10 +104449,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -103676,7 +104475,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: default: value: @@ -103738,18 +104537,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 responses: '200': description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *683 + default: *686 '422': *7 '404': *6 x-github: @@ -103776,10 +104575,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 - *17 - *19 responses: @@ -103877,9 +104676,9 @@ paths: _links: type: object properties: - self: *397 - html: *397 - pull_request: *397 + self: *399 + html: *399 + pull_request: *399 required: - self - html @@ -104037,10 +104836,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -104069,7 +104868,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: default: value: @@ -104132,10 +104931,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -104170,9 +104969,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *684 + default: *687 '404': *6 '422': *7 '403': *27 @@ -104194,9 +104993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -104260,8 +105059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *443 - - *444 + - *446 + - *447 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104274,9 +105073,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *688 examples: - default: &686 + default: &689 value: type: file encoding: base64 @@ -104318,8 +105117,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: - - *443 - - *444 + - *446 + - *447 - name: dir description: The alternate path to look for a README file in: path @@ -104339,9 +105138,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *688 examples: - default: *686 + default: *689 '404': *6 '422': *15 x-github: @@ -104363,8 +105162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -104374,7 +105173,7 @@ paths: application/json: schema: type: array - items: *687 + items: *690 examples: default: value: @@ -104468,8 +105267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -104545,9 +105344,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: &691 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104652,9 +105451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *443 - - *444 - - &689 + - *446 + - *447 + - &692 name: asset_id description: The unique identifier of the asset. in: path @@ -104666,9 +105465,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: &690 + default: &693 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 @@ -104703,7 +105502,7 @@ paths: type: User site_admin: false '404': *6 - '302': *570 + '302': *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104719,9 +105518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *443 - - *444 - - *689 + - *446 + - *447 + - *692 requestBody: required: false content: @@ -104750,9 +105549,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104768,9 +105567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *443 - - *444 - - *689 + - *446 + - *447 + - *692 responses: '204': description: Response @@ -104794,8 +105593,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -104881,16 +105680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104907,8 +105706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *443 - - *444 + - *446 + - *447 - name: tag description: tag parameter in: path @@ -104921,9 +105720,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -104945,9 +105744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *443 - - *444 - - &692 + - *446 + - *447 + - &695 name: release_id description: The unique identifier of the release. in: path @@ -104961,9 +105760,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: *687 + schema: *690 examples: - default: *691 + default: *694 '401': description: Unauthorized x-github: @@ -104981,9 +105780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 requestBody: required: false content: @@ -105047,9 +105846,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 '404': description: Not Found if the discussion category name is invalid content: @@ -105070,9 +105869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 responses: '204': description: Response @@ -105092,9 +105891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - *17 - *19 responses: @@ -105104,7 +105903,7 @@ paths: application/json: schema: type: array - items: *688 + items: *691 examples: default: value: @@ -105186,9 +105985,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: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - name: name in: query required: true @@ -105214,7 +106013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *688 + schema: *691 examples: response-for-successful-upload: value: @@ -105269,9 +106068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - 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. @@ -105295,9 +106094,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -105318,9 +106117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 requestBody: required: true content: @@ -105350,16 +106149,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -105381,10 +106180,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *443 - - *444 - - *692 - - *633 + - *446 + - *447 + - *695 + - *636 responses: '204': description: Response @@ -105408,9 +106207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 - *17 - *19 responses: @@ -105427,7 +106226,7 @@ paths: oneOf: - allOf: - *164 - - &693 + - &696 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105448,67 +106247,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *693 + - *696 - allOf: - *166 - - *693 + - *696 - allOf: - *167 - - *693 + - *696 - allOf: - - *694 - - *693 + - *697 + - *696 - allOf: - *168 - - *693 + - *696 - allOf: - *169 - - *693 + - *696 - allOf: - *170 - - *693 + - *696 - allOf: - *171 - - *693 + - *696 - allOf: - *172 - - *693 + - *696 - allOf: - *173 - - *693 + - *696 - allOf: - *174 - - *693 + - *696 - allOf: - *175 - - *693 + - *696 - allOf: - *176 - - *693 + - *696 - allOf: - *177 - - *693 + - *696 - allOf: - *178 - - *693 + - *696 - allOf: - *179 - - *693 + - *696 - allOf: - *180 - - *693 + - *696 - allOf: - *181 - - *693 + - *696 - allOf: - *182 - - *693 + - *696 - allOf: - *183 - - *693 + - *696 - allOf: - *184 - - *693 + - *696 examples: default: value: @@ -105547,8 +106346,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - name: includes_parents @@ -105559,7 +106358,7 @@ paths: schema: type: boolean default: true - - *695 + - *698 responses: '200': description: Response @@ -105614,8 +106413,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 requestBody: description: Request body required: true @@ -105644,7 +106443,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *696 + items: *699 required: - name - enforcement @@ -105677,7 +106476,7 @@ paths: application/json: schema: *185 examples: - default: &705 + default: &708 value: id: 42 name: super cool ruleset @@ -105710,6 +106509,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *38 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -105724,12 +106524,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *443 - - *444 - - *697 + - *446 + - *447 + - *700 - *103 - - *698 - - *699 + - *701 + - *702 - *17 - *19 responses: @@ -105737,9 +106537,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 '404': *6 '500': *38 x-github: @@ -105760,17 +106560,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *443 - - *444 - - *702 + - *446 + - *447 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: *704 + default: *707 '404': *6 '500': *38 x-github: @@ -105798,8 +106598,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105821,7 +106621,7 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *708 '404': *6 '500': *38 put: @@ -105839,8 +106639,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105874,7 +106674,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *696 + items: *699 examples: default: value: @@ -105904,8 +106704,9 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *708 '404': *6 + '422': *15 '500': *38 delete: summary: Delete a repository ruleset @@ -105922,8 +106723,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105946,8 +106747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - name: ruleset_id @@ -105965,7 +106766,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *415 '404': *6 '500': *38 x-github: @@ -105984,8 +106785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106003,7 +106804,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -106058,22 +106859,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: - - *443 - - *444 - - *415 - - *416 + - *446 + - *447 - *417 - *418 - *419 + - *420 + - *421 - *108 - *19 - *17 - - *706 - - *707 - - *420 - - *421 + - *709 + - *710 - *422 - *423 + - *424 + - *425 responses: '200': description: Response @@ -106081,7 +106882,7 @@ paths: application/json: schema: type: array - items: &711 + items: &714 type: object properties: number: *124 @@ -106097,8 +106898,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *708 - resolution: *709 + state: *711 + resolution: *712 resolved_at: type: - string @@ -106192,7 +106993,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *710 + - *713 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106337,16 +107138,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: - - *443 - - *444 - - *523 - - *423 + - *446 + - *447 + - *526 + - *425 responses: '200': description: Response content: application/json: - schema: *711 + schema: *714 examples: default: value: @@ -106400,9 +107201,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: true content: @@ -106410,8 +107211,8 @@ paths: schema: type: object properties: - state: *708 - resolution: *709 + state: *711 + resolution: *712 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106447,7 +107248,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *714 examples: default: value: @@ -106542,9 +107343,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 - *19 - *17 responses: @@ -106555,7 +107356,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &894 type: object properties: type: @@ -106582,9 +107383,6 @@ paths: - commit details: oneOf: - - *712 - - *713 - - *714 - *715 - *716 - *717 @@ -106595,6 +107393,9 @@ paths: - *722 - *723 - *724 + - *725 + - *726 + - *727 examples: default: value: @@ -106680,8 +107481,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -106689,14 +107490,14 @@ paths: schema: type: object properties: - reason: &726 + reason: &729 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *725 + placeholder_id: *728 required: - reason - placeholder_id @@ -106713,7 +107514,7 @@ paths: schema: type: object properties: - reason: *726 + reason: *729 expire_at: type: - string @@ -106760,8 +107561,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: - - *443 - - *444 + - *446 + - *447 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106776,7 +107577,7 @@ paths: properties: incremental_scans: type: array - items: &727 + items: &730 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106804,15 +107605,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *727 + items: *730 backfill_scans: type: array - items: *727 + items: *730 custom_pattern_backfill_scans: type: array items: allOf: - - *727 + - *730 - type: object properties: pattern_name: @@ -106882,8 +107683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *443 - - *444 + - *446 + - *447 - *108 - name: sort description: The property to sort the results by. @@ -106927,9 +107728,9 @@ paths: application/json: schema: type: array - items: *728 + items: *731 examples: - default: *729 + default: *732 '400': *14 '404': *6 x-github: @@ -106952,8 +107753,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -107033,7 +107834,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 required: - login - type @@ -107123,9 +107924,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: &731 + default: &734 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107358,8 +108159,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -107472,7 +108273,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: default: value: @@ -107619,17 +108420,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '200': description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *731 + default: *734 '403': *27 '404': *6 x-github: @@ -107653,9 +108454,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 requestBody: required: true content: @@ -107735,7 +108536,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 required: - login - type @@ -107826,10 +108627,10 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *731 - add_credit: *731 + default: *734 + add_credit: *734 '403': *27 '404': *6 '422': @@ -107867,9 +108668,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '202': *37 '400': *14 @@ -107896,17 +108697,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '202': description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 '400': *14 '422': *15 '403': *27 @@ -107932,8 +108733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108029,8 +108830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108039,7 +108840,7 @@ paths: application/json: schema: type: array - items: &732 + items: &735 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108072,8 +108873,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -108151,8 +108952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -108246,8 +109047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108401,8 +109202,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108412,7 +109213,7 @@ paths: application/json: schema: type: array - items: *732 + items: *735 examples: default: value: @@ -108445,8 +109246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *443 - - *444 + - *446 + - *447 - name: sha in: path required: true @@ -108502,7 +109303,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *736 examples: default: value: @@ -108556,8 +109357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108589,14 +109390,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &734 + schema: &737 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108669,8 +109470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -108696,7 +109497,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *737 examples: default: value: @@ -108723,8 +109524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -108744,8 +109545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108810,165 +109611,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: - - *443 - - *444 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &735 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *27 - '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: - - *443 - - *444 - 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: *735 - examples: - default: - value: - enabled: true - '403': *27 - '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: - - *443 - - *444 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *27 - '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) @@ -108986,8 +109628,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *443 - - *444 + - *446 + - *447 - name: ref in: path required: true @@ -109023,8 +109665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -109036,7 +109678,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 headers: Link: *45 '404': *6 @@ -109056,8 +109698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 responses: @@ -109065,7 +109707,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &738 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109077,7 +109719,7 @@ paths: required: - names examples: - default: &737 + default: &739 value: names: - octocat @@ -109100,8 +109742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -109132,9 +109774,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *738 examples: - default: *737 + default: *739 '404': *6 '422': *7 x-github: @@ -109155,9 +109797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *443 - - *444 - - &738 + - *446 + - *447 + - &740 name: per description: The time frame to display results for. in: query @@ -109188,7 +109830,7 @@ paths: - 128 clones: type: array - items: &739 + items: &741 title: Traffic type: object properties: @@ -109275,8 +109917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -109370,8 +110012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -109434,9 +110076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *443 - - *444 - - *738 + - *446 + - *447 + - *740 responses: '200': description: Response @@ -109457,7 +110099,7 @@ paths: - 3782 views: type: array - items: *739 + items: *741 required: - uniques - count @@ -109534,8 +110176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -109809,8 +110451,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109833,8 +110475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -109856,8 +110498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -109883,8 +110525,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *443 - - *444 + - *446 + - *447 - name: ref in: path required: true @@ -109976,9 +110618,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110129,7 +110771,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &747 + - &749 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -110139,7 +110781,7 @@ paths: type: string examples: - members - - &752 + - &754 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -110151,7 +110793,7 @@ paths: format: int32 examples: - 1 - - &753 + - &755 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -110195,7 +110837,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &742 + items: &744 allOf: - type: object required: @@ -110277,7 +110919,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: &754 + meta: &756 type: object description: The metadata associated with the creation/updates to the user. @@ -110342,30 +110984,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &743 + '400': &745 description: Bad request content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '401': *741 - '403': &744 + schema: *742 + '401': *743 + '403': &746 description: Permission denied - '429': &745 + '429': &747 description: Too many requests content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '500': &746 + schema: *742 + '500': &748 description: Internal server error content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 + schema: *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110389,7 +111031,7 @@ paths: required: true content: application/json: - schema: &750 + schema: &752 type: object required: - schemas @@ -110453,9 +111095,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *742 + schema: *744 examples: - group: &748 + group: &750 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110474,13 +111116,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': *743 - '401': *741 - '403': *744 - '409': &751 + '400': *745 + '401': *743 + '403': *746 + '409': &753 description: Duplicate record detected - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110497,7 +111139,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: - - &749 + - &751 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110506,22 +111148,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *747 + - *749 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *742 + schema: *744 examples: - default: *748 - '400': *743 - '401': *741 - '403': *744 + default: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110540,13 +111182,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: - - *749 + - *751 - *39 requestBody: required: true content: application/json: - schema: *750 + schema: *752 examples: group: summary: Group @@ -110572,17 +111214,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *742 + schema: *744 examples: - group: *748 - groupWithMembers: *748 - '400': *743 - '401': *741 - '403': *744 + group: *750 + groupWithMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110606,13 +111248,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: - - *749 + - *751 - *39 requestBody: required: true content: application/json: - schema: &761 + schema: &763 type: object required: - Operations @@ -110672,17 +111314,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *742 + schema: *744 examples: - updateGroup: *748 - addMembers: *748 - '400': *743 - '401': *741 - '403': *744 + updateGroup: *750 + addMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110698,17 +111340,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: - - *749 + - *751 - *39 responses: '204': description: Group was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110742,8 +111384,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *752 - - *753 + - *754 + - *755 - *39 responses: '200': @@ -110777,7 +111419,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &756 + items: &758 allOf: - type: object required: @@ -110869,7 +111511,7 @@ paths: address. examples: - true - roles: &755 + roles: &757 type: array description: The roles assigned to the user. items: @@ -110928,7 +111570,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *754 + meta: *756 startIndex: type: integer description: A starting index for the returned page @@ -110967,11 +111609,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *743 - '401': *741 - '403': *744 - '429': *745 - '500': *746 + '400': *745 + '401': *743 + '403': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110995,7 +111637,7 @@ paths: required: true content: application/json: - schema: &759 + schema: &761 type: object required: - schemas @@ -111088,9 +111730,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *755 + roles: *757 examples: - user: &760 + user: &762 summary: User value: schemas: @@ -111137,9 +111779,9 @@ paths: description: User has been created content: application/scim+json: - schema: *756 + schema: *758 examples: - user: &757 + user: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111165,13 +111807,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: *757 - '400': *743 - '401': *741 - '403': *744 - '409': *751 - '429': *745 - '500': *746 + enterpriseOwner: *759 + '400': *745 + '401': *743 + '403': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111188,7 +111830,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: - - &758 + - &760 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -111201,15 +111843,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *756 + schema: *758 examples: - default: *757 - '400': *743 - '401': *741 - '403': *744 + default: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111223,7 +111865,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 @@ -111231,30 +111902,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: - - *758 + - *760 - *39 requestBody: required: true content: application/json: - schema: *759 + schema: *761 examples: - user: *760 + user: *762 responses: '200': description: User was updated content: application/scim+json: - schema: *756 + schema: *758 examples: - user: *757 - '400': *743 - '401': *741 - '403': *744 + user: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111271,15 +111942,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 @@ -111289,13 +111966,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: - - *758 + - *760 - *39 requestBody: required: true content: application/json: - schema: *761 + schema: *763 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111335,18 +112012,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *756 + schema: *758 examples: - userMultiValuedProperties: *757 - userSingleValuedProperties: *757 - disableUser: *757 - '400': *743 - '401': *741 - '403': *744 + userMultiValuedProperties: *759 + userSingleValuedProperties: *759 + disableUser: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111366,17 +112043,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: - - *758 + - *760 - *39 responses: '204': description: User was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111467,7 +112144,7 @@ paths: - 1 Resources: type: array - items: &762 + items: &764 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111714,22 +112391,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &763 + '404': &765 description: Resource not found content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '403': &764 + schema: *742 + '403': &766 description: Forbidden content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '400': *743 - '429': *745 + schema: *742 + '400': *745 + '429': *747 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111755,9 +112432,9 @@ paths: description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: &765 + default: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111780,17 +112457,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *763 - '403': *764 - '500': *746 + '404': *765 + '403': *766 + '500': *748 '409': description: Conflict content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '400': *743 + schema: *742 + '400': *745 requestBody: required: true content: @@ -111890,17 +112567,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 - '404': *763 - '403': *764 + default: *767 + '404': *765 + '403': *766 '304': *35 x-github: githubCloudOnly: true @@ -111924,18 +112601,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 + default: *767 '304': *35 - '404': *763 - '403': *764 + '404': *765 + '403': *766 requestBody: required: true content: @@ -112050,19 +112727,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 + default: *767 '304': *35 - '404': *763 - '403': *764 - '400': *743 + '404': *765 + '403': *766 + '400': *745 '429': description: Response content: @@ -112158,12 +112835,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *758 + - *760 responses: '204': description: Response - '404': *763 - '403': *764 + '404': *765 + '403': *766 '304': *35 x-github: githubCloudOnly: true @@ -112297,7 +112974,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &766 + text_matches: &768 title: Search Result Text Matches type: array items: @@ -112461,7 +113138,7 @@ paths: enum: - author-date - committer-date - - &767 + - &769 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 @@ -112530,7 +113207,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 comment_count: type: integer message: @@ -112549,7 +113226,7 @@ paths: url: type: string format: uri - verification: *617 + verification: *620 required: - author - committer @@ -112564,7 +113241,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 parents: type: array items: @@ -112581,7 +113258,7 @@ paths: type: number node_id: type: string - text_matches: *766 + text_matches: *768 required: - sha - node_id @@ -112774,7 +113451,7 @@ paths: - interactions - created - updated - - *767 + - *769 - *17 - *19 - name: advanced_search @@ -112871,11 +113548,11 @@ paths: type: - string - 'null' - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: type: string state_reason: @@ -112889,7 +113566,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 comments: type: integer created_at: @@ -112903,7 +113580,7 @@ paths: - string - 'null' format: date-time - text_matches: *766 + text_matches: *768 pull_request: type: object properties: @@ -112952,7 +113629,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *364 performed_via_github_app: anyOf: - type: 'null' @@ -113130,7 +113807,7 @@ paths: enum: - created - updated - - *767 + - *769 - *17 - *19 responses: @@ -113175,7 +113852,7 @@ paths: - 'null' score: type: number - text_matches: *766 + text_matches: *768 required: - id - node_id @@ -113261,7 +113938,7 @@ paths: - forks - help-wanted-issues - updated - - *767 + - *769 - *17 - *19 responses: @@ -113507,7 +114184,7 @@ paths: - admin - pull - push - text_matches: *766 + text_matches: *768 temp_clone_token: type: string allow_merge_commit: @@ -113816,7 +114493,7 @@ paths: - string - 'null' format: uri - text_matches: *766 + text_matches: *768 related: type: - array @@ -114011,7 +114688,7 @@ paths: - followers - repositories - joined - - *767 + - *769 - *17 - *19 responses: @@ -114121,7 +114798,7 @@ paths: type: - boolean - 'null' - text_matches: *766 + text_matches: *768 blog: type: - string @@ -114203,7 +114880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &771 + - &773 name: team_id description: The unique identifier of the team. in: path @@ -114215,9 +114892,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -114244,7 +114921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *771 + - *773 requestBody: required: true content: @@ -114308,16 +114985,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '201': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 '422': *15 '403': *27 @@ -114345,7 +115022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *771 + - *773 responses: '204': description: Response @@ -114374,7 +115051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -114384,9 +115061,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 x-github: @@ -114412,7 +115089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *771 + - *773 - name: role description: Filters members returned by their role in the team. in: query @@ -114463,7 +115140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114500,7 +115177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114540,7 +115217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114577,16 +115254,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: - - *771 + - *773 - *137 responses: '200': description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *774 '404': *6 x-github: githubCloudOnly: false @@ -114619,7 +115296,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: - - *771 + - *773 - *137 requestBody: required: false @@ -114645,9 +115322,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *775 '403': description: Forbidden if team synchronization is set up '422': @@ -114681,7 +115358,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: - - *771 + - *773 - *137 responses: '204': @@ -114709,7 +115386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -114721,7 +115398,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '404': *6 @@ -114751,15 +115428,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *774 + schema: *776 examples: alternative-response-with-extra-repository-information: value: @@ -114910,9 +115587,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 requestBody: required: false content: @@ -114962,9 +115639,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 responses: '204': description: Response @@ -114993,15 +115670,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: - - *771 + - *773 responses: '200': description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 '403': *27 '404': *6 x-github: @@ -115028,7 +115705,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: - - *771 + - *773 requestBody: required: true content: @@ -115089,7 +115766,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: default: value: @@ -115120,7 +115797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -115132,7 +115809,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: *775 + response-if-child-teams-exist: *777 headers: Link: *45 '404': *6 @@ -115165,7 +115842,7 @@ paths: application/json: schema: oneOf: - - &777 + - &779 title: Private User description: Private User type: object @@ -115415,7 +116092,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *776 + - *778 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115575,7 +116252,7 @@ paths: description: Response content: application/json: - schema: *777 + schema: *779 examples: default: value: @@ -115778,9 +116455,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *35 '500': *38 '401': *23 @@ -115919,17 +116596,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -115973,7 +116650,7 @@ paths: type: integer secrets: type: array - items: &778 + items: &780 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116015,7 +116692,7 @@ paths: - visibility - selected_repositories_url examples: - default: *548 + default: *551 headers: Link: *45 x-github: @@ -116093,7 +116770,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *780 examples: default: value: @@ -116239,7 +116916,7 @@ paths: type: array items: *276 examples: - default: *779 + default: *781 '401': *23 '403': *27 '404': *6 @@ -116383,15 +117060,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '304': *35 '500': *38 '401': *23 @@ -116417,7 +117094,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: - - *369 + - *371 requestBody: required: false content: @@ -116447,9 +117124,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -116471,7 +117148,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: - - *369 + - *371 responses: '202': *37 '304': *35 @@ -116500,13 +117177,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: - - *369 + - *371 responses: '202': description: Response content: application/json: - schema: &780 + schema: &782 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116559,7 +117236,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &781 + default: &783 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116591,7 +117268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *369 + - *371 - name: export_id in: path required: true @@ -116604,9 +117281,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *782 examples: - default: *781 + default: *783 '404': *6 x-github: githubCloudOnly: false @@ -116627,7 +117304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *369 + - *371 responses: '200': description: Response @@ -116643,9 +117320,9 @@ paths: type: integer machines: type: array - items: *547 + items: *550 examples: - default: *782 + default: *784 '304': *35 '500': *38 '401': *23 @@ -116674,7 +117351,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: - - *369 + - *371 requestBody: required: true content: @@ -116730,11 +117407,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *448 + repository: *451 machine: anyOf: - type: 'null' - - *547 + - *550 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117531,15 +118208,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '304': *35 '500': *38 '400': *14 @@ -117571,15 +118248,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '500': *38 '401': *23 '403': *27 @@ -117609,9 +118286,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: &793 + default: &795 value: - id: 197 name: hello_docker @@ -117712,7 +118389,7 @@ paths: application/json: schema: type: array - items: &783 + items: &785 title: Email description: Email type: object @@ -117782,9 +118459,9 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: - default: &795 + default: &797 value: - email: octocat@github.com verified: true @@ -117861,7 +118538,7 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: default: value: @@ -118119,7 +118796,7 @@ paths: application/json: schema: type: array - items: &784 + items: &786 title: GPG Key description: A unique encryption key type: object @@ -118264,7 +118941,7 @@ paths: - subkeys - revoked examples: - default: &811 + default: &813 value: - id: 3 name: Octocat's GPG Key @@ -118349,9 +119026,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *786 examples: - default: &785 + default: &787 value: id: 3 name: Octocat's GPG Key @@ -118408,7 +119085,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: - - &786 + - &788 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118420,9 +119097,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *786 examples: - default: *785 + default: *787 '404': *6 '304': *35 '403': *27 @@ -118445,7 +119122,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: - - *786 + - *788 responses: '204': description: Response @@ -118723,12 +119400,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -118752,7 +119429,7 @@ paths: required: true content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -118763,7 +119440,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -118844,7 +119521,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -118869,7 +119546,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *368 headers: Link: *45 '404': *6 @@ -118902,7 +119579,7 @@ paths: application/json: schema: type: array - items: &787 + items: &789 title: Key description: Key type: object @@ -119005,9 +119682,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *789 examples: - default: &788 + default: &790 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119040,15 +119717,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: - - *656 + - *659 responses: '200': description: Response content: application/json: - schema: *787 + schema: *789 examples: - default: *788 + default: *790 '404': *6 '304': *35 '403': *27 @@ -119071,7 +119748,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: - - *656 + - *659 responses: '204': description: Response @@ -119104,7 +119781,7 @@ paths: application/json: schema: type: array - items: &789 + items: &791 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119183,7 +119860,7 @@ paths: - account - plan examples: - default: &790 + default: &792 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119245,9 +119922,9 @@ paths: application/json: schema: type: array - items: *789 + items: *791 examples: - default: *790 + default: *792 headers: Link: *45 '304': *35 @@ -119287,7 +119964,7 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: default: value: @@ -119401,7 +120078,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -119488,7 +120165,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -119560,7 +120237,7 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: default: value: @@ -119822,7 +120499,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -120002,7 +120679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *375 - name: exclude in: query required: false @@ -120015,7 +120692,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -120209,7 +120886,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *375 responses: '302': description: Response @@ -120235,7 +120912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *375 responses: '204': description: Response @@ -120264,8 +120941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *791 + - *375 + - *793 responses: '204': description: Response @@ -120289,7 +120966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *373 + - *375 - *17 - *19 responses: @@ -120301,7 +120978,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '404': *6 @@ -120380,7 +121057,7 @@ paths: - docker - nuget - container - - *792 + - *794 - *19 - *17 responses: @@ -120390,10 +121067,10 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 - '400': *794 + default: *795 + '400': *796 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120413,16 +121090,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: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &812 + default: &814 value: id: 40201 name: octo-name @@ -120535,8 +121212,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: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -120566,8 +121243,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: - - *379 - - *380 + - *381 + - *382 - name: token description: package token schema: @@ -120599,8 +121276,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: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - name: state @@ -120620,7 +121297,7 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: default: value: @@ -120669,15 +121346,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -120713,9 +121390,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '204': description: Response @@ -120745,9 +121422,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '204': description: Response @@ -120784,9 +121461,9 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: - default: *795 + default: *797 headers: Link: *45 '304': *35 @@ -120899,7 +121576,7 @@ paths: type: array items: *76 examples: - default: &802 + default: &804 summary: Default response value: - id: 1296269 @@ -121217,9 +121894,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121257,9 +121934,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: *796 + default: *798 headers: Link: *45 '304': *35 @@ -121282,7 +121959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -121305,7 +121982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -121338,7 +122015,7 @@ paths: application/json: schema: type: array - items: &797 + items: &799 title: Social account description: Social media account type: object @@ -121355,7 +122032,7 @@ paths: - provider - url examples: - default: &798 + default: &800 value: - provider: twitter url: https://twitter.com/github @@ -121418,9 +122095,9 @@ paths: application/json: schema: type: array - items: *797 + items: *799 examples: - default: *798 + default: *800 '422': *15 '304': *35 '404': *6 @@ -121508,7 +122185,7 @@ paths: application/json: schema: type: array - items: &799 + items: &801 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121528,7 +122205,7 @@ paths: - title - created_at examples: - default: &826 + default: &828 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121593,9 +122270,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *801 examples: - default: &800 + default: &802 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121625,7 +122302,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: - - &801 + - &803 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121637,9 +122314,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *801 examples: - default: *800 + default: *802 '404': *6 '304': *35 '403': *27 @@ -121662,7 +122339,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: - - *801 + - *803 responses: '204': description: Response @@ -121691,7 +122368,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: - - &827 + - &829 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 @@ -121716,11 +122393,11 @@ paths: type: array items: *76 examples: - default-response: *802 + default-response: *804 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &830 title: Starred Repository description: Starred Repository type: object @@ -121876,8 +122553,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response if this repository is starred by you @@ -121905,8 +122582,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -121930,8 +122607,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -121966,7 +122643,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '304': *35 @@ -122003,7 +122680,7 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: default: value: @@ -122089,10 +122766,10 @@ paths: application/json: schema: oneOf: - - *777 - - *776 + - *779 + - *778 examples: - default-response: &806 + default-response: &808 summary: Default response value: login: octocat @@ -122127,7 +122804,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &807 + response-with-git-hub-plan-information: &809 summary: Response with GitHub plan information value: login: octocat @@ -122184,14 +122861,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: - - &804 + - &806 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *395 + - *397 requestBody: required: true description: Details of the draft item to create in the project. @@ -122225,9 +122902,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - draft_issue: *401 + draft_issue: *403 '304': *35 '403': *27 '401': *23 @@ -122250,7 +122927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *803 + - *805 - *17 responses: '200': @@ -122285,8 +122962,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: - - *804 - - *395 + - *806 + - *397 requestBody: required: true content: @@ -122360,17 +123037,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *805 + schema: *807 examples: table_view: summary: Response for creating a table view - value: *405 + value: *407 board_view: summary: Response for creating a board view with filter - value: *405 + value: *407 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *407 '304': *35 '403': *27 '401': *23 @@ -122412,11 +123089,11 @@ paths: application/json: schema: oneOf: - - *777 - - *776 + - *779 + - *778 examples: - default-response: *806 - response-with-git-hub-plan-information: *807 + default-response: *808 + response-with-git-hub-plan-information: *809 '404': *6 x-github: githubCloudOnly: false @@ -122466,8 +123143,8 @@ paths: required: - subject_digests examples: - default: *808 - withPredicateType: *809 + default: *810 + withPredicateType: *811 responses: '200': description: Response @@ -122521,7 +123198,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *810 + default: *812 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122726,7 +123403,7 @@ paths: initiator: type: string examples: - default: *490 + default: *493 '201': description: Response content: @@ -122765,9 +123442,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 + default: *795 '403': *27 '401': *23 x-github: @@ -123151,9 +123828,9 @@ paths: application/json: schema: type: array - items: *784 + items: *786 examples: - default: *811 + default: *813 headers: Link: *45 x-github: @@ -123257,7 +123934,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123382,7 +124059,7 @@ paths: - docker - nuget - container - - *792 + - *794 - *137 - *19 - *17 @@ -123393,12 +124070,12 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 + default: *795 '403': *27 '401': *23 - '400': *794 + '400': *796 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123418,17 +124095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *812 + default: *814 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123449,8 +124126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 responses: '204': @@ -123483,8 +124160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 - name: token description: package token @@ -123517,8 +124194,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: - - *379 - - *380 + - *381 + - *382 - *137 responses: '200': @@ -123527,7 +124204,7 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: default: value: @@ -123585,16 +124262,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: - - *379 - - *380 + - *381 - *382 + - *384 - *137 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -123629,10 +124306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *379 - - *380 - - *137 + - *381 - *382 + - *137 + - *384 responses: '204': description: Response @@ -123664,10 +124341,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *379 - - *380 - - *137 + - *381 - *382 + - *137 + - *384 responses: '204': description: Response @@ -123708,9 +124385,9 @@ paths: application/json: schema: type: array - items: *393 + items: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -123732,16 +124409,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *395 + - *397 - *137 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -123763,7 +124440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *395 + - *397 - *137 - *17 - *106 @@ -123775,9 +124452,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *813 + default: *815 headers: Link: *45 '304': *35 @@ -123799,7 +124476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *137 - - *395 + - *397 requestBody: required: true content: @@ -123837,7 +124514,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *814 + items: *816 required: - name - data_type @@ -123853,7 +124530,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *815 + iteration_configuration: *817 required: - name - data_type @@ -123875,20 +124552,20 @@ paths: value: name: Due date data_type: date - single_select_field: *816 - iteration_field: *817 + single_select_field: *818 + iteration_field: *819 responses: '201': description: Response content: application/json: - schema: *398 + schema: *400 examples: - text_field: *818 - number_field: *819 - date_field: *820 - single_select_field: *821 - iteration_field: *822 + text_field: *820 + number_field: *821 + date_field: *822 + single_select_field: *823 + iteration_field: *824 '304': *35 '403': *27 '401': *23 @@ -123909,17 +124586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *395 - - *823 + - *397 + - *825 - *137 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *824 + default: *826 headers: Link: *45 '304': *35 @@ -123942,7 +124619,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: - - *395 + - *397 - *137 - *106 - *107 @@ -123975,9 +124652,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -123999,7 +124676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *137 - - *395 + - *397 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124069,22 +124746,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *403 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *403 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *403 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *403 '304': *35 '403': *27 '401': *23 @@ -124104,9 +124781,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: - - *395 + - *397 - *137 - - *404 + - *406 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124126,9 +124803,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -124149,9 +124826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *395 + - *397 - *137 - - *404 + - *406 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124224,13 +124901,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *405 + number_field: *405 + date_field: *405 + single_select_field: *405 + iteration_field: *405 '401': *23 '403': *27 '404': *6 @@ -124250,9 +124927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *395 + - *397 - *137 - - *404 + - *406 responses: '204': description: Response @@ -124274,9 +124951,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: - - *395 + - *397 - *137 - - *825 + - *827 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124302,9 +124979,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -124525,7 +125202,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -124555,9 +125232,9 @@ paths: application/json: schema: type: array - items: *797 + items: *799 examples: - default: *798 + default: *800 headers: Link: *45 x-github: @@ -124587,9 +125264,9 @@ paths: application/json: schema: type: array - items: *799 + items: *801 examples: - default: *826 + default: *828 headers: Link: *45 x-github: @@ -124614,7 +125291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *827 + - *829 - *108 - *17 - *19 @@ -124626,11 +125303,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *830 - type: array items: *76 examples: - default-response: *802 + default-response: *804 headers: Link: *45 x-github: @@ -124661,7 +125338,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -124790,7 +125467,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &831 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124859,7 +125536,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &832 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124880,7 +125557,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &833 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124953,7 +125630,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &834 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125879,10 +126556,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -125958,11 +126635,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: &835 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) @@ -126185,11 +126862,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -126377,11 +127054,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -126454,7 +127131,7 @@ webhooks: required: true content: application/json: - schema: &853 + schema: &855 title: Exemption request cancellation event type: object properties: @@ -126462,11 +127139,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: &836 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126740,7 +127417,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &837 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126813,6 +127490,261 @@ 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: &856 + title: Exemption request completed event + type: object + properties: + action: + type: string + enum: + - completed + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + 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: &853 + title: Exemption request created event + type: object + properties: + action: + type: string + enum: + - created + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + 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: &857 + title: Exemption response dismissed event + type: object + properties: + action: + type: string + enum: + - response_dismissed + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 + 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 @@ -126853,261 +127785,6 @@ webhooks: content: application/json: schema: &854 - title: Exemption request completed event - type: object - properties: - action: - type: string - enum: - - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - 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: &851 - title: Exemption request created event - type: object - properties: - action: - type: string - enum: - - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - 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: &855 - title: Exemption response dismissed event - type: object - properties: - action: - type: string - enum: - - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 - 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: &852 title: Exemption response submitted event type: object properties: @@ -127115,12 +127792,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -127204,7 +127881,7 @@ webhooks: type: string enum: - completed - check_run: &837 + check_run: &839 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127314,7 +127991,7 @@ webhooks: - examples: - neutral - deployment: *836 + deployment: *838 details_url: type: string examples: @@ -127412,10 +128089,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -127806,11 +128483,11 @@ webhooks: type: string enum: - created - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -128204,11 +128881,11 @@ webhooks: type: string enum: - requested_action - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 requested_action: description: The action requested by the user. type: object @@ -128611,11 +129288,11 @@ webhooks: type: string enum: - rerequested - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -129600,10 +130277,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -130307,10 +130984,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -131008,10 +131685,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -131180,7 +131857,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131332,20 +132009,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &838 + commit_oid: &840 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: *829 - installation: *830 - organization: *831 - ref: &839 + enterprise: *831 + installation: *832 + organization: *833 + ref: &841 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: *832 + repository: *834 sender: *4 required: - action @@ -131512,7 +132189,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131753,12 +132430,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -131856,7 +132533,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132041,12 +132718,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -132215,7 +132892,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132392,12 +133069,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -132498,7 +133175,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132687,9 +133364,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132697,7 +133374,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *834 sender: *4 required: - action @@ -132796,7 +133473,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132943,12 +133620,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -133117,7 +133794,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133269,10 +133946,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -133532,10 +134209,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -133616,18 +134293,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &840 + organization: *833 + pusher_type: &842 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &841 + ref: &843 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133637,7 +134314,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *834 sender: *4 required: - ref @@ -133720,9 +134397,9 @@ webhooks: enum: - created definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133807,9 +134484,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133887,9 +134564,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133967,9 +134644,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -134046,10 +134723,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *831 + installation: *832 + repository: *834 + organization: *833 sender: *4 new_property_values: type: array @@ -134134,18 +134811,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *840 - ref: *841 + enterprise: *831 + installation: *832 + organization: *833 + pusher_type: *842 + ref: *843 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *834 sender: *4 required: - ref @@ -134190,7 +134867,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134225,11 +134902,11 @@ webhooks: type: string enum: - assignees_changed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134274,7 +134951,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134309,11 +134986,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134359,7 +135036,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134394,11 +135071,11 @@ webhooks: type: string enum: - auto_reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134444,7 +135121,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134479,11 +135156,11 @@ webhooks: type: string enum: - created - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134527,7 +135204,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134562,11 +135239,11 @@ webhooks: type: string enum: - dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134610,7 +135287,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134645,11 +135322,11 @@ webhooks: type: string enum: - fixed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134694,7 +135371,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134729,11 +135406,11 @@ webhooks: type: string enum: - reintroduced - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134777,7 +135454,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134812,11 +135489,11 @@ webhooks: type: string enum: - reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134893,9 +135570,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &842 + enterprise: *831 + installation: *832 + key: &844 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134933,8 +135610,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135011,11 +135688,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *842 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + key: *844 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135582,12 +136259,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: &846 + workflow: &848 title: Workflow type: - object @@ -136338,13 +137015,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *582 + - *585 pull_requests: type: array - items: *676 - repository: *832 - organization: *831 - installation: *830 + items: *679 + repository: *834 + organization: *833 + installation: *832 sender: *4 responses: '200': @@ -136415,7 +137092,7 @@ webhooks: type: string enum: - approved - approver: &843 + approver: &845 type: object properties: avatar_url: @@ -136458,11 +137135,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &844 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: &846 type: array items: type: object @@ -136543,7 +137220,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &845 + workflow_job_run: &847 type: object properties: conclusion: @@ -137289,18 +137966,18 @@ webhooks: type: string enum: - rejected - approver: *843 + approver: *845 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *844 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: *846 sender: *4 since: type: string - workflow_job_run: *845 + workflow_job_run: *847 workflow_job_runs: type: array items: @@ -138017,13 +138694,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *831 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *832 + organization: *833 + repository: *834 + requestor: &858 title: User type: - object @@ -139956,12 +140633,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Deployment Workflow Run type: @@ -140652,7 +141329,7 @@ webhooks: type: string enum: - answered - answer: &849 + answer: &851 type: object properties: author_association: @@ -140812,11 +141489,11 @@ webhooks: - created_at - updated_at - body - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -140943,11 +141620,11 @@ webhooks: - from required: - category - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141030,11 +141707,11 @@ webhooks: type: string enum: - closed - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141116,7 +141793,7 @@ webhooks: type: string enum: - created - comment: &848 + comment: &850 type: object properties: author_association: @@ -141276,11 +141953,11 @@ webhooks: - updated_at - body - reactions - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141363,12 +142040,12 @@ webhooks: type: string enum: - deleted - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *850 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141463,12 +142140,12 @@ webhooks: - from required: - body - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *850 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141552,11 +142229,11 @@ webhooks: type: string enum: - created - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141638,11 +142315,11 @@ webhooks: type: string enum: - deleted - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141742,11 +142419,11 @@ webhooks: type: string required: - from - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141828,10 +142505,10 @@ webhooks: type: string enum: - labeled - discussion: *847 - enterprise: *829 - installation: *830 - label: &850 + discussion: *849 + enterprise: *831 + installation: *832 + label: &852 title: Label type: object properties: @@ -141864,8 +142541,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141948,11 +142625,11 @@ webhooks: type: string enum: - locked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142034,11 +142711,11 @@ webhooks: type: string enum: - pinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142120,11 +142797,11 @@ webhooks: type: string enum: - reopened - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142209,16 +142886,16 @@ webhooks: changes: type: object properties: - new_discussion: *847 - new_repository: *832 + new_discussion: *849 + new_repository: *834 required: - new_discussion - new_repository - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142301,10 +142978,10 @@ webhooks: type: string enum: - unanswered - discussion: *847 - old_answer: *849 - organization: *831 - repository: *832 + discussion: *849 + old_answer: *851 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142386,12 +143063,12 @@ webhooks: type: string enum: - unlabeled - discussion: *847 - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142474,11 +143151,11 @@ webhooks: type: string enum: - unlocked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142560,11 +143237,11 @@ webhooks: type: string enum: - unpinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142633,7 +143310,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +143373,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142759,7 +143436,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142822,7 +143499,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142885,7 +143562,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142951,7 +143628,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143017,7 +143694,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143083,7 +143760,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143149,7 +143826,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143215,7 +143892,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143280,7 +143957,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143345,7 +144022,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143410,7 +144087,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143475,7 +144152,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143541,7 +144218,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143608,7 +144285,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *831 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144286,9 +144963,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - forkee @@ -144434,9 +145111,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pages: description: The pages that were updated. type: array @@ -144474,7 +145151,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *834 sender: *4 required: - pages @@ -144550,10 +145227,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: &857 + organization: *833 + repositories: &859 description: An array of repository objects that the installation can access. type: array @@ -144579,8 +145256,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *834 + requester: *858 sender: *4 required: - action @@ -144655,11 +145332,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -144736,11 +145413,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -144817,10 +145494,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories_added: &858 + organization: *833 + repositories_added: &860 description: An array of repository objects, which were added to the installation. type: array @@ -144866,15 +145543,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *834 + repository_selection: &861 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *858 sender: *4 required: - action @@ -144953,10 +145630,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories_added: *858 + organization: *833 + repositories_added: *860 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144983,9 +145660,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *834 + repository_selection: *861 + requester: *858 sender: *4 required: - action @@ -145064,11 +145741,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -145251,10 +145928,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 target_type: type: string @@ -145333,11 +146010,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -145503,7 +146180,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *656 user: title: User type: @@ -145589,8 +146266,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146402,8 +147079,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146420,7 +147097,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -146764,8 +147441,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -146845,7 +147522,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &862 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147002,7 +147679,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *656 required: - url - html_url @@ -147016,8 +147693,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147825,8 +148502,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147843,7 +148520,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -148189,8 +148866,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -148270,7 +148947,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &886 description: The changes to the comment. type: object properties: @@ -148282,9 +148959,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149095,8 +149772,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149113,7 +149790,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -149457,8 +150134,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -149539,9 +150216,9 @@ webhooks: type: string enum: - pinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -150354,8 +151031,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150372,7 +151049,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -150718,8 +151395,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -150799,9 +151476,9 @@ webhooks: type: string enum: - unpinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -151614,8 +152291,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151632,7 +152309,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -151978,8 +152655,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152068,9 +152745,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152159,9 +152836,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152249,9 +152926,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152340,9 +153017,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152422,10 +153099,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *858 + enterprise: *831 + installation: *832 + issue: &865 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153236,11 +153913,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153257,7 +153934,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -153360,8 +154037,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -153441,8 +154118,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -154258,11 +154935,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154279,7 +154956,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -154525,8 +155202,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -154605,8 +155282,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155413,11 +156090,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155434,7 +156111,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -155536,8 +156213,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -155616,8 +156293,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156447,11 +157124,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156468,7 +157145,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -156549,7 +157226,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &863 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156692,8 +157369,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156792,8 +157469,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157604,11 +158281,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157622,7 +158299,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -157728,9 +158405,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157810,8 +158487,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158621,11 +159298,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158639,7 +159316,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -158745,9 +159422,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158827,8 +159504,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159663,11 +160340,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159681,7 +160358,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -159764,8 +160441,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159844,8 +160521,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160674,11 +161351,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160695,7 +161372,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -160775,9 +161452,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161664,11 +162341,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161768,7 +162445,7 @@ webhooks: required: - login - id - type: *362 + type: *364 required: - id - number @@ -162260,8 +162937,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163068,11 +163745,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163089,7 +163766,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -163195,8 +163872,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -163276,9 +163953,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *831 + installation: *832 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -164083,11 +164760,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164104,7 +164781,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -164206,8 +164883,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -164286,8 +164963,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165120,11 +165797,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165221,9 +165898,9 @@ webhooks: format: uri user_view_type: type: string - type: *362 - organization: *831 - repository: *832 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166111,11 +166788,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166132,7 +166809,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -166725,11 +167402,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166809,12 +167486,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166895,7 +167572,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &889 title: User type: - object @@ -166967,11 +167644,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + organization: *833 + repository: *834 sender: *4 required: - action @@ -167050,12 +167727,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -167135,8 +167812,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -167969,11 +168646,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167990,7 +168667,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -168070,8 +168747,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168151,11 +168828,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168234,12 +168911,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168319,11 +168996,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168401,11 +169078,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168515,11 +169192,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168601,9 +169278,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *831 + installation: *832 + marketplace_purchase: &866 title: Marketplace Purchase type: object required: @@ -168691,8 +169368,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *833 + previous_marketplace_purchase: &867 title: Marketplace Purchase type: object properties: @@ -168776,7 +169453,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -168856,10 +169533,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168947,7 +169624,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -169029,10 +169706,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169118,7 +169795,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -169199,8 +169876,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 marketplace_purchase: title: Marketplace Purchase type: object @@ -169286,9 +169963,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -169368,12 +170045,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -169475,11 +170152,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169581,11 +170258,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169664,11 +170341,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169746,11 +170423,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169828,7 +170505,7 @@ webhooks: required: - login - id - team: &866 + team: &868 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -170058,11 +170735,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170141,7 +170818,7 @@ webhooks: required: - login - id - team: *866 + team: *868 required: - action - scope @@ -170223,8 +170900,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *832 + merge_group: &869 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -170243,15 +170920,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *510 + head_commit: *513 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170337,10 +171014,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *832 + merge_group: *869 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170413,7 +171090,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *831 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170522,12 +171199,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *832 + organization: *833 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -170607,11 +171284,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170690,9 +171367,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *831 + installation: *832 + milestone: &870 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170834,8 +171511,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170914,11 +171591,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171028,11 +171705,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171112,11 +171789,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *870 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171195,11 +171872,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171278,11 +171955,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171358,7 +172035,7 @@ webhooks: enum: - created definition: *145 - enterprise: *829 + enterprise: *831 sender: *4 required: - action @@ -171438,8 +172115,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 sender: *4 required: - action @@ -171512,8 +172189,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 sender: *4 required: - action @@ -171585,9 +172262,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 new_property_values: type: array @@ -171675,9 +172352,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *831 + installation: *832 + membership: &871 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171787,8 +172464,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171866,11 +172543,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171949,8 +172626,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -172072,10 +172749,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 - user: *856 + user: *858 required: - action - invitation @@ -172153,11 +172830,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -172244,11 +172921,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -172326,9 +173003,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -172851,7 +173528,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &872 title: Ruby Gems metadata type: object properties: @@ -172948,7 +173625,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -173025,9 +173702,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -173389,7 +174066,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *872 source_url: type: string format: uri @@ -173460,7 +174137,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -173640,12 +174317,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *831 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - id @@ -173722,7 +174399,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &873 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173872,10 +174549,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -173952,11 +174629,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *873 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174032,11 +174709,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *873 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174111,11 +174788,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *873 + organization: *833 + enterprise: *831 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174220,7 +174897,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *874 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -174252,8 +174929,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 zen: description: Random string of GitHub zen. @@ -174498,10 +175175,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *831 + installation: *832 + organization: *833 + project_card: &875 title: Project Card type: object properties: @@ -174624,7 +175301,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -174705,11 +175382,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *875 + repository: *834 sender: *4 required: - action @@ -174789,9 +175466,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 project_card: title: Project Card type: object @@ -174921,7 +175598,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -175015,11 +175692,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *875 + repository: *834 sender: *4 required: - action @@ -175113,9 +175790,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 project_card: allOf: - title: Project Card @@ -175312,7 +175989,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *834 sender: *4 required: - action @@ -175392,10 +176069,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *831 + installation: *832 + organization: *833 + project: &877 title: Project type: object properties: @@ -175522,7 +176199,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -175602,10 +176279,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *831 + installation: *832 + organization: *833 + project_column: &876 title: Project Column type: object properties: @@ -175645,7 +176322,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -175724,14 +176401,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -175820,11 +176497,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 + repository: *834 sender: *4 required: - action @@ -175904,11 +176581,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 + repository: *834 sender: *4 required: - action @@ -175988,11 +176665,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176072,14 +176749,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -176180,11 +176857,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176263,11 +176940,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176348,9 +177025,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176431,9 +177108,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176514,9 +177191,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176637,9 +177314,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176722,7 +177399,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &881 type: object properties: archived_at: @@ -176738,9 +177415,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *832 + organization: *833 + projects_v2_item: &878 title: Projects v2 Item description: An item belonging to a project type: object @@ -176758,7 +177435,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *399 + content_type: *401 creator: *4 created_at: type: string @@ -176880,9 +177557,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -176964,9 +177641,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177047,9 +177724,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177154,7 +177831,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &879 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -177178,7 +177855,7 @@ webhooks: required: - id - name - - &878 + - &880 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -177218,8 +177895,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - - *878 + - *879 + - *880 type: - 'null' - string @@ -177242,9 +177919,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177341,9 +178018,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177426,10 +178103,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *881 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177511,9 +178188,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -177594,9 +178271,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177677,9 +178354,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177825,9 +178502,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177898,10 +178575,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - repository @@ -177978,13 +178655,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *858 + enterprise: *831 + installation: *832 + number: &883 description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -180355,7 +181032,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -180437,11 +181114,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -182805,7 +183482,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *834 sender: *4 required: - action @@ -182887,11 +183564,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -185255,7 +185932,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *834 sender: *4 required: - action @@ -185337,13 +186014,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: &884 allOf: - - *676 + - *679 - type: object properties: allow_auto_merge: @@ -185405,7 +186082,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *834 sender: *4 required: - action @@ -185486,12 +186163,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -185571,11 +186248,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *831 + milestone: *398 + number: *883 + organization: *833 + pull_request: &885 title: Pull Request type: object properties: @@ -187924,7 +188601,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -188003,11 +188680,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -190375,7 +191052,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *834 sender: *4 required: - action @@ -190499,12 +191176,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -190584,11 +191261,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -192941,7 +193618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -193021,11 +193698,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + label: *852 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -195395,7 +196072,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -195476,10 +196153,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -197847,7 +198524,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -197927,12 +198604,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *831 + milestone: *398 + number: *883 + organization: *833 + pull_request: *885 + repository: *834 sender: *4 required: - action @@ -198011,12 +198688,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198097,12 +198774,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198182,12 +198859,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198562,9 +199239,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -200816,7 +201493,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -200896,7 +201573,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &887 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. @@ -201189,9 +201866,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -203431,7 +204108,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -203511,11 +204188,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *886 + comment: *887 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -205758,7 +206435,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -205839,9 +206516,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -208096,7 +208773,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 review: description: The review that was affected. type: object @@ -208347,9 +209024,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -210463,8 +211140,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *834 + review: &888 description: The review that was affected. type: object properties: @@ -210702,12 +211379,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -213076,7 +213753,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_reviewer: title: User type: @@ -213162,12 +213839,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -215543,7 +216220,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215738,12 +216415,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -218114,7 +218791,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_reviewer: title: User type: @@ -218201,12 +218878,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -220568,7 +221245,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220752,9 +221429,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -223012,8 +223689,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *834 + review: *888 sender: *4 required: - action @@ -223093,9 +223770,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -225248,7 +225925,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 sender: *4 thread: type: object @@ -225645,9 +226322,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -227783,7 +228460,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 sender: *4 thread: type: object @@ -228182,10 +228859,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -230542,7 +231219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -230624,11 +231301,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *889 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -233000,7 +233677,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -233079,11 +233756,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + label: *852 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -235444,7 +236121,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -235525,10 +236202,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -237879,7 +238556,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -238082,7 +238759,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *831 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238177,8 +238854,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *832 + organization: *833 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238777,9 +239454,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -239256,7 +239933,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *872 summary: type: string tag_name: @@ -239312,7 +239989,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -239390,9 +240067,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -239704,7 +240381,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *872 summary: type: string tag_name: @@ -239754,7 +240431,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -239831,10 +240508,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *831 + installation: *832 + organization: *833 + release: &890 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -240165,7 +240842,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *834 sender: *4 required: - action @@ -240242,11 +240919,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -240363,11 +241040,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -240445,9 +241122,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -240783,7 +241460,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *834 sender: *4 required: - action @@ -240859,10 +241536,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *831 + installation: *832 + organization: *833 + release: &891 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -241195,7 +241872,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *834 sender: *4 required: - action @@ -241271,11 +241948,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -241351,11 +242028,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *891 + repository: *834 sender: *4 required: - action @@ -241431,11 +242108,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *731 sender: *4 required: - action @@ -241511,11 +242188,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *731 sender: *4 required: - action @@ -241591,10 +242268,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241671,10 +242348,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241752,10 +242429,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241840,10 +242517,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241958,10 +242635,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242033,10 +242710,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 status: type: string @@ -242117,10 +242794,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242197,10 +242874,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242294,10 +242971,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242377,10 +243054,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 sender: *4 required: @@ -242459,10 +243136,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 sender: *4 required: @@ -242541,10 +243218,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 changes: type: object @@ -242606,16 +243283,16 @@ webhooks: properties: added: type: array - items: *696 + items: *699 deleted: type: array - items: *696 + items: *699 updated: type: array items: type: object properties: - rule: *696 + rule: *699 changes: type: object properties: @@ -242852,10 +243529,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242933,10 +243610,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243014,7 +243691,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &892 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243139,10 +243816,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243352,10 +244029,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243433,11 +244110,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243639,10 +244316,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243720,7 +244397,7 @@ webhooks: type: string enum: - assigned - alert: &891 + alert: &893 type: object properties: number: *124 @@ -243835,10 +244512,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243916,11 +244593,11 @@ webhooks: type: string enum: - created - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244001,11 +244678,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *893 + installation: *832 + location: *894 + organization: *833 + repository: *834 sender: *4 required: - location @@ -244243,11 +244920,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244325,11 +245002,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244407,11 +245084,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244489,12 +245166,12 @@ webhooks: type: string enum: - unassigned - alert: *891 + alert: *893 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244572,11 +245249,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244706,10 +245383,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *834 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -244787,11 +245464,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: &895 description: The details of the security advisory, including summary, description, and severity. type: object @@ -244977,11 +245654,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: *895 sender: *4 required: - action @@ -245054,10 +245731,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245243,11 +245920,11 @@ webhooks: from: type: object properties: - security_and_analysis: *407 - enterprise: *829 - installation: *830 - organization: *831 - repository: *448 + security_and_analysis: *409 + enterprise: *831 + installation: *832 + organization: *833 + repository: *451 sender: *4 required: - changes @@ -245325,12 +246002,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: &894 + sponsorship: &896 type: object properties: created_at: @@ -245635,12 +246312,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - sponsorship @@ -245728,12 +246405,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -245810,17 +246487,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &897 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: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - sponsorship @@ -245894,7 +246571,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &898 type: object properties: tier: @@ -245938,13 +246615,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *897 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -246021,13 +246698,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -246101,10 +246778,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246188,10 +246865,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246625,15 +247302,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *831 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *832 name: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 sha: description: The Commit SHA. @@ -246749,9 +247426,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -246841,9 +247518,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -246933,9 +247610,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -247025,9 +247702,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -247104,12 +247781,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - team: &897 + team: &899 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247339,9 +248016,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -247811,7 +248488,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -247887,9 +248564,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -248359,7 +249036,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -248436,9 +249113,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -248908,7 +249585,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -249052,9 +249729,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -249524,7 +250201,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - changes @@ -249602,9 +250279,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -250074,7 +250751,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -250150,10 +250827,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -250226,17 +250903,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *831 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *832 + organization: *833 ref: type: string - repository: *832 + repository: *834 sender: *4 workflow: type: string @@ -250318,10 +250995,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -250577,7 +251254,7 @@ webhooks: type: string required: - conclusion - deployment: *582 + deployment: *585 required: - action - repository @@ -250656,10 +251333,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -250941,7 +251618,7 @@ webhooks: required: - status - steps - deployment: *582 + deployment: *585 required: - action - repository @@ -251020,10 +251697,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -251169,7 +251846,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *585 required: - action - repository @@ -251248,10 +251925,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -251398,7 +252075,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *585 required: - action - repository @@ -251478,12 +252155,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -252502,12 +253179,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -253511,12 +254188,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 1b06608ccd..12c4f4b066 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -40037,6 +40037,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", @@ -40442,6 +40451,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", @@ -40743,6 +40762,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", @@ -41242,6 +41270,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", @@ -41672,6 +41709,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", @@ -42046,6 +42092,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", @@ -42338,6 +42394,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", @@ -43192,6 +43257,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", @@ -46175,8 +46249,1331 @@ } } }, - "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", + "null" + ], + "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." + } + } + } + } + } + }, + "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": { + "type": [ + "object", + "null" + ], + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "type": [ + "object", + "null" + ], + "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": { @@ -46201,53 +47598,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": [ { @@ -46260,95 +47669,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": { @@ -46374,33 +47700,7 @@ } }, "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", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -46424,16 +47724,7 @@ } } } - }, - "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" } } }, @@ -47828,6 +49119,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", @@ -49585,6 +50884,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=", @@ -49770,6 +51091,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -154116,20 +155438,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", @@ -154333,7 +155657,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -154349,19 +155673,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", @@ -154398,7 +155722,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", @@ -163134,6 +164458,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", @@ -163596,6 +164929,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", @@ -163897,6 +165239,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", @@ -164283,6 +165634,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", @@ -164984,6 +166344,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", @@ -165412,6 +166781,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", @@ -165704,6 +167082,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", @@ -166424,6 +167811,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", @@ -174244,28 +175640,391 @@ } } } - }, - "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." + }, + "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", + "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, 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, + "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]\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": [ + { + "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-user-management" + "subcategory": "copilot-content-exclusion-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.", + "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/cancel-copilot-seat-assignment-for-users", + "operationId": "copilot/set-copilot-content-exclusion-for-organization", "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization" }, "parameters": [ { @@ -174279,60 +176038,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 for which to revoke 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": { "200": { - "description": "OK", + "description": "Success", "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" + "message": { + "type": "string" } - }, - "required": [ - "seats_cancelled" - ] + } }, "examples": { "default": { "value": { - "seats_cancelled": 5 + "message": "Content exclusion rules updated successfully." } } } @@ -174443,15 +176226,68 @@ } } }, + "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": "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." + "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": false, + "githubCloudOnly": null, "enabledForGitHubApps": true, "category": "copilot", - "subcategory": "copilot-user-management" + "subcategory": "copilot-content-exclusion-management" } } }, @@ -179067,6 +180903,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", @@ -180832,6 +182676,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=", @@ -181017,6 +182883,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -181640,7 +183507,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": [ { @@ -282182,6 +284049,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -286890,6 +288832,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -300377,6 +302394,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300498,6 +302518,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300735,6 +302758,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300778,6 +302804,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -301136,6 +303165,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304241,6 +306273,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304429,6 +306464,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -400326,6 +402364,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", @@ -430024,6 +432071,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", @@ -430211,7 +432285,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", @@ -430232,7 +432306,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", @@ -432481,6 +434555,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", @@ -433685,7 +435767,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, @@ -433803,7 +435907,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -435135,7 +437240,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 + } + ] } } } @@ -435278,10 +437405,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 }, @@ -436423,7 +438566,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -673016,6 +675160,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -677590,6 +679809,81 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -704222,508 +706516,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", - "examples": [ - "v0.1" - ] - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/zipball/v0.1" - ] - }, - "tarball_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "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": [ { @@ -704745,67 +706560,108 @@ } }, { - "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", + "examples": [ + "v0.1" + ] + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/zipball/v0.1" + ] + }, + "tarball_url": { + "type": "string", + "format": "uri", + "examples": [ + "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" } } } @@ -704815,11 +706671,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}": { @@ -719391,7 +721244,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" @@ -720232,7 +722085,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" @@ -998081,7 +999934,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1001065,7 +1002918,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1004049,7 +1005902,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1007033,7 +1008886,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1010017,7 +1011870,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1013001,7 +1014854,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1015985,7 +1017838,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1018969,7 +1020822,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 118c5f98ec..53bdca5c6d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &428 + type: &430 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,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: - - &730 + - &733 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &339 + - &341 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 @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &340 + items: &342 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &341 + default: &343 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &740 + schema: &742 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &344 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &343 + default: &345 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9277,7 +9277,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &741 + '401': &743 description: Authorization failure '404': *6 x-github: @@ -13550,7 +13550,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &516 + instances_url: &519 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13586,7 +13586,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &517 + dismissed_reason: &520 type: - string - 'null' @@ -13597,14 +13597,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &518 + dismissed_comment: &521 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &519 + rule: &522 type: object properties: id: @@ -13665,7 +13665,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &520 + tool: &523 type: object properties: name: *109 @@ -13676,26 +13676,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &521 + most_recent_instance: &524 type: object properties: - ref: &514 + ref: &517 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &534 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: &532 + environment: &535 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: &533 + category: &536 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13709,7 +13709,7 @@ paths: properties: text: type: string - location: &534 + location: &537 type: object description: Describe a region within a file for the alert. properties: @@ -13730,7 +13730,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: &535 + items: &538 type: - string - 'null' @@ -14577,6 +14577,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 @@ -14865,6 +14873,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 @@ -15245,6 +15261,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 @@ -16116,7 +16140,7 @@ paths: parent: anyOf: - type: 'null' - - &375 + - &377 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16756,6 +16780,516 @@ 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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '404': *6 + '413': &320 + 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: + - *39 + - *17 + - *19 + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + custom_agents: + type: + - array + - 'null' + 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. + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - organization + - repository + properties: + organization: + type: + - object + - 'null' + required: + - id + - login + properties: + id: + type: integer + description: Unique identifier of the organization + login: + type: string + description: Login of the organization + repository: + type: + - object + - 'null' + 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': *27 + '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: + - *39 + 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': *38 + '401': *23 + '403': *27 + '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: + - *39 + 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 @@ -17463,7 +17997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &324 + - &325 name: state in: query description: |- @@ -17472,7 +18006,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &325 + - &326 name: severity in: query description: |- @@ -17481,7 +18015,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &326 + - &327 name: ecosystem in: query description: |- @@ -17490,14 +18024,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &327 + - &328 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 - - &328 + - &329 name: epss_percentage in: query description: |- @@ -17509,7 +18043,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 - - &572 + - &575 name: has in: query description: |- @@ -17523,7 +18057,16 @@ paths: type: string enum: - patch - - &329 + - &330 + 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 + - &331 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17533,7 +18076,7 @@ paths: enum: - development - runtime - - &330 + - &332 name: sort in: query description: |- @@ -17559,7 +18102,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object description: A Dependabot alert. properties: @@ -17626,7 +18169,7 @@ paths: - direct - transitive - - security_advisory: &573 + security_advisory: &576 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17862,7 +18405,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &574 + auto_dismissed_at: &577 type: - string - 'null' @@ -17870,7 +18413,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &575 + dismissal_request: &578 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17933,7 +18476,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &334 value: - number: 2 state: dismissed @@ -18037,6 +18580,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= @@ -18186,6 +18748,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18890,7 +19453,7 @@ paths: application/json: schema: *20 examples: - default: &355 + default: &357 value: id: 1 account: @@ -19151,7 +19714,7 @@ paths: - name - created_on examples: - default: &432 + default: &434 value: total_count: 2 network_configurations: @@ -19376,7 +19939,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: - *39 - - &433 + - &435 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19388,7 +19951,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &436 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19427,7 +19990,7 @@ paths: - subnet_id - region examples: - default: &435 + default: &437 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20280,7 +20843,7 @@ paths: required: true content: application/json: - schema: &406 + schema: &408 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21482,7 +22045,7 @@ paths: conditions: anyOf: - *156 - - &410 + - &412 title: Organization ruleset conditions type: object description: |- @@ -21532,7 +22095,7 @@ paths: - object rules: type: array - items: &696 + items: &699 title: Repository Rule type: object description: A repository rule. @@ -21541,7 +22104,7 @@ paths: - *165 - *166 - *167 - - &694 + - &697 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21869,7 +22432,7 @@ paths: type: string format: date-time examples: - default: &413 + default: &415 value: - version_id: 3 actor: @@ -21922,7 +22485,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 allOf: - *189 - type: object @@ -21977,7 +22540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &415 + - &417 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21988,7 +22551,7 @@ paths: enum: - open - resolved - - &416 + - &418 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21998,7 +22561,7 @@ paths: required: false schema: type: string - - &417 + - &419 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22007,7 +22570,7 @@ paths: required: false schema: type: string - - &418 + - &420 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22026,7 +22589,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &419 + - &421 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. @@ -22042,7 +22605,7 @@ paths: - *17 - *106 - *107 - - &420 + - &422 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22051,7 +22614,7 @@ paths: required: false schema: type: string - - &421 + - &423 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22060,7 +22623,7 @@ paths: schema: type: boolean default: false - - &422 + - &424 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22069,7 +22632,7 @@ paths: schema: type: boolean default: false - - &423 + - &425 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22085,7 +22648,7 @@ paths: application/json: schema: type: array - items: &424 + items: &426 type: object properties: number: *124 @@ -22101,14 +22664,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &708 + state: &711 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: &709 + resolution: &712 type: - string - 'null' @@ -22215,14 +22778,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &710 + - &713 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &712 + - &715 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22279,7 +22842,7 @@ paths: - blob_url - commit_sha - commit_url - - &713 + - &716 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. @@ -22340,7 +22903,7 @@ paths: - page_url - commit_sha - commit_url - - &714 + - &717 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22355,7 +22918,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &715 + - &718 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22370,7 +22933,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &716 + - &719 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22385,7 +22948,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &717 + - &720 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22400,7 +22963,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &718 + - &721 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22415,7 +22978,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &719 + - &722 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22430,7 +22993,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &720 + - &723 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. @@ -22445,7 +23008,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &721 + - &724 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. @@ -22460,7 +23023,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &722 + - &725 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. @@ -22475,7 +23038,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &723 + - &726 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. @@ -22490,7 +23053,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &724 + - &727 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 @@ -22515,7 +23078,7 @@ paths: - type: 'null' - *4 examples: - default: &425 + default: &427 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22724,7 +23287,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22811,7 +23374,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &427 + default: &429 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22947,7 +23510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &429 + - &431 name: advanced_security_product in: query description: | @@ -22967,7 +23530,7 @@ paths: description: Success content: application/json: - schema: &430 + schema: &432 type: object properties: total_advanced_security_committers: @@ -23030,7 +23593,7 @@ paths: required: - repositories examples: - default: &431 + default: &433 value: total_advanced_security_committers: 2 total_count: 2 @@ -26147,7 +26710,7 @@ paths: properties: action: type: string - discussion: &847 + discussion: &849 title: Discussion description: A Discussion in a repository. type: object @@ -26650,7 +27213,7 @@ paths: milestone: anyOf: - type: 'null' - - &396 + - &398 title: Milestone description: A collection of related issues and pull requests. @@ -26822,7 +27385,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &364 title: Issue Type description: The type of issue. type: @@ -26933,7 +27496,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &768 + sub_issues_summary: &770 title: Sub-issues Summary type: object properties: @@ -27017,7 +27580,7 @@ paths: pin: anyOf: - type: 'null' - - &653 + - &656 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27044,7 +27607,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &769 + issue_dependencies_summary: &771 title: Issue Dependencies Summary type: object properties: @@ -27063,7 +27626,7 @@ paths: - total_blocking issue_field_values: type: array - items: &770 + items: &772 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27844,7 +28407,7 @@ paths: type: string release: allOf: - - &687 + - &690 title: Release description: A release. type: object @@ -27926,7 +28489,7 @@ paths: author: *4 assets: type: array - items: &688 + items: &691 title: Release Asset description: Data related to a release. type: object @@ -28517,7 +29080,7 @@ paths: url: type: string format: uri - user: &776 + user: &778 title: Public User description: Public User type: object @@ -30414,7 +30977,7 @@ paths: - closed - all default: open - - &365 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30465,7 +31028,7 @@ paths: type: array items: *217 examples: - default: &366 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31877,14 +32440,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: - - &443 + - &446 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &444 + - &447 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31946,7 +32509,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &449 + '301': &452 description: Moved permanently content: application/json: @@ -31968,7 +32531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &661 + - &664 name: all description: If `true`, show notifications marked as read. in: query @@ -31976,7 +32539,7 @@ paths: schema: type: boolean default: false - - &662 + - &665 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31986,7 +32549,7 @@ paths: type: boolean default: false - *222 - - &663 + - &666 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: @@ -32368,7 +32931,7 @@ paths: type: boolean examples: - false - security_and_analysis: &407 + security_and_analysis: &409 type: - object - 'null' @@ -32580,7 +33143,7 @@ paths: - url - subscription_url examples: - default: &664 + default: &667 value: - id: '1' repository: @@ -33185,7 +33748,7 @@ paths: - 3 custom_roles: type: array - items: &320 + items: &321 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33234,7 +33797,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &322 value: id: 8030 name: Security Engineer @@ -33709,7 +34272,7 @@ paths: type: array items: *150 examples: - default: &670 + default: &673 value: - property_name: environment value: production @@ -33759,7 +34322,7 @@ paths: required: - properties examples: - default: &671 + default: &674 value: properties: - property_name: environment @@ -34650,7 +35213,7 @@ paths: type: integer repository_cache_usages: type: array - items: &456 + items: &459 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36782,7 +37345,7 @@ paths: type: array items: *276 examples: - default: &779 + default: &781 value: total_count: 1 repositories: @@ -37826,7 +38389,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &479 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37861,7 +38424,7 @@ paths: - key_id - key examples: - default: &477 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38274,7 +38837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &461 + - &464 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)." @@ -38886,20 +39449,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. @@ -39051,7 +39616,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -39064,17 +39629,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 @@ -39115,7 +39680,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: |- @@ -39526,12 +40091,12 @@ paths: required: - subject_digests examples: - default: &808 + default: &810 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &809 + withPredicateType: &811 value: subject_digests: - sha256:abc123 @@ -39590,7 +40155,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &810 + default: &812 value: attestations_subject_digests: - sha256:abc: @@ -39941,7 +40506,7 @@ paths: initiator: type: string examples: - default: &490 + default: &493 value: attestations: - bundle: @@ -40863,7 +41428,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &518 type: string description: Severity of a code scanning alert. enum: @@ -41223,6 +41788,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 @@ -41581,6 +42153,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 @@ -41905,7 +42484,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &369 type: object title: Codespace description: A codespace. @@ -41940,7 +42519,7 @@ paths: machine: anyOf: - type: 'null' - - &547 + - &550 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42227,7 +42806,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &370 value: total_count: 3 codespaces: @@ -42892,7 +43471,7 @@ paths: - updated_at - visibility examples: - default: &548 + default: &551 value: total_count: 2 secrets: @@ -42930,7 +43509,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &552 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42965,7 +43544,7 @@ paths: - key_id - key examples: - default: &550 + default: &553 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42997,7 +43576,7 @@ paths: application/json: schema: *319 examples: - default: &552 + default: &555 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43794,6 +44373,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: + - *85 + 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': *38 + '401': *23 + '403': *27 + '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: + - *85 + 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': *38 + '401': *23 + '403': *27 + '404': *6 + '413': *320 + '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 @@ -44234,7 +44954,7 @@ paths: - 3 custom_roles: type: array - items: *320 + items: *321 examples: default: value: @@ -44326,7 +45046,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &323 type: object properties: name: @@ -44368,9 +45088,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44401,9 +45121,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '404': *6 x-github: githubCloudOnly: true @@ -44431,7 +45151,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &324 type: object properties: name: @@ -44470,9 +45190,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44530,7 +45250,7 @@ paths: required: true content: application/json: - schema: *322 + schema: *323 examples: default: value: @@ -44544,9 +45264,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44583,9 +45303,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '404': *6 x-github: githubCloudOnly: true @@ -44619,7 +45339,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -44634,9 +45354,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - default: *321 + default: *322 '422': *15 '404': *6 x-github: @@ -44696,11 +45416,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *85 - - *324 - *325 - *326 - *327 - *328 + - *329 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -44730,6 +45450,7 @@ paths: enum: - patch - deployment + - *330 - name: runtime_risk in: query description: |- @@ -44738,8 +45459,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - - *330 + - *331 + - *332 - *108 - *106 - *107 @@ -44751,9 +45472,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 '304': *35 '400': *14 '403': *27 @@ -44797,7 +45518,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &335 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44876,7 +45597,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44895,7 +45616,7 @@ paths: - key_id - key examples: - default: &579 + default: &582 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44925,7 +45646,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -44990,9 +45711,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 @@ -45225,7 +45944,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &587 + - &590 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45233,7 +45952,7 @@ paths: required: false schema: type: string - - &588 + - &591 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45241,7 +45960,7 @@ paths: required: false schema: type: string - - &589 + - &592 name: time_period description: |- The time period to filter by. @@ -45257,7 +45976,7 @@ paths: - week - month default: month - - &590 + - &593 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45282,7 +46001,7 @@ paths: application/json: schema: type: array - items: &591 + items: &594 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45392,7 +46111,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &334 + items: &336 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45445,7 +46164,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &592 + default: &595 value: - id: 21 number: 42 @@ -45537,7 +46256,7 @@ paths: - *101 - *102 - *103 - - &335 + - &337 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -45563,7 +46282,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45673,7 +46392,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *334 + items: *336 url: type: string format: uri @@ -45686,7 +46405,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &594 + default: &597 value: - id: 21 number: 42 @@ -45778,7 +46497,7 @@ paths: - *101 - *102 - *103 - - *335 + - *337 - *17 - *19 responses: @@ -45788,7 +46507,7 @@ paths: application/json: schema: type: array - items: &595 + items: &598 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45915,7 +46634,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &596 + default: &599 value: - id: 21 number: 42 @@ -46003,7 +46722,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Package description: A software package type: object @@ -46074,7 +46793,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &380 value: - id: 197 name: hello_docker @@ -46261,7 +46980,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &443 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46351,7 +47070,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &441 + default: &444 value: group_id: '123' group_name: Octocat admins @@ -46406,7 +47125,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &440 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46446,7 +47165,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &439 + default: &441 value: groups: - group_id: '123' @@ -46491,7 +47210,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -46545,7 +47264,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &362 value: - id: 1 login: monalisa @@ -46612,7 +47331,7 @@ paths: application/json: schema: type: array - items: &408 + items: &410 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46626,7 +47345,7 @@ paths: - name - description examples: - default: &409 + default: &411 value: - name: add_assignee description: Assign or remove a user @@ -46667,7 +47386,7 @@ paths: application/json: schema: type: array - items: &336 + items: &338 title: Org Hook description: Org Hook type: object @@ -46850,9 +47569,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: - default: &337 + default: &339 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46897,7 +47616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *85 - - &338 + - &340 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. @@ -46910,9 +47629,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: - default: *337 + default: *339 '404': *6 x-github: githubCloudOnly: false @@ -46934,7 +47653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *85 - - *338 + - *340 requestBody: required: false content: @@ -46980,7 +47699,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -47020,7 +47739,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *85 - - *338 + - *340 responses: '204': description: Response @@ -47046,7 +47765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *340 responses: '200': description: Response @@ -47075,7 +47794,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *340 requestBody: required: false content: @@ -47124,9 +47843,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *17 - - *339 + - *341 responses: '200': description: Response @@ -47134,9 +47853,9 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: - default: *341 + default: *343 '400': *14 '422': *15 x-github: @@ -47160,16 +47879,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *344 examples: - default: *343 + default: *345 '400': *14 '422': *15 x-github: @@ -47193,7 +47912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *340 - *16 responses: '202': *37 @@ -47220,7 +47939,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *85 - - *338 + - *340 responses: '204': description: Response @@ -47243,7 +47962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *85 - - &348 + - &350 name: actor_type in: path description: The type of the actor @@ -47256,14 +47975,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &351 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &346 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`.' @@ -47271,7 +47990,7 @@ paths: required: true schema: type: string - - &345 + - &347 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) @@ -47366,12 +48085,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *85 - - *344 - - *345 + - *346 + - *347 - *19 - *17 - *108 - - &354 + - &356 name: sort description: The property to sort the results by. in: query @@ -47450,14 +48169,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *85 - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: &346 + schema: &348 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47473,7 +48192,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &349 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47494,23 +48213,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *85 - - &350 + - &352 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - - *345 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: enabledForGitHubApps: true category: orgs @@ -47529,18 +48248,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *85 - - *344 - - *345 - - *348 - - *349 + - *346 + - *347 + - *350 + - *351 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: enabledForGitHubApps: true category: orgs @@ -47558,9 +48277,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *85 - - *344 - - *345 - - &351 + - *346 + - *347 + - &353 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47573,7 +48292,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47589,7 +48308,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &355 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47626,18 +48345,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *85 - - *350 - - *344 - - *345 - - *351 + - *352 + - *346 + - *347 + - *353 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: enabledForGitHubApps: true category: orgs @@ -47655,19 +48374,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *85 - - *348 - - *349 - - *344 - - *345 + - *350 - *351 + - *346 + - *347 + - *353 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: enabledForGitHubApps: true category: orgs @@ -47685,13 +48404,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *85 - - *350 - - *344 - - *345 + - *352 + - *346 + - *347 - *19 - *17 - *108 - - *354 + - *356 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47775,7 +48494,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47895,12 +48614,12 @@ paths: application/json: schema: anyOf: - - &357 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47928,7 +48647,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &360 value: limit: collaborators_only origin: organization @@ -47957,13 +48676,13 @@ paths: required: true content: application/json: - schema: &627 + schema: &630 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47988,9 +48707,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -48068,9 +48787,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 '404': *6 @@ -48148,7 +48867,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -48205,7 +48924,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *85 - - &361 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48239,7 +48958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *85 - - *361 + - *363 - *17 - *19 responses: @@ -48251,7 +48970,7 @@ paths: type: array items: *305 examples: - default: &376 + default: &378 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48294,7 +49013,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -48382,9 +49101,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48417,7 +49136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *85 - - &364 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48473,9 +49192,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *7 x-github: @@ -48500,7 +49219,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *85 - - *364 + - *366 responses: '204': description: Response @@ -48563,7 +49282,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -48594,7 +49313,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *368 headers: Link: *45 '404': *6 @@ -48753,9 +49472,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *35 '500': *38 '401': *23 @@ -48782,7 +49501,7 @@ paths: parameters: - *85 - *137 - - &369 + - &371 name: codespace_name in: path required: true @@ -48817,15 +49536,15 @@ paths: parameters: - *85 - *137 - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &546 + default: &549 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49081,7 +49800,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Org Membership description: Org Membership type: object @@ -49150,7 +49869,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &371 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49251,9 +49970,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *27 x-github: @@ -49325,7 +50044,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Migration description: A migration. type: object @@ -49663,7 +50382,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -49842,7 +50561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *85 - - &373 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -49870,7 +50589,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -50040,7 +50759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *85 - - *373 + - *375 responses: '302': description: Response @@ -50062,7 +50781,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *85 - - *373 + - *375 responses: '204': description: Response @@ -50086,8 +50805,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *85 - - *373 - - &791 + - *375 + - &793 name: repo_name description: repo_name parameter in: path @@ -50115,7 +50834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *85 - - *373 + - *375 - *17 - *19 responses: @@ -50127,7 +50846,7 @@ paths: type: array items: *276 examples: - default: &383 + default: &385 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50338,7 +51057,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &376 title: Organization Role description: Organization roles type: object @@ -50547,7 +51266,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -50777,7 +51496,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -50874,7 +51593,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -51033,7 +51752,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *377 type: description: The ownership type of the team type: string @@ -51066,7 +51785,7 @@ paths: - type - parent examples: - default: *376 + default: *378 headers: Link: *45 '404': @@ -51125,7 +51844,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *375 + items: *377 name: type: - string @@ -51435,7 +52154,7 @@ paths: - nuget - container - *85 - - &792 + - &794 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -51471,12 +52190,12 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *378 + default: *380 '403': *27 '401': *23 - '400': &794 + '400': &796 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51498,7 +52217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &379 + - &381 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 @@ -51516,7 +52235,7 @@ paths: - docker - nuget - container - - &380 + - &382 name: package_name description: The name of the package. in: path @@ -51529,7 +52248,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -51581,8 +52300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *379 - - *380 + - *381 + - *382 - *85 responses: '204': @@ -51615,8 +52334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *379 - - *380 + - *381 + - *382 - *85 - name: token description: package token @@ -51649,8 +52368,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: - - *379 - - *380 + - *381 + - *382 - *85 - *19 - *17 @@ -51671,7 +52390,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Package Version description: A version of a software package type: object @@ -51806,10 +52525,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: - - *379 - - *380 + - *381 + - *382 - *85 - - &382 + - &384 name: package_version_id description: Unique identifier of the package version. in: path @@ -51821,7 +52540,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -51857,10 +52576,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *379 - - *380 - - *85 + - *381 - *382 + - *85 + - *384 responses: '204': description: Response @@ -51892,10 +52611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *379 - - *380 - - *85 + - *381 - *382 + - *85 + - *384 responses: '204': description: Response @@ -51925,7 +52644,7 @@ paths: - *85 - *17 - *19 - - &384 + - &386 name: sort description: The property by which to sort the results. in: query @@ -51936,7 +52655,7 @@ paths: - created_at default: created_at - *108 - - &385 + - &387 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -51948,7 +52667,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &386 + - &388 name: repository description: The name of the repository to use to filter the results. in: query @@ -51957,7 +52676,7 @@ paths: type: string examples: - Hello-World - - &387 + - &389 name: permission description: The permission to use to filter the results. in: query @@ -51966,7 +52685,7 @@ paths: type: string examples: - issues_read - - &388 + - &390 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) @@ -51976,7 +52695,7 @@ paths: schema: type: string format: date-time - - &389 + - &391 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) @@ -51986,7 +52705,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 name: token_id description: The ID of the token in: query @@ -52305,7 +53024,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -52331,14 +53050,14 @@ paths: - *85 - *17 - *19 - - *384 - - *108 - - *385 - *386 + - *108 - *387 - *388 - *389 - *390 + - *391 + - *392 responses: '500': *38 '422': *15 @@ -52622,7 +53341,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -52664,7 +53383,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &393 title: Organization private registry description: Private registry configuration for an organization type: object @@ -52960,7 +53679,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &394 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53058,9 +53777,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -53228,7 +53947,7 @@ paths: application/json: schema: type: array - items: &393 + items: &395 title: Projects v2 Project description: A projects v2 project type: object @@ -53302,7 +54021,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &882 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53387,7 +54106,7 @@ paths: - deleted_at - deleted_by examples: - default: &394 + default: &396 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53490,7 +54209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &395 + - &397 name: project_number description: The project's number. in: path @@ -53503,9 +54222,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -53528,7 +54247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true description: Details of the draft item to create in the project. @@ -53562,7 +54281,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Projects v2 Item description: An item belonging to a project type: object @@ -53576,7 +54295,7 @@ paths: content: oneOf: - *217 - - &561 + - &564 title: Pull Request Simple description: Pull Request Simple type: object @@ -53696,7 +54415,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 active_lock_reason: type: - string @@ -53795,7 +54514,7 @@ paths: _links: type: object properties: - comments: &397 + comments: &399 title: Link description: Hypermedia Link type: object @@ -53804,13 +54523,13 @@ paths: type: string required: - href - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -53821,7 +54540,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &673 + auto_merge: &676 title: Auto merge description: The status of auto merging a pull request. type: @@ -53923,7 +54642,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &399 + content_type: &401 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -53967,7 +54686,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &401 + draft_issue: &403 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54041,7 +54760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *395 + - *397 - *85 - *17 - *106 @@ -54053,7 +54772,7 @@ paths: application/json: schema: type: array - items: &398 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54203,7 +54922,7 @@ paths: - updated_at - project_url examples: - default: &813 + default: &815 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54333,7 +55052,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: - - *395 + - *397 - *85 requestBody: required: true @@ -54380,7 +55099,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &814 + items: &816 type: object properties: name: @@ -54417,7 +55136,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &815 + iteration_configuration: &817 type: object description: The configuration for iteration fields. properties: @@ -54467,7 +55186,7 @@ paths: value: name: Due date data_type: date - single_select_field: &816 + single_select_field: &818 summary: Create a single select field value: name: Priority @@ -54494,7 +55213,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &817 + iteration_field: &819 summary: Create an iteration field value: name: Sprint @@ -54518,9 +55237,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *398 + schema: *400 examples: - text_field: &818 + text_field: &820 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54529,7 +55248,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: &819 + number_field: &821 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54538,7 +55257,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: &820 + date_field: &822 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54547,7 +55266,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: &821 + single_select_field: &823 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54581,7 +55300,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &822 + iteration_field: &824 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54626,8 +55345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *395 - - &823 + - *397 + - &825 name: field_id description: The unique identifier of the field. in: path @@ -54640,9 +55359,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &824 + default: &826 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54698,7 +55417,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: - - *395 + - *397 - *85 - 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) @@ -54731,7 +55450,7 @@ paths: application/json: schema: type: array - items: &402 + items: &404 title: Projects v2 Item description: An item belonging to a project type: object @@ -54748,7 +55467,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *399 + content_type: *401 content: type: - object @@ -54798,7 +55517,7 @@ paths: - updated_at - archived_at examples: - default: &403 + default: &405 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55496,7 +56215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55566,22 +56285,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *403 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *403 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *403 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *403 '304': *35 '403': *27 '401': *23 @@ -55601,9 +56320,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: - - *395 + - *397 - *85 - - &404 + - &406 name: item_id description: The unique identifier of the project item. in: path @@ -55629,9 +56348,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -55652,9 +56371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *395 + - *397 - *85 - - *404 + - *406 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55727,13 +56446,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *405 + number_field: *405 + date_field: *405 + single_select_field: *405 + iteration_field: *405 '401': *23 '403': *27 '404': *6 @@ -55753,9 +56472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *395 + - *397 - *85 - - *404 + - *406 responses: '204': description: Response @@ -55779,7 +56498,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *85 - - *395 + - *397 requestBody: required: true content: @@ -55853,7 +56572,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &805 + schema: &807 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -55957,7 +56676,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &405 + value: &407 value: id: 1 number: 1 @@ -56003,10 +56722,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *405 + value: *407 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *407 '304': *35 '403': *27 '401': *23 @@ -56034,9 +56753,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: - - *395 + - *397 - *85 - - &825 + - &827 name: view_number description: The number that identifies the project view. in: path @@ -56068,9 +56787,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -56234,7 +56953,7 @@ paths: required: true content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -56602,7 +57321,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -56806,7 +57525,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &451 title: Full Repository description: Full Repository type: object @@ -57284,7 +58003,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &566 + code_of_conduct: &569 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -57314,7 +58033,7 @@ paths: - key - name - html_url - security_and_analysis: *407 + security_and_analysis: *409 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57398,7 +58117,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &453 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57924,9 +58643,9 @@ paths: application/json: schema: type: array - items: *408 + items: *410 examples: - default: *409 + default: *411 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57951,7 +58670,7 @@ paths: - *85 - *17 - *19 - - &695 + - &698 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58043,11 +58762,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *412 rules: type: array description: An array of rules within the ruleset. - items: &412 + items: &414 title: Repository Rule type: object description: A repository rule. @@ -58112,7 +58831,7 @@ paths: application/json: schema: *185 examples: - default: &411 + default: &413 value: id: 21 name: super cool ruleset @@ -58152,6 +58871,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *38 "/orgs/{org}/rulesets/rule-suites": get: @@ -58167,7 +58887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &697 + - &700 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 @@ -58179,14 +58899,14 @@ paths: x-multi-segment: true - *302 - *103 - - &698 + - &701 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 - - &699 + - &702 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58206,7 +58926,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 title: Rule Suites description: Response type: array @@ -58262,7 +58982,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &701 + default: &704 value: - id: 21 actor_id: 12 @@ -58306,7 +59026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &702 + - &705 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58322,7 +59042,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &706 title: Rule Suite description: Response type: object @@ -58429,7 +59149,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &704 + default: &707 value: id: 21 actor_id: 12 @@ -58504,7 +59224,7 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *413 '404': *6 '500': *38 put: @@ -58553,11 +59273,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *412 rules: description: An array of rules within the ruleset. type: array - items: *412 + items: *414 examples: default: value: @@ -58594,8 +59314,9 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *413 '404': *6 + '422': *15 '500': *38 delete: summary: Delete an organization repository ruleset @@ -58653,7 +59374,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *415 '404': *6 '500': *38 x-github: @@ -58690,7 +59411,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -58753,15 +59474,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *85 - - *415 - - *416 - *417 - *418 - *419 + - *420 + - *421 - *108 - *19 - *17 - - &706 + - &709 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 @@ -58771,7 +59492,7 @@ paths: required: false schema: type: string - - &707 + - &710 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 @@ -58781,10 +59502,10 @@ paths: required: false schema: type: string - - *420 - - *421 - *422 - *423 + - *424 + - *425 responses: '200': description: Response @@ -58792,9 +59513,9 @@ paths: application/json: schema: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *45 '404': *6 @@ -58829,9 +59550,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 '403': *27 '404': *6 patch: @@ -58984,7 +59705,7 @@ paths: application/json: schema: type: array - items: &728 + items: &731 description: A repository security advisory. type: object properties: @@ -59228,7 +59949,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 credits_detailed: type: - array @@ -59239,7 +59960,7 @@ paths: type: object properties: user: *4 - type: *428 + type: *430 state: type: string description: The state of the user's acceptance of the @@ -59303,7 +60024,7 @@ paths: - private_fork additionalProperties: false examples: - default: &729 + default: &732 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59690,7 +60411,7 @@ paths: application/json: schema: type: array - items: *375 + items: *377 examples: default: value: @@ -59789,7 +60510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *85 - - *429 + - *431 - *17 - *19 responses: @@ -59797,9 +60518,9 @@ paths: description: Success content: application/json: - schema: *430 + schema: *432 examples: - default: *431 + default: *433 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60082,7 +60803,7 @@ paths: type: array items: *142 examples: - default: *432 + default: *434 headers: Link: *45 x-github: @@ -60285,15 +61006,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: - *85 - - *433 + - *435 responses: '200': description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: *435 + default: *437 headers: Link: *45 x-github: @@ -60331,7 +61052,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &448 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60383,7 +61104,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &446 + default: &449 value: groups: - group_id: '123' @@ -60497,7 +61218,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 headers: Link: *45 '403': *27 @@ -60591,7 +61312,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60665,7 +61386,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *377 members_count: type: integer examples: @@ -60990,7 +61711,7 @@ paths: - repos_count - organization examples: - default: &437 + default: &439 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61067,9 +61788,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -61154,16 +61875,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '201': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 '422': *15 '403': *27 @@ -61193,6 +61914,9 @@ paths: responses: '204': description: Response + '422': &442 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61219,9 +61943,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61265,9 +61990,10 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61291,6 +62017,7 @@ paths: responses: '204': description: Response + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61322,11 +62049,12 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 + '422': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61408,7 +62136,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &445 title: Team Membership description: Team Membership type: object @@ -61436,7 +62164,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &774 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61499,9 +62227,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &775 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61577,7 +62305,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -61608,14 +62336,14 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &774 + schema: &776 title: Team Repository description: A team's access to a repository. type: object @@ -62258,8 +62986,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -62306,8 +63034,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -62340,9 +63068,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62408,7 +63137,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: default: value: @@ -62420,6 +63149,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62453,7 +63183,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: &775 + response-if-child-teams-exist: &777 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62607,7 +63337,7 @@ paths: resources: type: object properties: - core: &447 + core: &450 title: Rate Limit type: object properties: @@ -62624,21 +63354,21 @@ paths: - remaining - reset - used - graphql: *447 - search: *447 - code_search: *447 - source_import: *447 - integration_manifest: *447 - code_scanning_upload: *447 - actions_runner_registration: *447 - scim: *447 - dependency_snapshots: *447 - dependency_sbom: *447 - code_scanning_autofix: *447 + graphql: *450 + search: *450 + code_search: *450 + source_import: *450 + integration_manifest: *450 + code_scanning_upload: *450 + actions_runner_registration: *450 + scim: *450 + dependency_snapshots: *450 + dependency_sbom: *450 + code_scanning_autofix: *450 required: - core - search - rate: *447 + rate: *450 required: - rate - resources @@ -62743,14 +63473,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *448 + schema: *451 examples: default-response: summary: Default response @@ -63259,7 +63989,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *449 + '301': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63277,8 +64007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -63580,10 +64310,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 - '307': &451 + default: *453 + '307': &454 description: Temporary Redirect content: application/json: @@ -63612,8 +64342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -63635,7 +64365,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': *451 + '307': *454 '404': *6 '409': *117 x-github: @@ -63659,11 +64389,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - - &468 + - &471 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63686,7 +64416,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &455 title: Artifact description: An artifact type: object @@ -63781,7 +64511,7 @@ paths: - expires_at - updated_at examples: - default: &469 + default: &472 value: total_count: 2 artifacts: @@ -63842,9 +64572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *443 - - *444 - - &453 + - *446 + - *447 + - &456 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63856,7 +64586,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *455 examples: default: value: @@ -63894,9 +64624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *443 - - *444 - - *453 + - *446 + - *447 + - *456 responses: '204': description: Response @@ -63920,9 +64650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *443 - - *444 - - *453 + - *446 + - *447 + - *456 - name: archive_format in: path required: true @@ -63936,7 +64666,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': &630 + '410': &633 description: Gone content: application/json: @@ -63961,14 +64691,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &454 + schema: &457 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64002,13 +64732,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *454 + schema: *457 examples: selected_actions: *42 responses: @@ -64037,14 +64767,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &455 + schema: &458 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64078,13 +64808,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *455 + schema: *458 examples: selected_actions: *44 responses: @@ -64115,14 +64845,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *456 + schema: *459 examples: default: value: @@ -64148,11 +64878,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: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - - &457 + - &460 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 @@ -64186,7 +64916,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &461 title: Repository actions caches description: Repository actions caches type: object @@ -64236,7 +64966,7 @@ paths: - total_count - actions_caches examples: - default: &459 + default: &462 value: total_count: 1 actions_caches: @@ -64268,23 +64998,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: - - *443 - - *444 + - *446 + - *447 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *457 + - *460 responses: '200': description: Response content: application/json: - schema: *458 + schema: *461 examples: - default: *459 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64304,8 +65034,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: - - *443 - - *444 + - *446 + - *447 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64336,9 +65066,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: - - *443 - - *444 - - &460 + - *446 + - *447 + - &463 name: job_id description: The unique identifier of the job. in: path @@ -64350,7 +65080,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &475 title: Job description: Information of a job execution in a workflow run type: object @@ -64697,9 +65427,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: - - *443 - - *444 - - *460 + - *446 + - *447 + - *463 responses: '302': description: Response @@ -64727,9 +65457,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: - - *443 - - *444 - - *460 + - *446 + - *447 + - *463 requestBody: required: false content: @@ -64775,8 +65505,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Status response @@ -64826,8 +65556,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -64890,8 +65620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -64909,7 +65639,7 @@ paths: type: integer secrets: type: array - items: &474 + items: &477 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64930,7 +65660,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &478 value: total_count: 2 secrets: @@ -64963,9 +65693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *443 - - *444 - - *461 + - *446 + - *447 + - *464 - *19 responses: '200': @@ -64982,7 +65712,7 @@ paths: type: integer variables: type: array - items: &478 + items: &481 title: Actions Variable type: object properties: @@ -65016,7 +65746,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &482 value: total_count: 2 variables: @@ -65049,8 +65779,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65059,7 +65789,7 @@ paths: schema: type: object properties: - enabled: &462 + enabled: &465 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65094,8 +65824,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65106,7 +65836,7 @@ paths: schema: type: object properties: - enabled: *462 + enabled: *465 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65139,14 +65869,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &463 + schema: &466 type: object properties: access_level: @@ -65164,7 +65894,7 @@ paths: required: - access_level examples: - default: &464 + default: &467 value: access_level: organization x-github: @@ -65189,15 +65919,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 responses: '204': description: Response @@ -65221,8 +65951,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65252,8 +65982,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Empty response for successful settings update @@ -65287,8 +66017,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65315,8 +66045,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65350,8 +66080,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65379,8 +66109,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -65411,8 +66141,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65443,8 +66173,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -65476,8 +66206,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65506,8 +66236,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Success response @@ -65547,8 +66277,8 @@ paths: in: query schema: type: string - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -65592,8 +66322,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -65625,8 +66355,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -65700,8 +66430,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: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -65737,8 +66467,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: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -65768,8 +66498,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': @@ -65799,8 +66529,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '204': @@ -65827,8 +66557,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': *79 @@ -65853,8 +66583,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: - - *443 - - *444 + - *446 + - *447 - *73 requestBody: required: true @@ -65903,8 +66633,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: - - *443 - - *444 + - *446 + - *447 - *73 requestBody: required: true @@ -65954,8 +66684,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: - - *443 - - *444 + - *446 + - *447 - *73 responses: '200': *283 @@ -65985,8 +66715,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: - - *443 - - *444 + - *446 + - *447 - *73 - *284 responses: @@ -66016,9 +66746,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: - - *443 - - *444 - - &482 + - *446 + - *447 + - &485 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. @@ -66026,7 +66756,7 @@ paths: required: false schema: type: string - - &483 + - &486 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66034,7 +66764,7 @@ paths: required: false schema: type: string - - &484 + - &487 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -66043,7 +66773,7 @@ paths: required: false schema: type: string - - &485 + - &488 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 @@ -66070,7 +66800,7 @@ paths: - pending - *17 - *19 - - &486 + - &489 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)." @@ -66079,7 +66809,7 @@ paths: schema: type: string format: date-time - - &465 + - &468 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66088,13 +66818,13 @@ paths: schema: type: boolean default: false - - &487 + - &490 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &488 + - &491 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66117,7 +66847,7 @@ paths: type: integer workflow_runs: type: array - items: &466 + items: &469 title: Workflow Run description: An invocation of a workflow type: object @@ -66295,7 +67025,7 @@ paths: head_commit: anyOf: - type: 'null' - - &510 + - &513 title: Simple Commit description: A commit. type: object @@ -66410,7 +67140,7 @@ paths: - workflow_url - pull_requests examples: - default: &489 + default: &492 value: total_count: 1 workflow_runs: @@ -66646,24 +67376,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *443 - - *444 - - &467 + - *446 + - *447 + - &470 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *465 + - *468 responses: '200': description: Response content: application/json: - schema: *466 + schema: *469 examples: - default: &470 + default: &473 value: id: 30433642 name: Build @@ -66904,9 +67634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '204': description: Response @@ -66929,9 +67659,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -67059,9 +67789,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '201': description: Response @@ -67094,12 +67824,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 - *17 - *19 - - *468 + - *471 responses: '200': description: Response @@ -67115,9 +67845,9 @@ paths: type: integer artifacts: type: array - items: *452 + items: *455 examples: - default: *469 + default: *472 headers: Link: *45 x-github: @@ -67141,25 +67871,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *443 - - *444 - - *467 - - &471 + - *446 + - *447 + - *470 + - &474 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *465 + - *468 responses: '200': description: Response content: application/json: - schema: *466 + schema: *469 examples: - default: *470 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67182,10 +67912,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: - - *443 - - *444 - - *467 - - *471 + - *446 + - *447 + - *470 + - *474 - *17 - *19 responses: @@ -67203,9 +67933,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *475 examples: - default: &473 + default: &476 value: total_count: 1 jobs: @@ -67318,10 +68048,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *443 - - *444 - - *467 - - *471 + - *446 + - *447 + - *470 + - *474 responses: '302': description: Response @@ -67349,9 +68079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '202': description: Response @@ -67384,9 +68114,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: true content: @@ -67453,9 +68183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '202': description: Response @@ -67488,9 +68218,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 - 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 @@ -67520,9 +68250,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *475 examples: - default: *473 + default: *476 headers: Link: *45 x-github: @@ -67547,9 +68277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '302': description: Response @@ -67576,9 +68306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '204': description: Response @@ -67605,9 +68335,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -67676,7 +68406,7 @@ paths: items: type: object properties: - type: &597 + type: &600 type: string description: The type of reviewer. enum: @@ -67762,9 +68492,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: true content: @@ -67814,7 +68544,7 @@ paths: application/json: schema: type: array - items: &582 + items: &585 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67926,7 +68656,7 @@ paths: - created_at - updated_at examples: - default: &583 + default: &586 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67982,9 +68712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: false content: @@ -68029,9 +68759,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: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 requestBody: required: false content: @@ -68086,9 +68816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *443 - - *444 - - *467 + - *446 + - *447 + - *470 responses: '200': description: Response @@ -68225,8 +68955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -68244,9 +68974,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *477 examples: - default: *475 + default: *478 headers: Link: *45 x-github: @@ -68271,16 +69001,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,17 +69032,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *477 examples: - default: &610 + default: &613 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68338,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -68397,8 +69127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -68424,9 +69154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *443 - - *444 - - *461 + - *446 + - *447 + - *464 - *19 responses: '200': @@ -68443,9 +69173,9 @@ paths: type: integer variables: type: array - items: *478 + items: *481 examples: - default: *479 + default: *482 headers: Link: *45 x-github: @@ -68468,8 +69198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -68521,17 +69251,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: &611 + default: &614 value: name: USERNAME value: octocat @@ -68557,8 +69287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 requestBody: required: true @@ -68601,8 +69331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 responses: '204': @@ -68628,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -68647,7 +69377,7 @@ paths: type: integer workflows: type: array - items: &480 + items: &483 title: Workflow description: A GitHub Actions workflow type: object @@ -68765,9 +69495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *443 - - *444 - - &481 + - *446 + - *447 + - &484 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68782,7 +69512,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *483 examples: default: value: @@ -68815,9 +69545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Response @@ -68842,9 +69572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68931,9 +69661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '204': description: Response @@ -68960,19 +69690,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: - - *443 - - *444 - - *481 - - *482 - - *483 + - *446 + - *447 - *484 - *485 - - *17 - - *19 - *486 - - *465 - *487 - *488 + - *17 + - *19 + - *489 + - *468 + - *490 + - *491 responses: '200': description: Response @@ -68988,9 +69718,9 @@ paths: type: integer workflow_runs: type: array - items: *466 + items: *469 examples: - default: *489 + default: *492 headers: Link: *45 x-github: @@ -69023,9 +69753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *443 - - *444 - - *481 + - *446 + - *447 + - *484 responses: '200': description: Response @@ -69086,8 +69816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *443 - - *444 + - *446 + - *447 - *108 - *17 - *106 @@ -69255,8 +69985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -69293,8 +70023,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: - - *443 - - *444 + - *446 + - *447 - name: assignee in: path required: true @@ -69330,8 +70060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -69443,8 +70173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *106 - *107 @@ -69501,7 +70231,7 @@ paths: initiator: type: string examples: - default: *490 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69521,8 +70251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -69530,7 +70260,7 @@ paths: application/json: schema: type: array - items: &491 + items: &494 title: Autolink reference description: An autolink reference. type: object @@ -69589,8 +70319,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -69629,9 +70359,9 @@ paths: description: response content: application/json: - schema: *491 + schema: *494 examples: - default: &492 + default: &495 value: id: 1 key_prefix: TICKET- @@ -69662,9 +70392,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: - - *443 - - *444 - - &493 + - *446 + - *447 + - &496 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69676,9 +70406,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *494 examples: - default: *492 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -69698,9 +70428,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: - - *443 - - *444 - - *493 + - *446 + - *447 + - *496 responses: '204': description: Response @@ -69724,8 +70454,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response if Dependabot is enabled @@ -69775,8 +70505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -69797,8 +70527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -69818,8 +70548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *443 - - *444 + - *446 + - *447 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69857,7 +70587,7 @@ paths: - url protected: type: boolean - protection: &495 + protection: &498 title: Branch Protection description: Branch Protection type: object @@ -69900,7 +70630,7 @@ paths: required: - contexts - checks - enforce_admins: &498 + enforce_admins: &501 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69917,7 +70647,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &500 + required_pull_request_reviews: &503 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70001,7 +70731,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &497 + restrictions: &500 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70294,9 +71024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *443 - - *444 - - &496 + - *446 + - *447 + - &499 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). @@ -70310,14 +71040,14 @@ paths: description: Response content: application/json: - schema: &506 + schema: &509 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &557 + commit: &560 title: Commit description: Commit type: object @@ -70356,7 +71086,7 @@ paths: author: anyOf: - type: 'null' - - &494 + - &497 title: Git User description: Metaproperties for Git author/committer information. @@ -70378,7 +71108,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 message: type: string examples: @@ -70402,7 +71132,7 @@ paths: required: - sha - url - verification: &617 + verification: &620 title: Verification type: object properties: @@ -70482,7 +71212,7 @@ paths: type: integer files: type: array - items: &568 + items: &571 title: Diff Entry description: Diff Entry type: object @@ -70578,7 +71308,7 @@ paths: - self protected: type: boolean - protection: *495 + protection: *498 protection_url: type: string format: uri @@ -70687,7 +71417,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *452 '404': *6 x-github: githubCloudOnly: false @@ -70709,15 +71439,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: default: value: @@ -70911,9 +71641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -71173,7 +71903,7 @@ paths: url: type: string format: uri - required_status_checks: &503 + required_status_checks: &506 title: Status Check Policy description: Status Check Policy type: object @@ -71332,7 +72062,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *497 + restrictions: *500 required_conversation_resolution: type: object properties: @@ -71444,9 +72174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71471,17 +72201,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &499 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71503,17 +72233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *499 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71532,9 +72262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71559,17 +72289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *500 + schema: *503 examples: - default: &501 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71665,9 +72395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -71765,9 +72495,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *503 examples: - default: *501 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -71788,9 +72518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71817,17 +72547,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: &502 + default: &505 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71850,17 +72580,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *501 examples: - default: *502 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -71880,9 +72610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -71907,17 +72637,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: &504 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71943,9 +72673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -71997,9 +72727,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: - default: *504 + default: *507 '404': *6 '422': *15 x-github: @@ -72021,9 +72751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -72047,9 +72777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72083,9 +72813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72152,9 +72882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72218,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: content: application/json: @@ -72286,15 +73016,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72385,9 +73115,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '204': description: Response @@ -72410,9 +73140,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72422,7 +73152,7 @@ paths: type: array items: *5 examples: - default: &505 + default: &508 value: - id: 1 slug: octoapp @@ -72479,9 +73209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72515,7 +73245,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72536,9 +73266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72572,7 +73302,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72593,9 +73323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72629,7 +73359,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -72651,9 +73381,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72663,7 +73393,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -72683,9 +73413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72723,7 +73453,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72744,9 +73474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: false content: @@ -72784,7 +73514,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72805,9 +73535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: content: application/json: @@ -72844,7 +73574,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 '422': *15 x-github: githubCloudOnly: false @@ -72866,9 +73596,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: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 responses: '200': description: Response @@ -72902,9 +73632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -72962,9 +73692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73022,9 +73752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73084,9 +73814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 requestBody: required: true content: @@ -73108,7 +73838,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: default: value: @@ -73222,8 +73952,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 @@ -73259,8 +73989,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73333,8 +74063,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 @@ -73374,8 +74104,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73445,8 +74175,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_request_number in: path required: true @@ -73517,8 +74247,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *446 + - *447 - name: bypass_response_id in: path required: true @@ -73551,8 +74281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -73831,7 +74561,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &510 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73967,7 +74697,7 @@ paths: check. type: array items: *220 - deployment: &836 + deployment: &838 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74254,9 +74984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *443 - - *444 - - &508 + - *446 + - *447 + - &511 name: check_run_id description: The unique identifier of the check run. in: path @@ -74268,9 +74998,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *510 examples: - default: &509 + default: &512 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74370,9 +75100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 requestBody: required: true content: @@ -74612,9 +75342,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *510 examples: - default: *509 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74634,9 +75364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 - *17 - *19 responses: @@ -74746,9 +75476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *443 - - *444 - - *508 + - *446 + - *447 + - *511 responses: '201': description: Response @@ -74792,8 +75522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -74815,7 +75545,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &514 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74913,7 +75643,7 @@ paths: - string - 'null' format: date-time - head_commit: *510 + head_commit: *513 latest_check_runs_count: type: integer check_runs_url: @@ -74941,7 +75671,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &515 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75232,9 +75962,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75253,8 +75983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -75563,9 +76293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *443 - - *444 - - &513 + - *446 + - *447 + - &516 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75577,9 +76307,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75602,17 +76332,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: - - *443 - - *444 - - *513 - - &563 + - *446 + - *447 + - *516 + - &566 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &564 + - &567 name: status description: Returns check runs with the specified `status`. in: query @@ -75651,9 +76381,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *510 examples: - default: &565 + default: &568 value: total_count: 1 check_runs: @@ -75755,9 +76485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *443 - - *444 - - *513 + - *446 + - *447 + - *516 responses: '201': description: Response @@ -75790,21 +76520,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: - - *443 - - *444 + - *446 + - *447 - *309 - *310 - *19 - *17 - - &529 + - &532 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: *514 - - &530 + schema: *517 + - &533 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75835,7 +76565,7 @@ paths: be returned. in: query required: false - schema: *515 + schema: *518 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75859,7 +76589,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *519 state: *111 fixed_at: *134 dismissed_by: @@ -75867,11 +76597,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_reason: *520 + dismissed_comment: *521 + rule: *522 + tool: *523 + most_recent_instance: *524 dismissal_approved_by: anyOf: - type: 'null' @@ -75994,7 +76724,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &522 + '403': &525 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76021,9 +76751,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: - - *443 - - *444 - - &523 + - *446 + - *447 + - &526 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76037,7 +76767,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 type: object properties: number: *124 @@ -76045,7 +76775,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *519 state: *111 fixed_at: *134 dismissed_by: @@ -76053,8 +76783,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *520 + dismissed_comment: *521 rule: type: object properties: @@ -76116,8 +76846,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *523 + most_recent_instance: *524 dismissal_approved_by: anyOf: - type: 'null' @@ -76213,7 +76943,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76233,9 +76963,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: true content: @@ -76250,8 +76980,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *520 + dismissed_comment: *521 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76279,7 +77009,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -76355,7 +77085,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &531 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76382,15 +77112,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 responses: '200': description: Response content: application/json: - schema: &525 + schema: &528 type: object properties: status: @@ -76417,13 +77147,13 @@ paths: - description - started_at examples: - default: &526 + default: &529 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &530 description: Bad Request content: application/json: @@ -76434,7 +77164,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': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76459,29 +77189,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 responses: '200': description: OK content: application/json: - schema: *525 + schema: *528 examples: - default: *526 + default: *529 '202': description: Accepted content: application/json: - schema: *525 + schema: *528 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *530 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76513,9 +77243,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: false content: @@ -76561,8 +77291,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *530 + '403': *531 '404': *6 '422': description: Unprocessable Entity @@ -76586,13 +77316,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 - *19 - *17 - - *529 - - *530 + - *532 + - *533 responses: '200': description: Response @@ -76603,10 +77333,10 @@ paths: items: type: object properties: - ref: *514 - analysis_key: *531 - environment: *532 - category: *533 + ref: *517 + analysis_key: *534 + environment: *535 + category: *536 state: type: - string @@ -76623,7 +77353,7 @@ paths: properties: text: type: string - location: *534 + location: *537 html_url: type: string classifications: @@ -76631,7 +77361,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: *535 + items: *538 examples: default: value: @@ -76668,7 +77398,7 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76702,25 +77432,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: - - *443 - - *444 + - *446 + - *447 - *309 - *310 - *19 - *17 - - *530 + - *533 - 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: *514 + schema: *517 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &536 + schema: &539 type: string description: An identifier for the upload. examples: @@ -76742,23 +77472,23 @@ paths: application/json: schema: type: array - items: &537 + items: &540 type: object properties: - ref: *514 - commit_sha: &545 + ref: *517 + commit_sha: &548 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: *531 + analysis_key: *534 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *533 + category: *536 error: type: string examples: @@ -76783,8 +77513,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *536 - tool: *520 + sarif_id: *539 + tool: *523 deletable: type: boolean warning: @@ -76846,7 +77576,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -76882,8 +77612,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: - - *443 - - *444 + - *446 + - *447 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76896,7 +77626,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: response: summary: application/json response @@ -76950,7 +77680,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *525 '404': *6 '422': description: Response if analysis could not be processed @@ -77037,8 +77767,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: - - *443 - - *444 + - *446 + - *447 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77094,7 +77824,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': *528 + '403': *531 '404': *6 '503': *190 x-github: @@ -77116,8 +77846,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -77125,7 +77855,7 @@ paths: application/json: schema: type: array - items: &538 + items: &541 title: CodeQL Database description: A CodeQL database. type: object @@ -77237,7 +77967,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': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -77266,8 +77996,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: - - *443 - - *444 + - *446 + - *447 - name: language in: path description: The language of the CodeQL database. @@ -77279,7 +78009,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *541 examples: default: value: @@ -77311,9 +78041,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': &570 + '302': &573 description: Found - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -77335,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *443 - - *444 + - *446 + - *447 - name: language in: path description: The language of the CodeQL database. @@ -77346,7 +78076,7 @@ paths: responses: '204': description: Response - '403': *528 + '403': *531 '404': *6 '503': *190 x-github: @@ -77374,8 +78104,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -77384,7 +78114,7 @@ paths: type: object additionalProperties: false properties: - language: &539 + language: &542 type: string description: The language targeted by the CodeQL query enum: @@ -77464,7 +78194,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &543 + schema: &546 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77474,7 +78204,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *539 + query_language: *542 query_pack_url: type: string description: The download url for the query pack. @@ -77522,7 +78252,7 @@ paths: items: type: object properties: - repository: &540 + repository: &543 title: Repository Identifier description: Repository Identifier type: object @@ -77564,7 +78294,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &544 + analysis_status: &547 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77596,7 +78326,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &541 + access_mismatch_repos: &544 type: object properties: repository_count: @@ -77611,7 +78341,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: *540 + items: *543 required: - repository_count - repositories @@ -77634,8 +78364,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *541 - over_limit_repos: *541 + no_codeql_db_repos: *544 + over_limit_repos: *544 required: - access_mismatch_repos - not_found_repos @@ -77651,7 +78381,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &542 + value: &545 summary: Default response value: id: 1 @@ -77797,10 +78527,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *542 + value: *545 repository_lists: summary: Response for a successful variant analysis submission - value: *542 + value: *545 '404': *6 '422': description: Unable to process variant analysis submission @@ -77828,8 +78558,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: - - *443 - - *444 + - *446 + - *447 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77841,9 +78571,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *546 examples: - default: *542 + default: *545 '404': *6 '503': *190 x-github: @@ -77866,7 +78596,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: - - *443 + - *446 - name: repo in: path description: The name of the controller repository. @@ -77901,7 +78631,7 @@ paths: type: object properties: repository: *118 - analysis_status: *544 + analysis_status: *547 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78026,8 +78756,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78120,7 +78850,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *525 '404': *6 '503': *190 x-github: @@ -78141,8 +78871,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -78236,7 +78966,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *531 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78307,8 +79037,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -78316,7 +79046,7 @@ paths: schema: type: object properties: - commit_sha: *545 + commit_sha: *548 ref: type: string description: |- @@ -78376,7 +79106,7 @@ paths: schema: type: object properties: - id: *536 + id: *539 url: type: string description: The REST API URL for checking the status of the upload. @@ -78390,7 +79120,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': *528 + '403': *531 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78413,8 +79143,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: - - *443 - - *444 + - *446 + - *447 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78462,7 +79192,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': *522 + '403': *525 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -78487,8 +79217,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78569,8 +79299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *443 - - *444 + - *446 + - *447 - 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 @@ -78698,8 +79428,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -78715,7 +79445,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: default: value: @@ -79013,8 +79743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -79078,17 +79808,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '400': *14 '401': *23 '403': *27 @@ -79117,8 +79847,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -79182,8 +79912,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: - - *443 - - *444 + - *446 + - *447 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79220,9 +79950,9 @@ paths: type: integer machines: type: array - items: *547 + items: *550 examples: - default: &782 + default: &784 value: total_count: 2 machines: @@ -79262,8 +79992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *443 - - *444 + - *446 + - *447 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79350,8 +80080,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: - - *443 - - *444 + - *446 + - *447 - 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 @@ -79420,8 +80150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -79439,7 +80169,7 @@ paths: type: integer secrets: type: array - items: &551 + items: &554 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79460,7 +80190,7 @@ paths: - created_at - updated_at examples: - default: *548 + default: *551 headers: Link: *45 x-github: @@ -79483,16 +80213,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *549 + schema: *552 examples: - default: *550 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79512,17 +80242,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79542,8 +80272,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: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -79596,8 +80326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -79626,8 +80356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *443 - - *444 + - *446 + - *447 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79665,7 +80395,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 title: Collaborator description: Collaborator type: object @@ -79858,8 +80588,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: - - *443 - - *444 + - *446 + - *447 - *137 responses: '204': @@ -79906,8 +80636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *443 - - *444 + - *446 + - *447 - *137 requestBody: required: false @@ -79934,7 +80664,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &629 + schema: &632 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80162,8 +80892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *443 - - *444 + - *446 + - *447 - *137 responses: '204': @@ -80195,8 +80925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *443 - - *444 + - *446 + - *447 - *137 responses: '200': @@ -80217,7 +80947,7 @@ paths: user: anyOf: - type: 'null' - - *553 + - *556 required: - permission - role_name @@ -80271,8 +81001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -80282,7 +81012,7 @@ paths: application/json: schema: type: array - items: &554 + items: &557 title: Commit Comment description: Commit Comment type: object @@ -80340,7 +81070,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &562 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80399,17 +81129,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: &560 + default: &563 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80466,8 +81196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -80490,7 +81220,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: default: value: @@ -80541,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -80564,8 +81294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80592,7 +81322,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80636,7 +81366,7 @@ paths: - content - created_at examples: - default: &632 + default: &635 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80681,8 +81411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -80715,9 +81445,9 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: &556 + default: &559 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80746,9 +81476,9 @@ paths: description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -80770,10 +81500,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - &633 + - &636 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80828,8 +81558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *443 - - *444 + - *446 + - *447 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80885,9 +81615,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: &680 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80981,9 +81711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *443 - - *444 - - &558 + - *446 + - *447 + - &561 name: commit_sha description: The SHA of the commit. in: path @@ -81055,9 +81785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 - *17 - *19 responses: @@ -81067,9 +81797,9 @@ paths: application/json: schema: type: array - items: *554 + items: *557 examples: - default: *559 + default: *562 headers: Link: *45 x-github: @@ -81097,9 +81827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 requestBody: required: true content: @@ -81134,9 +81864,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *560 + default: *563 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81164,9 +81894,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: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 - *17 - *19 responses: @@ -81176,9 +81906,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: &672 + default: &675 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81715,11 +82445,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 - - &562 + - &565 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)" @@ -81734,9 +82464,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: &658 + default: &661 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81849,11 +82579,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: - - *443 - - *444 - - *562 - - *563 - - *564 + - *446 + - *447 + - *565 + - *566 + - *567 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81887,9 +82617,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *510 examples: - default: *565 + default: *568 headers: Link: *45 x-github: @@ -81914,9 +82644,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: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81924,7 +82654,7 @@ paths: schema: type: integer example: 1 - - *563 + - *566 - *17 - *19 responses: @@ -81942,7 +82672,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *514 examples: default: value: @@ -82142,9 +82872,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: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - *17 - *19 responses: @@ -82346,9 +83076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *443 - - *444 - - *562 + - *446 + - *447 + - *565 - *17 - *19 responses: @@ -82358,7 +83088,7 @@ paths: application/json: schema: type: array - items: &733 + items: &736 title: Status description: The status of a commit. type: object @@ -82439,7 +83169,7 @@ paths: site_admin: false headers: Link: *45 - '301': *449 + '301': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82467,8 +83197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -82501,11 +83231,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *566 + - *569 code_of_conduct_file: anyOf: - type: 'null' - - &567 + - &570 title: Community Health File type: object properties: @@ -82525,19 +83255,19 @@ paths: contributing: anyOf: - type: 'null' - - *567 + - *570 readme: anyOf: - type: 'null' - - *567 + - *570 issue_template: anyOf: - type: 'null' - - *567 + - *570 pull_request_template: anyOf: - type: 'null' - - *567 + - *570 required: - code_of_conduct - code_of_conduct_file @@ -82666,8 +83396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 - name: basehead @@ -82715,8 +83445,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *557 - merge_base_commit: *557 + base_commit: *560 + merge_base_commit: *560 status: type: string enum: @@ -82740,10 +83470,10 @@ paths: - 6 commits: type: array - items: *557 + items: *560 files: type: array - items: *568 + items: *571 required: - url - html_url @@ -83029,8 +83759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -83045,6 +83775,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 @@ -83183,7 +83930,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &569 + response-if-content-is-a-file-github-object: &572 summary: Response if content is a file value: type: file @@ -83201,7 +83948,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: @@ -83320,7 +84067,7 @@ paths: - size - type - url - - &685 + - &688 title: Content File description: Content File type: object @@ -83538,7 +84285,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *569 + response-if-content-is-a-file: *572 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83607,7 +84354,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *570 + '302': *573 '304': *35 x-github: githubCloudOnly: false @@ -83630,8 +84377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -83726,7 +84473,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &574 title: File Commit description: File Commit type: object @@ -83882,7 +84629,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: example-for-creating-a-file: value: @@ -83936,7 +84683,7 @@ paths: schema: oneOf: - *3 - - &612 + - &615 description: Repository rule violation was detected type: object properties: @@ -83957,7 +84704,7 @@ paths: items: type: object properties: - placeholder_id: &725 + placeholder_id: &728 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83989,8 +84736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *443 - - *444 + - *446 + - *447 - name: path description: path parameter in: path @@ -84051,7 +84798,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *574 examples: default: value: @@ -84106,8 +84853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *443 - - *444 + - *446 + - *447 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84231,22 +84978,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *443 - - *444 - - *324 + - *446 + - *447 - *325 - *326 - *327 + - *328 - 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 - - *328 - - *572 - *329 + - *575 - *330 + - *331 + - *332 - *108 - *106 - *107 @@ -84258,7 +85006,7 @@ paths: application/json: schema: type: array - items: &576 + items: &579 type: object description: A Dependabot alert. properties: @@ -84308,7 +85056,7 @@ paths: - direct - transitive - - security_advisory: *573 + security_advisory: *576 security_vulnerability: *128 url: *129 html_url: *130 @@ -84339,8 +85087,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *574 - dismissal_request: *575 + auto_dismissed_at: *577 + dismissal_request: *578 assignees: type: array description: The users assigned to this alert. @@ -84467,6 +85215,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: @@ -84551,6 +85318,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -84575,9 +85343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *443 - - *444 - - &577 + - *446 + - *447 + - &580 name: alert_number in: path description: |- @@ -84592,7 +85360,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84683,6 +85451,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': *35 '403': *27 '404': *6 @@ -84705,9 +85492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *443 - - *444 - - *577 + - *446 + - *447 + - *580 requestBody: required: true content: @@ -84738,8 +85525,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: @@ -84752,7 +85550,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *579 examples: default: value: @@ -84855,6 +85653,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *27 '404': *6 @@ -84881,8 +85680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -84900,7 +85699,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &583 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84954,16 +85753,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84983,15 +85782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '200': description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -85017,8 +85816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 requestBody: required: true @@ -85071,8 +85870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *446 + - *447 - *286 responses: '204': @@ -85095,8 +85894,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: - - *443 - - *444 + - *446 + - *447 - 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 @@ -85270,8 +86069,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -85531,8 +86330,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -85615,7 +86414,7 @@ paths: - version - url additionalProperties: false - metadata: &581 + metadata: &584 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85654,7 +86453,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *581 + metadata: *584 resolved: type: object description: A collection of resolved package dependencies. @@ -85668,7 +86467,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *581 + metadata: *584 relationship: type: string description: A notation of whether a dependency is requested @@ -85801,8 +86600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *443 - - *444 + - *446 + - *447 - name: sha description: The SHA recorded at creation time. in: query @@ -85843,9 +86642,9 @@ paths: application/json: schema: type: array - items: *582 + items: *585 examples: - default: *583 + default: *586 headers: Link: *45 x-github: @@ -85911,8 +86710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -85994,7 +86793,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: simple-example: summary: Simple example @@ -86067,9 +86866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *443 - - *444 - - &584 + - *446 + - *447 + - &587 name: deployment_id description: deployment_id parameter in: path @@ -86081,7 +86880,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *585 examples: default: value: @@ -86146,9 +86945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 responses: '204': description: Response @@ -86170,9 +86969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 - *17 - *19 responses: @@ -86182,7 +86981,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Deployment Status description: The status of a deployment. type: object @@ -86346,9 +87145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 requestBody: required: true content: @@ -86423,9 +87222,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86481,9 +87280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *443 - - *444 - - *584 + - *446 + - *447 + - *587 - name: status_id in: path required: true @@ -86494,9 +87293,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -86523,12 +87322,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 - - *589 + - *446 + - *447 - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86538,9 +87337,9 @@ paths: application/json: schema: type: array - items: *591 + items: *594 examples: - default: *592 + default: *595 '404': *6 '403': *27 '500': *38 @@ -86564,8 +87363,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86577,7 +87376,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *594 examples: default: value: @@ -86633,8 +87432,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86693,12 +87492,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 - - *589 + - *446 + - *447 - *590 + - *591 + - *592 + - *593 - *17 - *19 responses: @@ -86708,9 +87507,9 @@ paths: application/json: schema: type: array - items: *593 + items: *596 examples: - default: *594 + default: *597 '404': *6 '403': *27 '500': *38 @@ -86734,8 +87533,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86747,7 +87546,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -86798,8 +87597,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86837,7 +87636,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -86888,8 +87687,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86960,8 +87759,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -86994,12 +87793,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - *101 - *102 - *103 - - *335 + - *337 - *17 - *19 responses: @@ -87009,9 +87808,9 @@ paths: application/json: schema: type: array - items: *595 + items: *598 examples: - default: *596 + default: *599 '404': *6 '403': *27 '500': *38 @@ -87036,8 +87835,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -87049,7 +87848,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *598 examples: default: value: @@ -87107,8 +87906,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: alert_number in: path required: true @@ -87177,8 +87976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -87235,8 +88034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -87254,7 +88053,7 @@ paths: - 5 environments: type: array - items: &598 + items: &601 title: Environment description: Details of a deployment environment type: object @@ -87316,7 +88115,7 @@ paths: type: string examples: - wait_timer - wait_timer: &600 + wait_timer: &603 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87358,7 +88157,7 @@ paths: items: type: object properties: - type: *597 + type: *600 reviewer: anyOf: - *4 @@ -87385,7 +88184,7 @@ paths: - id - node_id - type - deployment_branch_policy: &601 + deployment_branch_policy: &604 type: - object - 'null' @@ -87502,9 +88301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *443 - - *444 - - &599 + - *446 + - *447 + - &602 name: environment_name in: path required: true @@ -87517,9 +88316,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: &602 + default: &605 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87603,9 +88402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: false content: @@ -87615,7 +88414,7 @@ paths: - object - 'null' properties: - wait_timer: *600 + wait_timer: *603 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87634,14 +88433,14 @@ paths: items: type: object properties: - type: *597 + type: *600 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *601 + deployment_branch_policy: *604 additionalProperties: false examples: default: @@ -87661,9 +88460,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *601 examples: - default: *602 + default: *605 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87687,9 +88486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 responses: '204': description: Default response @@ -87714,9 +88513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *17 - *19 responses: @@ -87735,7 +88534,7 @@ paths: - 2 branch_policies: type: array - items: &603 + items: &606 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87796,9 +88595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: true content: @@ -87846,9 +88645,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - example-wildcard: &604 + example-wildcard: &607 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87890,10 +88689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - &605 + - *446 + - *447 + - *602 + - &608 name: branch_policy_id in: path required: true @@ -87905,9 +88704,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *604 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87926,10 +88725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - *605 + - *446 + - *447 + - *602 + - *608 requestBody: required: true content: @@ -87958,9 +88757,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *606 examples: - default: *604 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87979,10 +88778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *443 - - *444 - - *599 - - *605 + - *446 + - *447 + - *602 + - *608 responses: '204': description: Response @@ -88007,9 +88806,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 responses: '200': description: List of deployment protection rules @@ -88026,7 +88825,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &606 + items: &609 title: Deployment protection rule description: Deployment protection rule type: object @@ -88048,7 +88847,7 @@ paths: for the environment. examples: - true - app: &607 + app: &610 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88151,9 +88950,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 requestBody: content: application/json: @@ -88174,9 +88973,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *606 + schema: *609 examples: - default: &608 + default: &611 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88211,9 +89010,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: - - *599 - - *444 - - *443 + - *602 + - *447 + - *446 - *19 - *17 responses: @@ -88233,7 +89032,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *607 + items: *610 examples: default: value: @@ -88268,10 +89067,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: - - *443 - - *444 - - *599 - - &609 + - *446 + - *447 + - *602 + - &612 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88283,9 +89082,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: - default: *608 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88306,10 +89105,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: - - *599 - - *444 - - *443 - - *609 + - *602 + - *447 + - *446 + - *612 responses: '204': description: Response @@ -88335,9 +89134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *17 - *19 responses: @@ -88355,9 +89154,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *477 examples: - default: *475 + default: *478 headers: Link: *45 x-github: @@ -88382,17 +89181,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 responses: '200': description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88414,18 +89213,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *477 examples: - default: *610 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +89246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 requestBody: required: true @@ -88507,9 +89306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *286 responses: '204': @@ -88535,10 +89334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *443 - - *444 - - *599 - - *461 + - *446 + - *447 + - *602 + - *464 - *19 responses: '200': @@ -88555,9 +89354,9 @@ paths: type: integer variables: type: array - items: *478 + items: *481 examples: - default: *479 + default: *482 headers: Link: *45 x-github: @@ -88580,9 +89379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 requestBody: required: true content: @@ -88634,18 +89433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *443 - - *444 - - *599 + - *446 + - *447 + - *602 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: *611 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88666,10 +89465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 - - *599 + - *602 requestBody: required: true content: @@ -88711,10 +89510,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *443 - - *444 + - *446 + - *447 - *289 - - *599 + - *602 responses: '204': description: Response @@ -88736,8 +89535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -88805,8 +89604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *443 - - *444 + - *446 + - *447 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88965,8 +89764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -88999,9 +89798,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 '400': *14 '422': *15 '403': *27 @@ -89022,8 +89821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89083,7 +89882,7 @@ paths: schema: oneOf: - *251 - - *612 + - *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89108,8 +89907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *443 - - *444 + - *446 + - *447 - name: file_sha in: path required: true @@ -89209,8 +90008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89319,7 +90118,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &616 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89546,15 +90345,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *443 - - *444 - - *558 + - *446 + - *447 + - *561 responses: '200': description: Response content: application/json: - schema: *613 + schema: *616 examples: default: value: @@ -89610,9 +90409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *443 - - *444 - - &614 + - *446 + - *447 + - &617 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. @@ -89629,7 +90428,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Git Reference description: Git references within a repository type: object @@ -89705,17 +90504,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 responses: '200': description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &616 + default: &619 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89744,8 +90543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89774,9 +90573,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *616 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89802,9 +90601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 requestBody: required: true content: @@ -89833,9 +90632,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *616 + default: *619 '422': *15 '409': *117 x-github: @@ -89853,9 +90652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *443 - - *444 - - *614 + - *446 + - *447 + - *617 responses: '204': description: Response @@ -89910,8 +90709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -89978,7 +90777,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &621 title: Git Tag description: Metadata for a Git tag type: object @@ -90034,7 +90833,7 @@ paths: - sha - type - url - verification: *617 + verification: *620 required: - sha - url @@ -90044,7 +90843,7 @@ paths: - tag - message examples: - default: &619 + default: &622 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90117,8 +90916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *443 - - *444 + - *446 + - *447 - name: tag_sha in: path required: true @@ -90129,9 +90928,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 '404': *6 '409': *117 x-github: @@ -90155,8 +90954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -90230,7 +91029,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &623 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90332,8 +91131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *443 - - *444 + - *446 + - *447 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90356,7 +91155,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *623 examples: default-response: summary: Default response @@ -90415,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -90426,7 +91225,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: Webhook description: Webhooks for repositories. type: object @@ -90489,7 +91288,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &874 title: Hook Response type: object properties: @@ -90566,8 +91365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -90620,9 +91419,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &622 + default: &625 value: type: Repository id: 12345678 @@ -90670,17 +91469,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '200': description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -90700,9 +91499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 requestBody: required: true content: @@ -90747,9 +91546,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *622 + default: *625 '422': *15 '404': *6 x-github: @@ -90770,9 +91569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -90796,9 +91595,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '200': description: Response @@ -90825,9 +91624,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 requestBody: required: false content: @@ -90871,11 +91670,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *17 - - *339 + - *341 responses: '200': description: Response @@ -90883,9 +91682,9 @@ paths: application/json: schema: type: array - items: *340 + items: *342 examples: - default: *341 + default: *343 '400': *14 '422': *15 x-github: @@ -90904,18 +91703,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *344 examples: - default: *343 + default: *345 '400': *14 '422': *15 x-github: @@ -90934,9 +91733,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: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 - *16 responses: '202': *37 @@ -90959,9 +91758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -90986,9 +91785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *443 - - *444 - - *338 + - *446 + - *447 + - *340 responses: '204': description: Response @@ -91011,8 +91810,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response if immutable releases are enabled @@ -91060,8 +91859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '409': *117 @@ -91081,8 +91880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '409': *117 @@ -91139,14 +91938,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &623 + schema: &626 title: Import description: A repository import from an external source. type: object @@ -91253,7 +92052,7 @@ paths: - html_url - authors_url examples: - default: &626 + default: &629 value: vcs: subversion use_lfs: true @@ -91269,7 +92068,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': &624 + '503': &627 description: Unavailable due to service under maintenance. content: application/json: @@ -91298,8 +92097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -91347,7 +92146,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: default: value: @@ -91372,7 +92171,7 @@ paths: type: string '422': *15 '404': *6 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91400,8 +92199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -91453,7 +92252,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: example-1: summary: Example 1 @@ -91501,7 +92300,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': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91524,12 +92323,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91555,9 +92354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *443 - - *444 - - &803 + - *446 + - *447 + - &805 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91571,7 +92370,7 @@ paths: application/json: schema: type: array - items: &625 + items: &628 title: Porter Author description: Porter Author type: object @@ -91625,7 +92424,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': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91650,8 +92449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *443 - - *444 + - *446 + - *447 - name: author_id in: path required: true @@ -91681,7 +92480,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *628 examples: default: value: @@ -91694,7 +92493,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91718,8 +92517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91760,7 +92559,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91788,8 +92587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -91816,11 +92615,11 @@ paths: description: Response content: application/json: - schema: *623 + schema: *626 examples: - default: *626 + default: *629 '422': *15 - '503': *624 + '503': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91843,8 +92642,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91852,8 +92651,8 @@ paths: application/json: schema: *20 examples: - default: *355 - '301': *449 + default: *357 + '301': *452 '404': *6 x-github: githubCloudOnly: false @@ -91873,8 +92672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -91882,12 +92681,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &628 + default: &631 value: limit: collaborators_only origin: repository @@ -91912,13 +92711,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: application/json: - schema: *627 + schema: *630 examples: default: summary: Example request body @@ -91930,9 +92729,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *628 + default: *631 '409': description: Response x-github: @@ -91954,8 +92753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -91978,8 +92777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -91989,9 +92788,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: &796 + default: &798 value: - id: 1 repository: @@ -92122,9 +92921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *443 - - *444 - - *361 + - *446 + - *447 + - *363 requestBody: required: false content: @@ -92153,7 +92952,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *632 examples: default: value: @@ -92284,9 +93083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *443 - - *444 - - *361 + - *446 + - *447 + - *363 responses: '204': description: Response @@ -92317,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *443 - - *444 + - *446 + - *447 - 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 @@ -92366,7 +93165,7 @@ paths: required: false schema: type: string - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -92391,7 +93190,7 @@ paths: type: array items: *217 examples: - default: &638 + default: &641 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92540,7 +93339,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *449 + '301': *452 '422': *15 '404': *6 x-github: @@ -92569,8 +93368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -92662,7 +93461,7 @@ paths: application/json: schema: *217 examples: - default: &635 + default: &638 value: id: 1 node_id: MDU6SXNzdWUx @@ -92819,7 +93618,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *630 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -92847,8 +93646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *239 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92871,7 +93670,7 @@ paths: type: array items: *218 examples: - default: &637 + default: &640 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92929,8 +93728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': @@ -92939,7 +93738,7 @@ paths: application/json: schema: *218 examples: - default: &631 + default: &634 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92994,8 +93793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -93020,7 +93819,7 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *634 '422': *15 x-github: githubCloudOnly: false @@ -93038,8 +93837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -93068,8 +93867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': @@ -93132,7 +93931,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93149,8 +93948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -93158,7 +93957,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 '503': *190 x-github: githubCloudOnly: false @@ -93176,8 +93975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93204,9 +94003,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -93227,8 +94026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -93261,16 +94060,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -93292,10 +94091,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - *633 + - *636 responses: '204': description: Response @@ -93315,8 +94114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -93326,7 +94125,7 @@ paths: application/json: schema: type: array - items: &634 + items: &637 title: Issue Event description: Issue Event type: object @@ -93666,8 +94465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *443 - - *444 + - *446 + - *447 - name: event_id in: path required: true @@ -93678,7 +94477,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: default: value: @@ -93871,7 +94670,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *630 + '410': *633 '403': *27 x-github: githubCloudOnly: false @@ -93905,9 +94704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *443 - - *444 - - &636 + - *446 + - *447 + - &639 name: issue_number description: The number that identifies the issue. in: path @@ -93932,7 +94731,7 @@ paths: examples: default: summary: Issue - value: *635 + value: *638 pinned_comment: summary: Issue with pinned comment value: @@ -94131,9 +94930,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 '304': *35 x-github: githubCloudOnly: false @@ -94158,9 +94957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -94281,13 +95080,13 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 '422': *15 '503': *190 '403': *27 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94305,9 +95104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -94335,7 +95134,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,9 +95150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: content: application/json: @@ -94380,7 +95179,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94402,9 +95201,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: assignee in: path required: true @@ -94444,9 +95243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *222 - *17 - *19 @@ -94459,11 +95258,11 @@ paths: type: array items: *218 examples: - default: *637 + default: *640 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94492,9 +95291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -94518,14 +95317,14 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *634 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -94553,9 +95352,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94567,12 +95366,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94600,9 +95399,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -94626,15 +95425,15 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *452 '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -94665,9 +95464,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94681,13 +95480,13 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *638 + '301': *452 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -94713,9 +95512,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: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94727,12 +95526,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94749,9 +95548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -94765,7 +95564,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &640 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94814,7 +95613,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94942,7 +95741,7 @@ paths: - performed_via_github_app - assignee - assigner - - &642 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94988,7 +95787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -95034,7 +95833,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -95083,7 +95882,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -95125,7 +95924,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -95167,7 +95966,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -95223,7 +96022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -95268,7 +96067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95329,7 +96128,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95390,7 +96189,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95451,7 +96250,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95544,7 +96343,7 @@ paths: color: red headers: Link: *45 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95561,9 +96360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -95575,7 +96374,7 @@ paths: type: array items: *216 examples: - default: &639 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95593,9 +96392,9 @@ paths: default: false headers: Link: *45 - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95611,9 +96410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95658,10 +96457,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *642 + '301': *452 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -95678,9 +96477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95742,10 +96541,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *642 + '301': *452 '404': *6 - '410': *630 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -95762,15 +96561,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '204': description: Response - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +96588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - name: name in: path required: true @@ -95815,9 +96614,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95837,9 +96636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: false content: @@ -95868,7 +96667,7 @@ paths: '204': description: Response '403': *27 - '410': *630 + '410': *633 '404': *6 '422': *15 x-github: @@ -95886,9 +96685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '204': description: Response @@ -95918,9 +96717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 responses: '200': description: Response @@ -95928,10 +96727,10 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *638 + '301': *452 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95948,9 +96747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - 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. @@ -95976,13 +96775,13 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96000,9 +96799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96034,16 +96833,16 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Response content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -96065,10 +96864,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *443 - - *444 + - *446 + - *447 + - *639 - *636 - - *633 responses: '204': description: Response @@ -96097,9 +96896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96123,7 +96922,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -96156,9 +96955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -96170,11 +96969,11 @@ paths: type: array items: *217 examples: - default: *638 + default: *641 headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96202,9 +97001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96233,14 +97032,14 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *630 + '410': *633 '422': *15 '404': *6 x-github: @@ -96260,9 +97059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 requestBody: required: true content: @@ -96295,7 +97094,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *638 '403': *27 '404': *6 '422': *7 @@ -96317,9 +97116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *443 - - *444 - - *636 + - *446 + - *447 + - *639 - *17 - *19 responses: @@ -96334,9 +97133,6 @@ paths: description: Timeline Event type: object anyOf: - - *640 - - *641 - - *642 - *643 - *644 - *645 @@ -96347,6 +97143,9 @@ paths: - *650 - *651 - *652 + - *653 + - *654 + - *655 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96403,7 +97202,7 @@ paths: pin: anyOf: - type: 'null' - - *653 + - *656 required: - event - actor @@ -96679,7 +97478,7 @@ paths: type: string comments: type: array - items: &674 + items: &677 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96920,7 +97719,7 @@ paths: type: string comments: type: array - items: *554 + items: *557 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97195,7 +97994,7 @@ paths: headers: Link: *45 '404': *6 - '410': *630 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97212,8 +98011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -97223,7 +98022,7 @@ paths: application/json: schema: type: array - items: &654 + items: &657 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97291,8 +98090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97328,9 +98127,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: &655 + default: &658 value: id: 1 key: ssh-rsa AAA... @@ -97364,9 +98163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *443 - - *444 - - &656 + - *446 + - *447 + - &659 name: key_id description: The unique identifier of the key. in: path @@ -97378,9 +98177,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *657 examples: - default: *655 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -97398,9 +98197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *443 - - *444 - - *656 + - *446 + - *447 + - *659 responses: '204': description: Response @@ -97420,8 +98219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -97433,7 +98232,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *642 headers: Link: *45 '404': *6 @@ -97454,8 +98253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97493,7 +98292,7 @@ paths: application/json: schema: *216 examples: - default: &657 + default: &660 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97525,8 +98324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97539,7 +98338,7 @@ paths: application/json: schema: *216 examples: - default: *657 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -97556,8 +98355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97622,8 +98421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *443 - - *444 + - *446 + - *447 - name: name in: path required: true @@ -97649,8 +98448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -97686,8 +98485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '202': *37 '403': @@ -97715,8 +98514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -97742,9 +98541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *443 - - *444 - - *529 + - *446 + - *447 + - *532 responses: '200': description: Response @@ -97891,8 +98690,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97957,8 +98756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -97992,9 +98791,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *557 + schema: *560 examples: - default: *658 + default: *661 '204': description: Response when already merged '404': @@ -98019,8 +98818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *443 - - *444 + - *446 + - *447 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98061,7 +98860,7 @@ paths: application/json: schema: type: array - items: *396 + items: *398 examples: default: value: @@ -98117,8 +98916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98158,9 +98957,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &659 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -98219,9 +99018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *443 - - *444 - - &660 + - *446 + - *447 + - &663 name: milestone_number description: The number that identifies the milestone. in: path @@ -98233,9 +99032,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *659 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -98252,9 +99051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 requestBody: required: false content: @@ -98292,9 +99091,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *659 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98310,9 +99109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 responses: '204': description: Response @@ -98333,9 +99132,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: - - *443 - - *444 - - *660 + - *446 + - *447 + - *663 - *17 - *19 responses: @@ -98347,7 +99146,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *642 headers: Link: *45 x-github: @@ -98366,12 +99165,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: - - *443 - - *444 - - *661 - - *662 + - *446 + - *447 + - *664 + - *665 - *222 - - *663 + - *666 - *17 - *19 responses: @@ -98383,7 +99182,7 @@ paths: type: array items: *242 examples: - default: *664 + default: *667 headers: Link: *45 x-github: @@ -98407,8 +99206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -98466,14 +99265,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: &665 + schema: &668 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98617,7 +99416,7 @@ paths: - custom_404 - public examples: - default: &666 + default: &669 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98658,8 +99457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98714,9 +99513,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *668 examples: - default: *666 + default: *669 '422': *15 '409': *117 x-github: @@ -98739,8 +99538,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -98848,8 +99647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -98875,8 +99674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -98886,7 +99685,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 title: Page Build description: Page Build type: object @@ -98978,8 +99777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *443 - - *444 + - *446 + - *447 responses: '201': description: Response @@ -99026,16 +99825,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &668 + default: &671 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -99083,8 +99882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *443 - - *444 + - *446 + - *447 - name: build_id in: path required: true @@ -99095,9 +99894,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99117,8 +99916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99226,9 +100025,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: - - *443 - - *444 - - &669 + - *446 + - *447 + - &672 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99286,9 +100085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *443 - - *444 - - *669 + - *446 + - *447 + - *672 responses: '204': *149 '404': *6 @@ -99315,8 +100114,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -99611,8 +100410,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Private vulnerability reporting status @@ -99649,8 +100448,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: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '422': *14 @@ -99671,8 +100470,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: - - *443 - - *444 + - *446 + - *447 responses: '204': *149 '422': *14 @@ -99694,8 +100493,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -99705,7 +100504,7 @@ paths: type: array items: *150 examples: - default: *670 + default: *673 '403': *27 '404': *6 x-github: @@ -99727,8 +100526,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99744,7 +100543,7 @@ paths: required: - properties examples: - default: *671 + default: *674 responses: '204': description: No Content when custom property values are successfully created @@ -99782,8 +100581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *443 - - *444 + - *446 + - *447 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99843,9 +100642,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: *672 + default: *675 headers: Link: *45 '304': *35 @@ -99877,8 +100676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -99945,7 +100744,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &679 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -100074,7 +100873,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 active_lock_reason: type: - string @@ -100129,7 +100928,7 @@ paths: type: - array - 'null' - items: *375 + items: *377 head: type: object properties: @@ -100167,14 +100966,14 @@ paths: _links: type: object properties: - comments: *397 - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + comments: *399 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -100185,7 +100984,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *673 + auto_merge: *676 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -100287,7 +101086,7 @@ paths: - merged_by - review_comments examples: - default: &677 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100814,8 +101613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *443 - - *444 + - *446 + - *447 - name: sort in: query required: false @@ -100844,9 +101643,9 @@ paths: application/json: schema: type: array - items: *674 + items: *677 examples: - default: &679 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100923,17 +101722,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: - - *443 - - *444 + - *446 + - *447 - *231 responses: '200': description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: &675 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101008,8 +101807,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: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -101032,9 +101831,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: - default: *675 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101050,8 +101849,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: - - *443 - - *444 + - *446 + - *447 - *231 responses: '204': @@ -101073,8 +101872,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: - - *443 - - *444 + - *446 + - *447 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101101,9 +101900,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -101124,8 +101923,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: - - *443 - - *444 + - *446 + - *447 - *231 requestBody: required: true @@ -101158,16 +101957,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -101189,10 +101988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *443 - - *444 + - *446 + - *447 - *231 - - *633 + - *636 responses: '204': description: Response @@ -101235,9 +102034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *443 - - *444 - - &678 + - *446 + - *447 + - &681 name: pull_number description: The number that identifies the pull request. in: path @@ -101250,9 +102049,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *676 + schema: *679 examples: - default: *677 + default: *680 '304': *35 '404': *6 '406': @@ -101287,9 +102086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -101331,9 +102130,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *679 examples: - default: *677 + default: *680 '422': *15 '403': *27 x-github: @@ -101355,9 +102154,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -101418,17 +102217,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -101458,9 +102257,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *239 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101481,9 +102280,9 @@ paths: application/json: schema: type: array - items: *674 + items: *677 examples: - default: *679 + default: *682 headers: Link: *45 x-github: @@ -101516,9 +102315,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -101624,7 +102423,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: example-for-a-multi-line-comment: value: @@ -101712,9 +102511,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *231 requestBody: required: true @@ -101737,7 +102536,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -101823,9 +102622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -101835,9 +102634,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: *680 + default: *683 headers: Link: *45 x-github: @@ -101867,9 +102666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -101879,7 +102678,7 @@ paths: application/json: schema: type: array - items: *568 + items: *571 examples: default: value: @@ -101917,9 +102716,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 responses: '204': description: Response if pull request has been merged @@ -101942,9 +102741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -102056,9 +102855,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 responses: '200': description: Response @@ -102133,9 +102932,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -102172,7 +102971,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -102708,9 +103507,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: true content: @@ -102744,7 +103543,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -103249,9 +104048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 - *17 - *19 responses: @@ -103261,7 +104060,7 @@ paths: application/json: schema: type: array - items: &681 + items: &684 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103417,9 +104216,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: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -103509,9 +104308,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: &683 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103574,10 +104373,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: - - *443 - - *444 - - *678 - - &682 + - *446 + - *447 + - *681 + - &685 name: review_id description: The unique identifier of the review. in: path @@ -103589,9 +104388,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: &684 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103650,10 +104449,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -103676,7 +104475,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: default: value: @@ -103738,18 +104537,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 responses: '200': description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *683 + default: *686 '422': *7 '404': *6 x-github: @@ -103776,10 +104575,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 - *17 - *19 responses: @@ -103877,9 +104676,9 @@ paths: _links: type: object properties: - self: *397 - html: *397 - pull_request: *397 + self: *399 + html: *399 + pull_request: *399 required: - self - html @@ -104037,10 +104836,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -104069,7 +104868,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: default: value: @@ -104132,10 +104931,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: - - *443 - - *444 - - *678 - - *682 + - *446 + - *447 + - *681 + - *685 requestBody: required: true content: @@ -104170,9 +104969,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *684 examples: - default: *684 + default: *687 '404': *6 '422': *7 '403': *27 @@ -104194,9 +104993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *443 - - *444 - - *678 + - *446 + - *447 + - *681 requestBody: required: false content: @@ -104260,8 +105059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *443 - - *444 + - *446 + - *447 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104274,9 +105073,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *688 examples: - default: &686 + default: &689 value: type: file encoding: base64 @@ -104318,8 +105117,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: - - *443 - - *444 + - *446 + - *447 - name: dir description: The alternate path to look for a README file in: path @@ -104339,9 +105138,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *688 examples: - default: *686 + default: *689 '404': *6 '422': *15 x-github: @@ -104363,8 +105162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -104374,7 +105173,7 @@ paths: application/json: schema: type: array - items: *687 + items: *690 examples: default: value: @@ -104468,8 +105267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -104545,9 +105344,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: &691 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104652,9 +105451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *443 - - *444 - - &689 + - *446 + - *447 + - &692 name: asset_id description: The unique identifier of the asset. in: path @@ -104666,9 +105465,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: &690 + default: &693 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 @@ -104703,7 +105502,7 @@ paths: type: User site_admin: false '404': *6 - '302': *570 + '302': *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104719,9 +105518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *443 - - *444 - - *689 + - *446 + - *447 + - *692 requestBody: required: false content: @@ -104750,9 +105549,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *691 examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104768,9 +105567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *443 - - *444 - - *689 + - *446 + - *447 + - *692 responses: '204': description: Response @@ -104794,8 +105593,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -104881,16 +105680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104907,8 +105706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *443 - - *444 + - *446 + - *447 - name: tag description: tag parameter in: path @@ -104921,9 +105720,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -104945,9 +105744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *443 - - *444 - - &692 + - *446 + - *447 + - &695 name: release_id description: The unique identifier of the release. in: path @@ -104961,9 +105760,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: *687 + schema: *690 examples: - default: *691 + default: *694 '401': description: Unauthorized x-github: @@ -104981,9 +105780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 requestBody: required: false content: @@ -105047,9 +105846,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *690 examples: - default: *691 + default: *694 '404': description: Not Found if the discussion category name is invalid content: @@ -105070,9 +105869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 responses: '204': description: Response @@ -105092,9 +105891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - *17 - *19 responses: @@ -105104,7 +105903,7 @@ paths: application/json: schema: type: array - items: *688 + items: *691 examples: default: value: @@ -105186,9 +105985,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: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - name: name in: query required: true @@ -105214,7 +106013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *688 + schema: *691 examples: response-for-successful-upload: value: @@ -105269,9 +106068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 - 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. @@ -105295,9 +106094,9 @@ paths: application/json: schema: type: array - items: *555 + items: *558 examples: - default: *632 + default: *635 headers: Link: *45 '404': *6 @@ -105318,9 +106117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *443 - - *444 - - *692 + - *446 + - *447 + - *695 requestBody: required: true content: @@ -105350,16 +106149,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '201': description: Reaction created content: application/json: - schema: *555 + schema: *558 examples: - default: *556 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -105381,10 +106180,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *443 - - *444 - - *692 - - *633 + - *446 + - *447 + - *695 + - *636 responses: '204': description: Response @@ -105408,9 +106207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *443 - - *444 - - *496 + - *446 + - *447 + - *499 - *17 - *19 responses: @@ -105427,7 +106226,7 @@ paths: oneOf: - allOf: - *164 - - &693 + - &696 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105448,67 +106247,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *693 + - *696 - allOf: - *166 - - *693 + - *696 - allOf: - *167 - - *693 + - *696 - allOf: - - *694 - - *693 + - *697 + - *696 - allOf: - *168 - - *693 + - *696 - allOf: - *169 - - *693 + - *696 - allOf: - *170 - - *693 + - *696 - allOf: - *171 - - *693 + - *696 - allOf: - *172 - - *693 + - *696 - allOf: - *173 - - *693 + - *696 - allOf: - *174 - - *693 + - *696 - allOf: - *175 - - *693 + - *696 - allOf: - *176 - - *693 + - *696 - allOf: - *177 - - *693 + - *696 - allOf: - *178 - - *693 + - *696 - allOf: - *179 - - *693 + - *696 - allOf: - *180 - - *693 + - *696 - allOf: - *181 - - *693 + - *696 - allOf: - *182 - - *693 + - *696 - allOf: - *183 - - *693 + - *696 - allOf: - *184 - - *693 + - *696 examples: default: value: @@ -105547,8 +106346,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - name: includes_parents @@ -105559,7 +106358,7 @@ paths: schema: type: boolean default: true - - *695 + - *698 responses: '200': description: Response @@ -105614,8 +106413,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 requestBody: description: Request body required: true @@ -105644,7 +106443,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *696 + items: *699 required: - name - enforcement @@ -105677,7 +106476,7 @@ paths: application/json: schema: *185 examples: - default: &705 + default: &708 value: id: 42 name: super cool ruleset @@ -105710,6 +106509,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *38 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -105724,12 +106524,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *443 - - *444 - - *697 + - *446 + - *447 + - *700 - *103 - - *698 - - *699 + - *701 + - *702 - *17 - *19 responses: @@ -105737,9 +106537,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 '404': *6 '500': *38 x-github: @@ -105760,17 +106560,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *443 - - *444 - - *702 + - *446 + - *447 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *706 examples: - default: *704 + default: *707 '404': *6 '500': *38 x-github: @@ -105798,8 +106598,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105821,7 +106621,7 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *708 '404': *6 '500': *38 put: @@ -105839,8 +106639,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105874,7 +106674,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *696 + items: *699 examples: default: value: @@ -105904,8 +106704,9 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *708 '404': *6 + '422': *15 '500': *38 delete: summary: Delete a repository ruleset @@ -105922,8 +106723,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105946,8 +106747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 - name: ruleset_id @@ -105965,7 +106766,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *415 '404': *6 '500': *38 x-github: @@ -105984,8 +106785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *443 - - *444 + - *446 + - *447 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106003,7 +106804,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -106058,22 +106859,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: - - *443 - - *444 - - *415 - - *416 + - *446 + - *447 - *417 - *418 - *419 + - *420 + - *421 - *108 - *19 - *17 - - *706 - - *707 - - *420 - - *421 + - *709 + - *710 - *422 - *423 + - *424 + - *425 responses: '200': description: Response @@ -106081,7 +106882,7 @@ paths: application/json: schema: type: array - items: &711 + items: &714 type: object properties: number: *124 @@ -106097,8 +106898,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *708 - resolution: *709 + state: *711 + resolution: *712 resolved_at: type: - string @@ -106192,7 +106993,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *710 + - *713 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106337,16 +107138,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: - - *443 - - *444 - - *523 - - *423 + - *446 + - *447 + - *526 + - *425 responses: '200': description: Response content: application/json: - schema: *711 + schema: *714 examples: default: value: @@ -106400,9 +107201,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 requestBody: required: true content: @@ -106410,8 +107211,8 @@ paths: schema: type: object properties: - state: *708 - resolution: *709 + state: *711 + resolution: *712 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106447,7 +107248,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *714 examples: default: value: @@ -106542,9 +107343,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: - - *443 - - *444 - - *523 + - *446 + - *447 + - *526 - *19 - *17 responses: @@ -106555,7 +107356,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &894 type: object properties: type: @@ -106582,9 +107383,6 @@ paths: - commit details: oneOf: - - *712 - - *713 - - *714 - *715 - *716 - *717 @@ -106595,6 +107393,9 @@ paths: - *722 - *723 - *724 + - *725 + - *726 + - *727 examples: default: value: @@ -106680,8 +107481,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -106689,14 +107490,14 @@ paths: schema: type: object properties: - reason: &726 + reason: &729 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *725 + placeholder_id: *728 required: - reason - placeholder_id @@ -106713,7 +107514,7 @@ paths: schema: type: object properties: - reason: *726 + reason: *729 expire_at: type: - string @@ -106760,8 +107561,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: - - *443 - - *444 + - *446 + - *447 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106776,7 +107577,7 @@ paths: properties: incremental_scans: type: array - items: &727 + items: &730 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106804,15 +107605,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *727 + items: *730 backfill_scans: type: array - items: *727 + items: *730 custom_pattern_backfill_scans: type: array items: allOf: - - *727 + - *730 - type: object properties: pattern_name: @@ -106882,8 +107683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *443 - - *444 + - *446 + - *447 - *108 - name: sort description: The property to sort the results by. @@ -106927,9 +107728,9 @@ paths: application/json: schema: type: array - items: *728 + items: *731 examples: - default: *729 + default: *732 '400': *14 '404': *6 x-github: @@ -106952,8 +107753,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -107033,7 +107834,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 required: - login - type @@ -107123,9 +107924,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: &731 + default: &734 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107358,8 +108159,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: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -107472,7 +108273,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: default: value: @@ -107619,17 +108420,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '200': description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *731 + default: *734 '403': *27 '404': *6 x-github: @@ -107653,9 +108454,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 requestBody: required: true content: @@ -107735,7 +108536,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *430 required: - login - type @@ -107826,10 +108627,10 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *731 - add_credit: *731 + default: *734 + add_credit: *734 '403': *27 '404': *6 '422': @@ -107867,9 +108668,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '202': *37 '400': *14 @@ -107896,17 +108697,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: - - *443 - - *444 - - *730 + - *446 + - *447 + - *733 responses: '202': description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 '400': *14 '422': *15 '403': *27 @@ -107932,8 +108733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108029,8 +108830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108039,7 +108840,7 @@ paths: application/json: schema: type: array - items: &732 + items: &735 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108072,8 +108873,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -108151,8 +108952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -108246,8 +109047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108401,8 +109202,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: - - *443 - - *444 + - *446 + - *447 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108412,7 +109213,7 @@ paths: application/json: schema: type: array - items: *732 + items: *735 examples: default: value: @@ -108445,8 +109246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *443 - - *444 + - *446 + - *447 - name: sha in: path required: true @@ -108502,7 +109303,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *736 examples: default: value: @@ -108556,8 +109357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108589,14 +109390,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &734 + schema: &737 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108669,8 +109470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: false content: @@ -108696,7 +109497,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *737 examples: default: value: @@ -108723,8 +109524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -108744,8 +109545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -108810,165 +109611,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: - - *443 - - *444 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &735 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - examples: - - 2 - created_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - updated_at: - type: string - examples: - - '2011-01-26T19:01:12Z' - enabled: - type: boolean - examples: - - true - pattern: - type: string - examples: - - v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *27 - '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: - - *443 - - *444 - 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: *735 - examples: - default: - value: - enabled: true - '403': *27 - '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: - - *443 - - *444 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *27 - '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) @@ -108986,8 +109628,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *443 - - *444 + - *446 + - *447 - name: ref in: path required: true @@ -109023,8 +109665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *443 - - *444 + - *446 + - *447 - *17 - *19 responses: @@ -109036,7 +109678,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *378 headers: Link: *45 '404': *6 @@ -109056,8 +109698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *443 - - *444 + - *446 + - *447 - *19 - *17 responses: @@ -109065,7 +109707,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &738 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109077,7 +109719,7 @@ paths: required: - names examples: - default: &737 + default: &739 value: names: - octocat @@ -109100,8 +109742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -109132,9 +109774,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *738 examples: - default: *737 + default: *739 '404': *6 '422': *7 x-github: @@ -109155,9 +109797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *443 - - *444 - - &738 + - *446 + - *447 + - &740 name: per description: The time frame to display results for. in: query @@ -109188,7 +109830,7 @@ paths: - 128 clones: type: array - items: &739 + items: &741 title: Traffic type: object properties: @@ -109275,8 +109917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -109370,8 +110012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *443 - - *444 + - *446 + - *447 responses: '200': description: Response @@ -109434,9 +110076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *443 - - *444 - - *738 + - *446 + - *447 + - *740 responses: '200': description: Response @@ -109457,7 +110099,7 @@ paths: - 3782 views: type: array - items: *739 + items: *741 required: - uniques - count @@ -109534,8 +110176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *443 - - *444 + - *446 + - *447 requestBody: required: true content: @@ -109809,8 +110451,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109833,8 +110475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -109856,8 +110498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -109883,8 +110525,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *443 - - *444 + - *446 + - *447 - name: ref in: path required: true @@ -109976,9 +110618,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110129,7 +110771,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &747 + - &749 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -110139,7 +110781,7 @@ paths: type: string examples: - members - - &752 + - &754 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -110151,7 +110793,7 @@ paths: format: int32 examples: - 1 - - &753 + - &755 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -110195,7 +110837,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &742 + items: &744 allOf: - type: object required: @@ -110277,7 +110919,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: &754 + meta: &756 type: object description: The metadata associated with the creation/updates to the user. @@ -110342,30 +110984,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &743 + '400': &745 description: Bad request content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '401': *741 - '403': &744 + schema: *742 + '401': *743 + '403': &746 description: Permission denied - '429': &745 + '429': &747 description: Too many requests content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '500': &746 + schema: *742 + '500': &748 description: Internal server error content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 + schema: *742 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110389,7 +111031,7 @@ paths: required: true content: application/json: - schema: &750 + schema: &752 type: object required: - schemas @@ -110453,9 +111095,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *742 + schema: *744 examples: - group: &748 + group: &750 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110474,13 +111116,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': *743 - '401': *741 - '403': *744 - '409': &751 + '400': *745 + '401': *743 + '403': *746 + '409': &753 description: Duplicate record detected - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110497,7 +111139,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: - - &749 + - &751 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110506,22 +111148,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *747 + - *749 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *742 + schema: *744 examples: - default: *748 - '400': *743 - '401': *741 - '403': *744 + default: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110540,13 +111182,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: - - *749 + - *751 - *39 requestBody: required: true content: application/json: - schema: *750 + schema: *752 examples: group: summary: Group @@ -110572,17 +111214,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *742 + schema: *744 examples: - group: *748 - groupWithMembers: *748 - '400': *743 - '401': *741 - '403': *744 + group: *750 + groupWithMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110606,13 +111248,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: - - *749 + - *751 - *39 requestBody: required: true content: application/json: - schema: &761 + schema: &763 type: object required: - Operations @@ -110672,17 +111314,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *742 + schema: *744 examples: - updateGroup: *748 - addMembers: *748 - '400': *743 - '401': *741 - '403': *744 + updateGroup: *750 + addMembers: *750 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110698,17 +111340,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: - - *749 + - *751 - *39 responses: '204': description: Group was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110742,8 +111384,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *752 - - *753 + - *754 + - *755 - *39 responses: '200': @@ -110777,7 +111419,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &756 + items: &758 allOf: - type: object required: @@ -110869,7 +111511,7 @@ paths: address. examples: - true - roles: &755 + roles: &757 type: array description: The roles assigned to the user. items: @@ -110928,7 +111570,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *754 + meta: *756 startIndex: type: integer description: A starting index for the returned page @@ -110967,11 +111609,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *743 - '401': *741 - '403': *744 - '429': *745 - '500': *746 + '400': *745 + '401': *743 + '403': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110995,7 +111637,7 @@ paths: required: true content: application/json: - schema: &759 + schema: &761 type: object required: - schemas @@ -111088,9 +111730,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *755 + roles: *757 examples: - user: &760 + user: &762 summary: User value: schemas: @@ -111137,9 +111779,9 @@ paths: description: User has been created content: application/scim+json: - schema: *756 + schema: *758 examples: - user: &757 + user: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111165,13 +111807,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: *757 - '400': *743 - '401': *741 - '403': *744 - '409': *751 - '429': *745 - '500': *746 + enterpriseOwner: *759 + '400': *745 + '401': *743 + '403': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111188,7 +111830,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: - - &758 + - &760 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -111201,15 +111843,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *756 + schema: *758 examples: - default: *757 - '400': *743 - '401': *741 - '403': *744 + default: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111223,7 +111865,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 @@ -111231,30 +111902,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: - - *758 + - *760 - *39 requestBody: required: true content: application/json: - schema: *759 + schema: *761 examples: - user: *760 + user: *762 responses: '200': description: User was updated content: application/scim+json: - schema: *756 + schema: *758 examples: - user: *757 - '400': *743 - '401': *741 - '403': *744 + user: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111271,15 +111942,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 @@ -111289,13 +111966,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: - - *758 + - *760 - *39 requestBody: required: true content: application/json: - schema: *761 + schema: *763 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111335,18 +112012,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *756 + schema: *758 examples: - userMultiValuedProperties: *757 - userSingleValuedProperties: *757 - disableUser: *757 - '400': *743 - '401': *741 - '403': *744 + userMultiValuedProperties: *759 + userSingleValuedProperties: *759 + disableUser: *759 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *753 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111366,17 +112043,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: - - *758 + - *760 - *39 responses: '204': description: User was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *745 + '401': *743 + '403': *746 '404': *6 - '429': *745 - '500': *746 + '429': *747 + '500': *748 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111467,7 +112144,7 @@ paths: - 1 Resources: type: array - items: &762 + items: &764 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111714,22 +112391,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &763 + '404': &765 description: Resource not found content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '403': &764 + schema: *742 + '403': &766 description: Forbidden content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '400': *743 - '429': *745 + schema: *742 + '400': *745 + '429': *747 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111755,9 +112432,9 @@ paths: description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: &765 + default: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111780,17 +112457,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *763 - '403': *764 - '500': *746 + '404': *765 + '403': *766 + '500': *748 '409': description: Conflict content: application/json: - schema: *740 + schema: *742 application/scim+json: - schema: *740 - '400': *743 + schema: *742 + '400': *745 requestBody: required: true content: @@ -111890,17 +112567,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 - '404': *763 - '403': *764 + default: *767 + '404': *765 + '403': *766 '304': *35 x-github: githubCloudOnly: true @@ -111924,18 +112601,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 + default: *767 '304': *35 - '404': *763 - '403': *764 + '404': *765 + '403': *766 requestBody: required: true content: @@ -112050,19 +112727,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *758 + - *760 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *764 examples: - default: *765 + default: *767 '304': *35 - '404': *763 - '403': *764 - '400': *743 + '404': *765 + '403': *766 + '400': *745 '429': description: Response content: @@ -112158,12 +112835,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *758 + - *760 responses: '204': description: Response - '404': *763 - '403': *764 + '404': *765 + '403': *766 '304': *35 x-github: githubCloudOnly: true @@ -112297,7 +112974,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &766 + text_matches: &768 title: Search Result Text Matches type: array items: @@ -112461,7 +113138,7 @@ paths: enum: - author-date - committer-date - - &767 + - &769 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 @@ -112530,7 +113207,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 comment_count: type: integer message: @@ -112549,7 +113226,7 @@ paths: url: type: string format: uri - verification: *617 + verification: *620 required: - author - committer @@ -112564,7 +113241,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *497 parents: type: array items: @@ -112581,7 +113258,7 @@ paths: type: number node_id: type: string - text_matches: *766 + text_matches: *768 required: - sha - node_id @@ -112774,7 +113451,7 @@ paths: - interactions - created - updated - - *767 + - *769 - *17 - *19 - name: advanced_search @@ -112871,11 +113548,11 @@ paths: type: - string - 'null' - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: type: string state_reason: @@ -112889,7 +113566,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *398 comments: type: integer created_at: @@ -112903,7 +113580,7 @@ paths: - string - 'null' format: date-time - text_matches: *766 + text_matches: *768 pull_request: type: object properties: @@ -112952,7 +113629,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *364 performed_via_github_app: anyOf: - type: 'null' @@ -113130,7 +113807,7 @@ paths: enum: - created - updated - - *767 + - *769 - *17 - *19 responses: @@ -113175,7 +113852,7 @@ paths: - 'null' score: type: number - text_matches: *766 + text_matches: *768 required: - id - node_id @@ -113261,7 +113938,7 @@ paths: - forks - help-wanted-issues - updated - - *767 + - *769 - *17 - *19 responses: @@ -113507,7 +114184,7 @@ paths: - admin - pull - push - text_matches: *766 + text_matches: *768 temp_clone_token: type: string allow_merge_commit: @@ -113816,7 +114493,7 @@ paths: - string - 'null' format: uri - text_matches: *766 + text_matches: *768 related: type: - array @@ -114011,7 +114688,7 @@ paths: - followers - repositories - joined - - *767 + - *769 - *17 - *19 responses: @@ -114121,7 +114798,7 @@ paths: type: - boolean - 'null' - text_matches: *766 + text_matches: *768 blog: type: - string @@ -114203,7 +114880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &771 + - &773 name: team_id description: The unique identifier of the team. in: path @@ -114215,9 +114892,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -114244,7 +114921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *771 + - *773 requestBody: required: true content: @@ -114308,16 +114985,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '201': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *6 '422': *15 '403': *27 @@ -114345,7 +115022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *771 + - *773 responses: '204': description: Response @@ -114374,7 +115051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -114384,9 +115061,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *45 x-github: @@ -114412,7 +115089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *771 + - *773 - name: role description: Filters members returned by their role in the team. in: query @@ -114463,7 +115140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114500,7 +115177,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114540,7 +115217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *771 + - *773 - *137 responses: '204': @@ -114577,16 +115254,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: - - *771 + - *773 - *137 responses: '200': description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *774 '404': *6 x-github: githubCloudOnly: false @@ -114619,7 +115296,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: - - *771 + - *773 - *137 requestBody: required: false @@ -114645,9 +115322,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *775 '403': description: Forbidden if team synchronization is set up '422': @@ -114681,7 +115358,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: - - *771 + - *773 - *137 responses: '204': @@ -114709,7 +115386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -114721,7 +115398,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '404': *6 @@ -114751,15 +115428,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *774 + schema: *776 examples: alternative-response-with-extra-repository-information: value: @@ -114910,9 +115587,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 requestBody: required: false content: @@ -114962,9 +115639,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: - - *771 - - *443 - - *444 + - *773 + - *446 + - *447 responses: '204': description: Response @@ -114993,15 +115670,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: - - *771 + - *773 responses: '200': description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 '403': *27 '404': *6 x-github: @@ -115028,7 +115705,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: - - *771 + - *773 requestBody: required: true content: @@ -115089,7 +115766,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: default: value: @@ -115120,7 +115797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *771 + - *773 - *17 - *19 responses: @@ -115132,7 +115809,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: *775 + response-if-child-teams-exist: *777 headers: Link: *45 '404': *6 @@ -115165,7 +115842,7 @@ paths: application/json: schema: oneOf: - - &777 + - &779 title: Private User description: Private User type: object @@ -115415,7 +116092,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *776 + - *778 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115575,7 +116252,7 @@ paths: description: Response content: application/json: - schema: *777 + schema: *779 examples: default: value: @@ -115778,9 +116455,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *369 examples: - default: *368 + default: *370 '304': *35 '500': *38 '401': *23 @@ -115919,17 +116596,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -115973,7 +116650,7 @@ paths: type: integer secrets: type: array - items: &778 + items: &780 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116015,7 +116692,7 @@ paths: - visibility - selected_repositories_url examples: - default: *548 + default: *551 headers: Link: *45 x-github: @@ -116093,7 +116770,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *780 examples: default: value: @@ -116239,7 +116916,7 @@ paths: type: array items: *276 examples: - default: *779 + default: *781 '401': *23 '403': *27 '404': *6 @@ -116383,15 +117060,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '304': *35 '500': *38 '401': *23 @@ -116417,7 +117094,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: - - *369 + - *371 requestBody: required: false content: @@ -116447,9 +117124,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '401': *23 '403': *27 '404': *6 @@ -116471,7 +117148,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: - - *369 + - *371 responses: '202': *37 '304': *35 @@ -116500,13 +117177,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: - - *369 + - *371 responses: '202': description: Response content: application/json: - schema: &780 + schema: &782 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116559,7 +117236,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &781 + default: &783 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116591,7 +117268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *369 + - *371 - name: export_id in: path required: true @@ -116604,9 +117281,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *782 examples: - default: *781 + default: *783 '404': *6 x-github: githubCloudOnly: false @@ -116627,7 +117304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *369 + - *371 responses: '200': description: Response @@ -116643,9 +117320,9 @@ paths: type: integer machines: type: array - items: *547 + items: *550 examples: - default: *782 + default: *784 '304': *35 '500': *38 '401': *23 @@ -116674,7 +117351,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: - - *369 + - *371 requestBody: required: true content: @@ -116730,11 +117407,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *448 + repository: *451 machine: anyOf: - type: 'null' - - *547 + - *550 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117531,15 +118208,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '304': *35 '500': *38 '400': *14 @@ -117571,15 +118248,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: - - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *546 + default: *549 '500': *38 '401': *23 '403': *27 @@ -117609,9 +118286,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: &793 + default: &795 value: - id: 197 name: hello_docker @@ -117712,7 +118389,7 @@ paths: application/json: schema: type: array - items: &783 + items: &785 title: Email description: Email type: object @@ -117782,9 +118459,9 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: - default: &795 + default: &797 value: - email: octocat@github.com verified: true @@ -117861,7 +118538,7 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: default: value: @@ -118119,7 +118796,7 @@ paths: application/json: schema: type: array - items: &784 + items: &786 title: GPG Key description: A unique encryption key type: object @@ -118264,7 +118941,7 @@ paths: - subkeys - revoked examples: - default: &811 + default: &813 value: - id: 3 name: Octocat's GPG Key @@ -118349,9 +119026,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *786 examples: - default: &785 + default: &787 value: id: 3 name: Octocat's GPG Key @@ -118408,7 +119085,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: - - &786 + - &788 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118420,9 +119097,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *786 examples: - default: *785 + default: *787 '404': *6 '304': *35 '403': *27 @@ -118445,7 +119122,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: - - *786 + - *788 responses: '204': description: Response @@ -118723,12 +119400,12 @@ paths: application/json: schema: anyOf: - - *357 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -118752,7 +119429,7 @@ paths: required: true content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -118763,7 +119440,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -118844,7 +119521,7 @@ paths: - closed - all default: open - - *365 + - *367 - name: sort description: What to sort results by. in: query @@ -118869,7 +119546,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *368 headers: Link: *45 '404': *6 @@ -118902,7 +119579,7 @@ paths: application/json: schema: type: array - items: &787 + items: &789 title: Key description: Key type: object @@ -119005,9 +119682,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *789 examples: - default: &788 + default: &790 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119040,15 +119717,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: - - *656 + - *659 responses: '200': description: Response content: application/json: - schema: *787 + schema: *789 examples: - default: *788 + default: *790 '404': *6 '304': *35 '403': *27 @@ -119071,7 +119748,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: - - *656 + - *659 responses: '204': description: Response @@ -119104,7 +119781,7 @@ paths: application/json: schema: type: array - items: &789 + items: &791 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119183,7 +119860,7 @@ paths: - account - plan examples: - default: &790 + default: &792 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119245,9 +119922,9 @@ paths: application/json: schema: type: array - items: *789 + items: *791 examples: - default: *790 + default: *792 headers: Link: *45 '304': *35 @@ -119287,7 +119964,7 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: default: value: @@ -119401,7 +120078,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -119488,7 +120165,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: default: value: @@ -119560,7 +120237,7 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: default: value: @@ -119822,7 +120499,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -120002,7 +120679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *375 - name: exclude in: query required: false @@ -120015,7 +120692,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -120209,7 +120886,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *375 responses: '302': description: Response @@ -120235,7 +120912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *375 responses: '204': description: Response @@ -120264,8 +120941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *791 + - *375 + - *793 responses: '204': description: Response @@ -120289,7 +120966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *373 + - *375 - *17 - *19 responses: @@ -120301,7 +120978,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '404': *6 @@ -120380,7 +121057,7 @@ paths: - docker - nuget - container - - *792 + - *794 - *19 - *17 responses: @@ -120390,10 +121067,10 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 - '400': *794 + default: *795 + '400': *796 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120413,16 +121090,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: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &812 + default: &814 value: id: 40201 name: octo-name @@ -120535,8 +121212,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: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -120566,8 +121243,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: - - *379 - - *380 + - *381 + - *382 - name: token description: package token schema: @@ -120599,8 +121276,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: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - name: state @@ -120620,7 +121297,7 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: default: value: @@ -120669,15 +121346,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -120713,9 +121390,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '204': description: Response @@ -120745,9 +121422,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: - - *379 - - *380 + - *381 - *382 + - *384 responses: '204': description: Response @@ -120784,9 +121461,9 @@ paths: application/json: schema: type: array - items: *783 + items: *785 examples: - default: *795 + default: *797 headers: Link: *45 '304': *35 @@ -120899,7 +121576,7 @@ paths: type: array items: *76 examples: - default: &802 + default: &804 summary: Default response value: - id: 1296269 @@ -121217,9 +121894,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121257,9 +121934,9 @@ paths: application/json: schema: type: array - items: *629 + items: *632 examples: - default: *796 + default: *798 headers: Link: *45 '304': *35 @@ -121282,7 +121959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -121305,7 +121982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *363 responses: '204': description: Response @@ -121338,7 +122015,7 @@ paths: application/json: schema: type: array - items: &797 + items: &799 title: Social account description: Social media account type: object @@ -121355,7 +122032,7 @@ paths: - provider - url examples: - default: &798 + default: &800 value: - provider: twitter url: https://twitter.com/github @@ -121418,9 +122095,9 @@ paths: application/json: schema: type: array - items: *797 + items: *799 examples: - default: *798 + default: *800 '422': *15 '304': *35 '404': *6 @@ -121508,7 +122185,7 @@ paths: application/json: schema: type: array - items: &799 + items: &801 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121528,7 +122205,7 @@ paths: - title - created_at examples: - default: &826 + default: &828 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121593,9 +122270,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *801 examples: - default: &800 + default: &802 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121625,7 +122302,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: - - &801 + - &803 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121637,9 +122314,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *801 examples: - default: *800 + default: *802 '404': *6 '304': *35 '403': *27 @@ -121662,7 +122339,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: - - *801 + - *803 responses: '204': description: Response @@ -121691,7 +122368,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: - - &827 + - &829 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 @@ -121716,11 +122393,11 @@ paths: type: array items: *76 examples: - default-response: *802 + default-response: *804 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &830 title: Starred Repository description: Starred Repository type: object @@ -121876,8 +122553,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response if this repository is starred by you @@ -121905,8 +122582,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -121930,8 +122607,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: - - *443 - - *444 + - *446 + - *447 responses: '204': description: Response @@ -121966,7 +122643,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 '304': *35 @@ -122003,7 +122680,7 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: default: value: @@ -122089,10 +122766,10 @@ paths: application/json: schema: oneOf: - - *777 - - *776 + - *779 + - *778 examples: - default-response: &806 + default-response: &808 summary: Default response value: login: octocat @@ -122127,7 +122804,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &807 + response-with-git-hub-plan-information: &809 summary: Response with GitHub plan information value: login: octocat @@ -122184,14 +122861,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: - - &804 + - &806 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *395 + - *397 requestBody: required: true description: Details of the draft item to create in the project. @@ -122225,9 +122902,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - draft_issue: *401 + draft_issue: *403 '304': *35 '403': *27 '401': *23 @@ -122250,7 +122927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *803 + - *805 - *17 responses: '200': @@ -122285,8 +122962,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: - - *804 - - *395 + - *806 + - *397 requestBody: required: true content: @@ -122360,17 +123037,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *805 + schema: *807 examples: table_view: summary: Response for creating a table view - value: *405 + value: *407 board_view: summary: Response for creating a board view with filter - value: *405 + value: *407 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *407 '304': *35 '403': *27 '401': *23 @@ -122412,11 +123089,11 @@ paths: application/json: schema: oneOf: - - *777 - - *776 + - *779 + - *778 examples: - default-response: *806 - response-with-git-hub-plan-information: *807 + default-response: *808 + response-with-git-hub-plan-information: *809 '404': *6 x-github: githubCloudOnly: false @@ -122466,8 +123143,8 @@ paths: required: - subject_digests examples: - default: *808 - withPredicateType: *809 + default: *810 + withPredicateType: *811 responses: '200': description: Response @@ -122521,7 +123198,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *810 + default: *812 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122726,7 +123403,7 @@ paths: initiator: type: string examples: - default: *490 + default: *493 '201': description: Response content: @@ -122765,9 +123442,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 + default: *795 '403': *27 '401': *23 x-github: @@ -123151,9 +123828,9 @@ paths: application/json: schema: type: array - items: *784 + items: *786 examples: - default: *811 + default: *813 headers: Link: *45 x-github: @@ -123257,7 +123934,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123382,7 +124059,7 @@ paths: - docker - nuget - container - - *792 + - *794 - *137 - *19 - *17 @@ -123393,12 +124070,12 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *793 + default: *795 '403': *27 '401': *23 - '400': *794 + '400': *796 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123418,17 +124095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *812 + default: *814 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123449,8 +124126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 responses: '204': @@ -123483,8 +124160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *379 - - *380 + - *381 + - *382 - *137 - name: token description: package token @@ -123517,8 +124194,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: - - *379 - - *380 + - *381 + - *382 - *137 responses: '200': @@ -123527,7 +124204,7 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: default: value: @@ -123585,16 +124262,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: - - *379 - - *380 + - *381 - *382 + - *384 - *137 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -123629,10 +124306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *379 - - *380 - - *137 + - *381 - *382 + - *137 + - *384 responses: '204': description: Response @@ -123664,10 +124341,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *379 - - *380 - - *137 + - *381 - *382 + - *137 + - *384 responses: '204': description: Response @@ -123708,9 +124385,9 @@ paths: application/json: schema: type: array - items: *393 + items: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -123732,16 +124409,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *395 + - *397 - *137 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 headers: Link: *45 '304': *35 @@ -123763,7 +124440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *395 + - *397 - *137 - *17 - *106 @@ -123775,9 +124452,9 @@ paths: application/json: schema: type: array - items: *398 + items: *400 examples: - default: *813 + default: *815 headers: Link: *45 '304': *35 @@ -123799,7 +124476,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *137 - - *395 + - *397 requestBody: required: true content: @@ -123837,7 +124514,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *814 + items: *816 required: - name - data_type @@ -123853,7 +124530,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *815 + iteration_configuration: *817 required: - name - data_type @@ -123875,20 +124552,20 @@ paths: value: name: Due date data_type: date - single_select_field: *816 - iteration_field: *817 + single_select_field: *818 + iteration_field: *819 responses: '201': description: Response content: application/json: - schema: *398 + schema: *400 examples: - text_field: *818 - number_field: *819 - date_field: *820 - single_select_field: *821 - iteration_field: *822 + text_field: *820 + number_field: *821 + date_field: *822 + single_select_field: *823 + iteration_field: *824 '304': *35 '403': *27 '401': *23 @@ -123909,17 +124586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *395 - - *823 + - *397 + - *825 - *137 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *824 + default: *826 headers: Link: *45 '304': *35 @@ -123942,7 +124619,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: - - *395 + - *397 - *137 - *106 - *107 @@ -123975,9 +124652,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -123999,7 +124676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *137 - - *395 + - *397 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124069,22 +124746,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *403 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *403 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *403 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *403 '304': *35 '403': *27 '401': *23 @@ -124104,9 +124781,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: - - *395 + - *397 - *137 - - *404 + - *406 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124126,9 +124803,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -124149,9 +124826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *395 + - *397 - *137 - - *404 + - *406 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124224,13 +124901,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *405 + number_field: *405 + date_field: *405 + single_select_field: *405 + iteration_field: *405 '401': *23 '403': *27 '404': *6 @@ -124250,9 +124927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *395 + - *397 - *137 - - *404 + - *406 responses: '204': description: Response @@ -124274,9 +124951,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: - - *395 + - *397 - *137 - - *825 + - *827 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124302,9 +124979,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 headers: Link: *45 '304': *35 @@ -124525,7 +125202,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -124555,9 +125232,9 @@ paths: application/json: schema: type: array - items: *797 + items: *799 examples: - default: *798 + default: *800 headers: Link: *45 x-github: @@ -124587,9 +125264,9 @@ paths: application/json: schema: type: array - items: *799 + items: *801 examples: - default: *826 + default: *828 headers: Link: *45 x-github: @@ -124614,7 +125291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *827 + - *829 - *108 - *17 - *19 @@ -124626,11 +125303,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *830 - type: array items: *76 examples: - default-response: *802 + default-response: *804 headers: Link: *45 x-github: @@ -124661,7 +125338,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *385 headers: Link: *45 x-github: @@ -124790,7 +125467,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &831 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124859,7 +125536,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &832 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124880,7 +125557,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &833 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124953,7 +125630,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &834 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125879,10 +126556,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -125958,11 +126635,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: &835 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) @@ -126185,11 +126862,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -126377,11 +127054,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -126454,7 +127131,7 @@ webhooks: required: true content: application/json: - schema: &853 + schema: &855 title: Exemption request cancellation event type: object properties: @@ -126462,11 +127139,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: &836 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126740,7 +127417,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &837 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126813,6 +127490,261 @@ 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: &856 + title: Exemption request completed event + type: object + properties: + action: + type: string + enum: + - completed + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + 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: &853 + title: Exemption request created event + type: object + properties: + action: + type: string + enum: + - created + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + 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: &857 + title: Exemption response dismissed event + type: object + properties: + action: + type: string + enum: + - response_dismissed + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 + 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 @@ -126853,261 +127785,6 @@ webhooks: content: application/json: schema: &854 - title: Exemption request completed event - type: object - properties: - action: - type: string - enum: - - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - 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: &851 - title: Exemption request created event - type: object - properties: - action: - type: string - enum: - - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - 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: &855 - title: Exemption response dismissed event - type: object - properties: - action: - type: string - enum: - - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 - 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: &852 title: Exemption response submitted event type: object properties: @@ -127115,12 +127792,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -127204,7 +127881,7 @@ webhooks: type: string enum: - completed - check_run: &837 + check_run: &839 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127314,7 +127991,7 @@ webhooks: - examples: - neutral - deployment: *836 + deployment: *838 details_url: type: string examples: @@ -127412,10 +128089,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -127806,11 +128483,11 @@ webhooks: type: string enum: - created - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -128204,11 +128881,11 @@ webhooks: type: string enum: - requested_action - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 requested_action: description: The action requested by the user. type: object @@ -128611,11 +129288,11 @@ webhooks: type: string enum: - rerequested - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *839 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -129600,10 +130277,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -130307,10 +130984,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -131008,10 +131685,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -131180,7 +131857,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131332,20 +132009,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &838 + commit_oid: &840 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: *829 - installation: *830 - organization: *831 - ref: &839 + enterprise: *831 + installation: *832 + organization: *833 + ref: &841 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: *832 + repository: *834 sender: *4 required: - action @@ -131512,7 +132189,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131753,12 +132430,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -131856,7 +132533,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132041,12 +132718,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -132215,7 +132892,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132392,12 +133069,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -132498,7 +133175,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132687,9 +133364,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132697,7 +133374,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *834 sender: *4 required: - action @@ -132796,7 +133473,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132943,12 +133620,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *840 + enterprise: *831 + installation: *832 + organization: *833 + ref: *841 + repository: *834 sender: *4 required: - action @@ -133117,7 +133794,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *521 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133269,10 +133946,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -133532,10 +134209,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -133616,18 +134293,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &840 + organization: *833 + pusher_type: &842 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &841 + ref: &843 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133637,7 +134314,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *834 sender: *4 required: - ref @@ -133720,9 +134397,9 @@ webhooks: enum: - created definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133807,9 +134484,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133887,9 +134564,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -133967,9 +134644,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -134046,10 +134723,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *831 + installation: *832 + repository: *834 + organization: *833 sender: *4 new_property_values: type: array @@ -134134,18 +134811,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *840 - ref: *841 + enterprise: *831 + installation: *832 + organization: *833 + pusher_type: *842 + ref: *843 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *834 sender: *4 required: - ref @@ -134190,7 +134867,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134225,11 +134902,11 @@ webhooks: type: string enum: - assignees_changed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134274,7 +134951,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134309,11 +134986,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134359,7 +135036,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134394,11 +135071,11 @@ webhooks: type: string enum: - auto_reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134444,7 +135121,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134479,11 +135156,11 @@ webhooks: type: string enum: - created - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134527,7 +135204,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134562,11 +135239,11 @@ webhooks: type: string enum: - dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134610,7 +135287,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134645,11 +135322,11 @@ webhooks: type: string enum: - fixed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134694,7 +135371,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134729,11 +135406,11 @@ webhooks: type: string enum: - reintroduced - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134777,7 +135454,7 @@ webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -134812,11 +135489,11 @@ webhooks: type: string enum: - reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -134893,9 +135570,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &842 + enterprise: *831 + installation: *832 + key: &844 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134933,8 +135610,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135011,11 +135688,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *842 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + key: *844 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135582,12 +136259,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: &846 + workflow: &848 title: Workflow type: - object @@ -136338,13 +137015,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *582 + - *585 pull_requests: type: array - items: *676 - repository: *832 - organization: *831 - installation: *830 + items: *679 + repository: *834 + organization: *833 + installation: *832 sender: *4 responses: '200': @@ -136415,7 +137092,7 @@ webhooks: type: string enum: - approved - approver: &843 + approver: &845 type: object properties: avatar_url: @@ -136458,11 +137135,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &844 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: &846 type: array items: type: object @@ -136543,7 +137220,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &845 + workflow_job_run: &847 type: object properties: conclusion: @@ -137289,18 +137966,18 @@ webhooks: type: string enum: - rejected - approver: *843 + approver: *845 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *844 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: *846 sender: *4 since: type: string - workflow_job_run: *845 + workflow_job_run: *847 workflow_job_runs: type: array items: @@ -138017,13 +138694,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *831 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *832 + organization: *833 + repository: *834 + requestor: &858 title: User type: - object @@ -139956,12 +140633,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Deployment Workflow Run type: @@ -140652,7 +141329,7 @@ webhooks: type: string enum: - answered - answer: &849 + answer: &851 type: object properties: author_association: @@ -140812,11 +141489,11 @@ webhooks: - created_at - updated_at - body - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -140943,11 +141620,11 @@ webhooks: - from required: - category - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141030,11 +141707,11 @@ webhooks: type: string enum: - closed - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141116,7 +141793,7 @@ webhooks: type: string enum: - created - comment: &848 + comment: &850 type: object properties: author_association: @@ -141276,11 +141953,11 @@ webhooks: - updated_at - body - reactions - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141363,12 +142040,12 @@ webhooks: type: string enum: - deleted - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *850 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141463,12 +142140,12 @@ webhooks: - from required: - body - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *850 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141552,11 +142229,11 @@ webhooks: type: string enum: - created - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141638,11 +142315,11 @@ webhooks: type: string enum: - deleted - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141742,11 +142419,11 @@ webhooks: type: string required: - from - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141828,10 +142505,10 @@ webhooks: type: string enum: - labeled - discussion: *847 - enterprise: *829 - installation: *830 - label: &850 + discussion: *849 + enterprise: *831 + installation: *832 + label: &852 title: Label type: object properties: @@ -141864,8 +142541,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -141948,11 +142625,11 @@ webhooks: type: string enum: - locked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142034,11 +142711,11 @@ webhooks: type: string enum: - pinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142120,11 +142797,11 @@ webhooks: type: string enum: - reopened - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142209,16 +142886,16 @@ webhooks: changes: type: object properties: - new_discussion: *847 - new_repository: *832 + new_discussion: *849 + new_repository: *834 required: - new_discussion - new_repository - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142301,10 +142978,10 @@ webhooks: type: string enum: - unanswered - discussion: *847 - old_answer: *849 - organization: *831 - repository: *832 + discussion: *849 + old_answer: *851 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142386,12 +143063,12 @@ webhooks: type: string enum: - unlabeled - discussion: *847 - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142474,11 +143151,11 @@ webhooks: type: string enum: - unlocked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142560,11 +143237,11 @@ webhooks: type: string enum: - unpinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *849 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142633,7 +143310,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +143373,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142759,7 +143436,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142822,7 +143499,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142885,7 +143562,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142951,7 +143628,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143017,7 +143694,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143083,7 +143760,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143149,7 +143826,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143215,7 +143892,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143280,7 +143957,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143345,7 +144022,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143410,7 +144087,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143475,7 +144152,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *857 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143541,7 +144218,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143608,7 +144285,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *831 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144286,9 +144963,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - forkee @@ -144434,9 +145111,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pages: description: The pages that were updated. type: array @@ -144474,7 +145151,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *834 sender: *4 required: - pages @@ -144550,10 +145227,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: &857 + organization: *833 + repositories: &859 description: An array of repository objects that the installation can access. type: array @@ -144579,8 +145256,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *834 + requester: *858 sender: *4 required: - action @@ -144655,11 +145332,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -144736,11 +145413,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -144817,10 +145494,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories_added: &858 + organization: *833 + repositories_added: &860 description: An array of repository objects, which were added to the installation. type: array @@ -144866,15 +145543,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *834 + repository_selection: &861 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *858 sender: *4 required: - action @@ -144953,10 +145630,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories_added: *858 + organization: *833 + repositories_added: *860 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144983,9 +145660,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *834 + repository_selection: *861 + requester: *858 sender: *4 required: - action @@ -145064,11 +145741,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -145251,10 +145928,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 target_type: type: string @@ -145333,11 +146010,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *831 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *833 + repositories: *859 + repository: *834 requester: type: - 'null' @@ -145503,7 +146180,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *656 user: title: User type: @@ -145589,8 +146266,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146402,8 +147079,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146420,7 +147097,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -146764,8 +147441,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -146845,7 +147522,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &862 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147002,7 +147679,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *656 required: - url - html_url @@ -147016,8 +147693,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147825,8 +148502,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147843,7 +148520,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -148189,8 +148866,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -148270,7 +148947,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &886 description: The changes to the comment. type: object properties: @@ -148282,9 +148959,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149095,8 +149772,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149113,7 +149790,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -149457,8 +150134,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -149539,9 +150216,9 @@ webhooks: type: string enum: - pinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -150354,8 +151031,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150372,7 +151049,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -150718,8 +151395,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -150799,9 +151476,9 @@ webhooks: type: string enum: - unpinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -151614,8 +152291,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151632,7 +152309,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -151978,8 +152655,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152068,9 +152745,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152159,9 +152836,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152249,9 +152926,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152340,9 +153017,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -152422,10 +153099,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *858 + enterprise: *831 + installation: *832 + issue: &865 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153236,11 +153913,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153257,7 +153934,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -153360,8 +154037,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -153441,8 +154118,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -154258,11 +154935,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154279,7 +154956,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -154525,8 +155202,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -154605,8 +155282,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155413,11 +156090,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155434,7 +156111,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -155536,8 +156213,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -155616,8 +156293,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156447,11 +157124,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156468,7 +157145,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -156549,7 +157226,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &863 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156692,8 +157369,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156792,8 +157469,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157604,11 +158281,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157622,7 +158299,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -157728,9 +158405,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157810,8 +158487,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158621,11 +159298,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158639,7 +159316,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -158745,9 +159422,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158827,8 +159504,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159663,11 +160340,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159681,7 +160358,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *364 title: description: Title of the issue type: string @@ -159764,8 +160441,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159844,8 +160521,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160674,11 +161351,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160695,7 +161372,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -160775,9 +161452,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161664,11 +162341,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161768,7 +162445,7 @@ webhooks: required: - login - id - type: *362 + type: *364 required: - id - number @@ -162260,8 +162937,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163068,11 +163745,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163089,7 +163766,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -163195,8 +163872,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -163276,9 +163953,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *831 + installation: *832 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -164083,11 +164760,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164104,7 +164781,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -164206,8 +164883,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -164286,8 +164963,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165120,11 +165797,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165221,9 +165898,9 @@ webhooks: format: uri user_view_type: type: string - type: *362 - organization: *831 - repository: *832 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166111,11 +166788,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166132,7 +166809,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -166725,11 +167402,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166809,12 +167486,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -166895,7 +167572,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &889 title: User type: - object @@ -166967,11 +167644,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + organization: *833 + repository: *834 sender: *4 required: - action @@ -167050,12 +167727,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -167135,8 +167812,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -167969,11 +168646,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *770 + issue_dependencies_summary: *771 issue_field_values: type: array - items: *770 + items: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167990,7 +168667,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *364 updated_at: type: string format: date-time @@ -168070,8 +168747,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168151,11 +168828,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168234,12 +168911,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + issue: *865 + type: *364 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168319,11 +168996,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168401,11 +169078,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168515,11 +169192,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + label: *852 + organization: *833 + repository: *834 sender: *4 required: - action @@ -168601,9 +169278,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *831 + installation: *832 + marketplace_purchase: &866 title: Marketplace Purchase type: object required: @@ -168691,8 +169368,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *833 + previous_marketplace_purchase: &867 title: Marketplace Purchase type: object properties: @@ -168776,7 +169453,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -168856,10 +169533,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168947,7 +169624,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -169029,10 +169706,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169118,7 +169795,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *834 sender: *4 required: - action @@ -169199,8 +169876,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 marketplace_purchase: title: Marketplace Purchase type: object @@ -169286,9 +169963,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -169368,12 +170045,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -169475,11 +170152,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169581,11 +170258,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169664,11 +170341,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -169746,11 +170423,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169828,7 +170505,7 @@ webhooks: required: - login - id - team: &866 + team: &868 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -170058,11 +170735,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170141,7 +170818,7 @@ webhooks: required: - login - id - team: *866 + team: *868 required: - action - scope @@ -170223,8 +170900,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *832 + merge_group: &869 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -170243,15 +170920,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *510 + head_commit: *513 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170337,10 +171014,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *832 + merge_group: *869 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170413,7 +171090,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *831 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170522,12 +171199,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *832 + organization: *833 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -170607,11 +171284,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170690,9 +171367,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *831 + installation: *832 + milestone: &870 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170834,8 +171511,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -170914,11 +171591,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171028,11 +171705,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171112,11 +171789,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + milestone: *870 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171195,11 +171872,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171278,11 +171955,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171358,7 +172035,7 @@ webhooks: enum: - created definition: *145 - enterprise: *829 + enterprise: *831 sender: *4 required: - action @@ -171438,8 +172115,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 sender: *4 required: - action @@ -171512,8 +172189,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 sender: *4 required: - action @@ -171585,9 +172262,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 new_property_values: type: array @@ -171675,9 +172352,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *831 + installation: *832 + membership: &871 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171787,8 +172464,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171866,11 +172543,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -171949,8 +172626,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -172072,10 +172749,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 - user: *856 + user: *858 required: - action - invitation @@ -172153,11 +172830,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -172244,11 +172921,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + membership: *871 + organization: *833 + repository: *834 sender: *4 required: - action @@ -172326,9 +173003,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -172851,7 +173528,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &872 title: Ruby Gems metadata type: object properties: @@ -172948,7 +173625,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -173025,9 +173702,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -173389,7 +174066,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *872 source_url: type: string format: uri @@ -173460,7 +174137,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -173640,12 +174317,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *831 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - id @@ -173722,7 +174399,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &873 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173872,10 +174549,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -173952,11 +174629,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *873 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174032,11 +174709,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *873 + enterprise: *831 + organization: *833 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174111,11 +174788,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *873 + organization: *833 + enterprise: *831 sender: *4 - installation: *830 + installation: *832 required: - action - personal_access_token_request @@ -174220,7 +174897,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *874 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -174252,8 +174929,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 zen: description: Random string of GitHub zen. @@ -174498,10 +175175,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *831 + installation: *832 + organization: *833 + project_card: &875 title: Project Card type: object properties: @@ -174624,7 +175301,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -174705,11 +175382,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *875 + repository: *834 sender: *4 required: - action @@ -174789,9 +175466,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 project_card: title: Project Card type: object @@ -174921,7 +175598,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -175015,11 +175692,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *875 + repository: *834 sender: *4 required: - action @@ -175113,9 +175790,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 project_card: allOf: - title: Project Card @@ -175312,7 +175989,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *834 sender: *4 required: - action @@ -175392,10 +176069,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *831 + installation: *832 + organization: *833 + project: &877 title: Project type: object properties: @@ -175522,7 +176199,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -175602,10 +176279,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *831 + installation: *832 + organization: *833 + project_column: &876 title: Project Column type: object properties: @@ -175645,7 +176322,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *834 sender: *4 required: - action @@ -175724,14 +176401,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -175820,11 +176497,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 + repository: *834 sender: *4 required: - action @@ -175904,11 +176581,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *876 + repository: *834 sender: *4 required: - action @@ -175988,11 +176665,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176072,14 +176749,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 repository: anyOf: - type: 'null' - - *832 + - *834 sender: *4 required: - action @@ -176180,11 +176857,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176263,11 +176940,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + project: *877 + repository: *834 sender: *4 required: - action @@ -176348,9 +177025,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176431,9 +177108,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176514,9 +177191,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176637,9 +177314,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -176722,7 +177399,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &881 type: object properties: archived_at: @@ -176738,9 +177415,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *832 + organization: *833 + projects_v2_item: &878 title: Projects v2 Item description: An item belonging to a project type: object @@ -176758,7 +177435,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *399 + content_type: *401 creator: *4 created_at: type: string @@ -176880,9 +177557,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -176964,9 +177641,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177047,9 +177724,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177154,7 +177831,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &879 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -177178,7 +177855,7 @@ webhooks: required: - id - name - - &878 + - &880 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -177218,8 +177895,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - - *878 + - *879 + - *880 type: - 'null' - string @@ -177242,9 +177919,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177341,9 +178018,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177426,10 +178103,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *881 + installation: *832 + organization: *833 + projects_v2_item: *878 sender: *4 required: - action @@ -177511,9 +178188,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *393 + installation: *832 + organization: *833 + projects_v2: *395 sender: *4 required: - action @@ -177594,9 +178271,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177677,9 +178354,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177825,9 +178502,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *832 + organization: *833 + projects_v2_status_update: *882 sender: *4 required: - action @@ -177898,10 +178575,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - repository @@ -177978,13 +178655,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *858 + enterprise: *831 + installation: *832 + number: &883 description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -180355,7 +181032,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -180437,11 +181114,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -182805,7 +183482,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *834 sender: *4 required: - action @@ -182887,11 +183564,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -185255,7 +185932,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *834 sender: *4 required: - action @@ -185337,13 +186014,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: &884 allOf: - - *676 + - *679 - type: object properties: allow_auto_merge: @@ -185405,7 +186082,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *834 sender: *4 required: - action @@ -185486,12 +186163,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -185571,11 +186248,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *831 + milestone: *398 + number: *883 + organization: *833 + pull_request: &885 title: Pull Request type: object properties: @@ -187924,7 +188601,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -188003,11 +188680,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -190375,7 +191052,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *834 sender: *4 required: - action @@ -190499,12 +191176,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -190584,11 +191261,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -192941,7 +193618,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -193021,11 +193698,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + label: *852 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -195395,7 +196072,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -195476,10 +196153,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -197847,7 +198524,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -197927,12 +198604,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *831 + milestone: *398 + number: *883 + organization: *833 + pull_request: *885 + repository: *834 sender: *4 required: - action @@ -198011,12 +198688,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198097,12 +198774,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198182,12 +198859,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 + pull_request: *884 + repository: *834 sender: *4 required: - action @@ -198562,9 +199239,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -200816,7 +201493,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -200896,7 +201573,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &887 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. @@ -201189,9 +201866,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -203431,7 +204108,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -203511,11 +204188,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *886 + comment: *887 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -205758,7 +206435,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *834 sender: *4 required: - action @@ -205839,9 +206516,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -208096,7 +208773,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 review: description: The review that was affected. type: object @@ -208347,9 +209024,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -210463,8 +211140,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *834 + review: &888 description: The review that was affected. type: object properties: @@ -210702,12 +211379,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -213076,7 +213753,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_reviewer: title: User type: @@ -213162,12 +213839,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -215543,7 +216220,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215738,12 +216415,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -218114,7 +218791,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_reviewer: title: User type: @@ -218201,12 +218878,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *831 + organization: *833 pull_request: title: Pull Request type: object @@ -220568,7 +221245,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220752,9 +221429,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -223012,8 +223689,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *834 + review: *888 sender: *4 required: - action @@ -223093,9 +223770,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -225248,7 +225925,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 sender: *4 thread: type: object @@ -225645,9 +226322,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -227783,7 +228460,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *834 sender: *4 thread: type: object @@ -228182,10 +228859,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -230542,7 +231219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -230624,11 +231301,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *889 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -233000,7 +233677,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -233079,11 +233756,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + label: *852 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -235444,7 +236121,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -235525,10 +236202,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *831 + installation: *832 + number: *883 + organization: *833 pull_request: title: Pull Request type: object @@ -237879,7 +238556,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *834 sender: *4 required: - action @@ -238082,7 +238759,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *831 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238177,8 +238854,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *832 + organization: *833 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238777,9 +239454,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -239256,7 +239933,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *872 summary: type: string tag_name: @@ -239312,7 +239989,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -239390,9 +240067,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -239704,7 +240381,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *872 summary: type: string tag_name: @@ -239754,7 +240431,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *834 sender: *4 required: - action @@ -239831,10 +240508,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *831 + installation: *832 + organization: *833 + release: &890 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -240165,7 +240842,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *834 sender: *4 required: - action @@ -240242,11 +240919,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -240363,11 +241040,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -240445,9 +241122,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -240783,7 +241460,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *834 sender: *4 required: - action @@ -240859,10 +241536,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *831 + installation: *832 + organization: *833 + release: &891 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -241195,7 +241872,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *834 sender: *4 required: - action @@ -241271,11 +241948,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *890 + repository: *834 sender: *4 required: - action @@ -241351,11 +242028,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + release: *891 + repository: *834 sender: *4 required: - action @@ -241431,11 +242108,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *731 sender: *4 required: - action @@ -241511,11 +242188,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *731 sender: *4 required: - action @@ -241591,10 +242268,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241671,10 +242348,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241752,10 +242429,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241840,10 +242517,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -241958,10 +242635,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242033,10 +242710,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 status: type: string @@ -242117,10 +242794,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242197,10 +242874,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242294,10 +242971,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242377,10 +243054,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 sender: *4 required: @@ -242459,10 +243136,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 sender: *4 required: @@ -242541,10 +243218,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *185 changes: type: object @@ -242606,16 +243283,16 @@ webhooks: properties: added: type: array - items: *696 + items: *699 deleted: type: array - items: *696 + items: *699 updated: type: array items: type: object properties: - rule: *696 + rule: *699 changes: type: object properties: @@ -242852,10 +243529,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -242933,10 +243610,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243014,7 +243691,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &892 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243139,10 +243816,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243352,10 +244029,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243433,11 +244110,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243639,10 +244316,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243720,7 +244397,7 @@ webhooks: type: string enum: - assigned - alert: &891 + alert: &893 type: object properties: number: *124 @@ -243835,10 +244512,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -243916,11 +244593,11 @@ webhooks: type: string enum: - created - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244001,11 +244678,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *893 + installation: *832 + location: *894 + organization: *833 + repository: *834 sender: *4 required: - location @@ -244243,11 +244920,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244325,11 +245002,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244407,11 +245084,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244489,12 +245166,12 @@ webhooks: type: string enum: - unassigned - alert: *891 + alert: *893 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244572,11 +245249,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -244706,10 +245383,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *834 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -244787,11 +245464,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: &895 description: The details of the security advisory, including summary, description, and severity. type: object @@ -244977,11 +245654,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: *895 sender: *4 required: - action @@ -245054,10 +245731,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245243,11 +245920,11 @@ webhooks: from: type: object properties: - security_and_analysis: *407 - enterprise: *829 - installation: *830 - organization: *831 - repository: *448 + security_and_analysis: *409 + enterprise: *831 + installation: *832 + organization: *833 + repository: *451 sender: *4 required: - changes @@ -245325,12 +246002,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: &894 + sponsorship: &896 type: object properties: created_at: @@ -245635,12 +246312,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - sponsorship @@ -245728,12 +246405,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -245810,17 +246487,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &897 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: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - sponsorship @@ -245894,7 +246571,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &898 type: object properties: tier: @@ -245938,13 +246615,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *897 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -246021,13 +246698,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *894 + sponsorship: *896 required: - action - changes @@ -246101,10 +246778,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246188,10 +246865,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246625,15 +247302,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *831 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *832 name: type: string - organization: *831 - repository: *832 + organization: *833 + repository: *834 sender: *4 sha: description: The Commit SHA. @@ -246749,9 +247426,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -246841,9 +247518,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -246933,9 +247610,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -247025,9 +247702,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -247104,12 +247781,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - team: &897 + team: &899 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247339,9 +248016,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -247811,7 +248488,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -247887,9 +248564,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -248359,7 +249036,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -248436,9 +249113,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -248908,7 +249585,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -249052,9 +249729,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -249524,7 +250201,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - changes @@ -249602,9 +250279,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -250074,7 +250751,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *899 required: - action - team @@ -250150,10 +250827,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -250226,17 +250903,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *831 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *832 + organization: *833 ref: type: string - repository: *832 + repository: *834 sender: *4 workflow: type: string @@ -250318,10 +250995,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -250577,7 +251254,7 @@ webhooks: type: string required: - conclusion - deployment: *582 + deployment: *585 required: - action - repository @@ -250656,10 +251333,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -250941,7 +251618,7 @@ webhooks: required: - status - steps - deployment: *582 + deployment: *585 required: - action - repository @@ -251020,10 +251697,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -251169,7 +251846,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *585 required: - action - repository @@ -251248,10 +251925,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -251398,7 +252075,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *585 required: - action - repository @@ -251478,12 +252155,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -252502,12 +253179,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -253511,12 +254188,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *846 + workflow: *848 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 405c83e97e..7a6088834a 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -7673,6 +7673,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", @@ -8034,6 +8044,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", @@ -9116,6 +9136,686 @@ } } }, + "/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", + "null" + ], + "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." + } + } + } + } + } + }, + "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": { + "type": [ + "object", + "null" + ], + "required": [ + "id", + "login" + ], + "properties": { + "id": { + "type": "integer", + "description": "Unique identifier of the organization" + }, + "login": { + "type": "string", + "description": "Login of the organization" + } + } + }, + "repository": { + "type": [ + "object", + "null" + ], + "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", @@ -9447,6 +10147,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -23784,20 +24487,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", @@ -23921,7 +24626,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -23937,19 +24642,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", @@ -23986,7 +24691,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", @@ -26364,6 +27069,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", @@ -26848,6 +27562,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", @@ -28622,6 +29345,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", @@ -29573,6 +30477,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" }, @@ -29838,7 +30745,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": [ { @@ -38994,183 +39901,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", @@ -39190,153 +40248,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" @@ -41296,6 +42209,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41341,6 +42257,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41413,6 +42332,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41444,6 +42366,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41503,6 +42428,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -42005,6 +42933,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -42100,6 +43031,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -56996,6 +57930,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", @@ -57005,10 +57966,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" } } @@ -57523,6 +58484,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -57695,10 +58659,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 }, @@ -74652,6 +75632,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -74985,6 +75968,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -77027,186 +78013,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)", @@ -78806,7 +79612,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" @@ -78885,7 +79691,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" @@ -94426,99 +95232,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" } } @@ -94569,7 +95375,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94662,7 +95468,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94755,7 +95561,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94848,7 +95654,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94941,7 +95747,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -95034,7 +95840,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -95127,7 +95933,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -125794,6 +126600,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", @@ -126541,6 +127356,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", @@ -137757,6 +138584,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", @@ -142834,6 +143673,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", @@ -159559,46 +160472,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 2 - ] - }, - "created_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": "string", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "enabled": { - "type": "boolean", - "examples": [ - true - ] - }, - "pattern": { - "type": "string", - "examples": [ - "v1.*" - ] - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -318345,6 +319218,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": [ { @@ -318658,6 +319541,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=", @@ -318843,6 +319748,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -323479,6 +324385,13 @@ "plan_type": "business" } }, + "copilot-organization-content-exclusion-details": { + "value": { + "octo-repo": [ + "/src/some-dir/kernel.rs" + ] + } + }, "credential-authorization-items": { "value": [ { @@ -335509,7 +336422,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, @@ -335627,7 +336562,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -335754,7 +336690,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": { @@ -335888,7 +336846,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": { @@ -342824,19 +343783,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -349264,6 +350210,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", @@ -350950,15 +351904,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.", @@ -351373,6 +352318,16 @@ {"code":"deadline_exceeded","msg":"operation timed out"}